alarm-clock-applet-0.3.3/0002775000175000017500000000000011762723365012206 500000000000000alarm-clock-applet-0.3.3/aclocal.m40000664000175000017500000022713711762720130013763 00000000000000# generated automatically by aclocal 1.11.3 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, # Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, [m4_warning([this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) dnl AM_GCONF_SOURCE_2 dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas dnl (i.e. pass to gconftool-2 dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where dnl you should install foo.schemas files dnl AC_DEFUN([AM_GCONF_SOURCE_2], [ if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi AC_ARG_WITH([gconf-source], AC_HELP_STRING([--with-gconf-source=sourceaddress], [Config database for installing schema files.]), [GCONF_SCHEMA_CONFIG_SOURCE="$withval"],) AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE) AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation]) if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi AC_ARG_WITH([gconf-schema-file-dir], AC_HELP_STRING([--with-gconf-schema-file-dir=dir], [Directory for installing schema files.]), [GCONF_SCHEMA_FILE_DIR="$withval"],) AC_SUBST(GCONF_SCHEMA_FILE_DIR) AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files]) AC_ARG_ENABLE(schemas-install, AC_HELP_STRING([--disable-schemas-install], [Disable the schemas installation]), [case ${enableval} in yes|no) ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;; esac]) AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no]) ]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *-*-openbsd*) CATOBJEXT=.mo DATADIRNAME=share ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.ac. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_ac,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) # gnome-common.m4 # # serial 3 # dnl GNOME_COMMON_INIT AU_DEFUN([GNOME_COMMON_INIT], [ dnl this macro should come after AC_CONFIG_MACRO_DIR AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0]) dnl ensure that when the Automake generated makefile calls aclocal, dnl it honours the $ACLOCAL_FLAGS environment variable ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" if test -n "$ac_macro_dir"; then ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS" fi AC_SUBST([ACLOCAL_AMFLAGS]) ], [[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}" in your top-level Makefile.am, instead, where "m4" is the macro directory set with AC_CONFIG_MACRO_DIR() in your configure.ac]]) AC_DEFUN([GNOME_DEBUG_CHECK], [ AC_ARG_ENABLE([debug], AC_HELP_STRING([--enable-debug], [turn on debugging]),, [enable_debug=no]) if test x$enable_debug = xyes ; then AC_DEFINE(GNOME_ENABLE_DEBUG, 1, [Enable additional debugging at the expense of performance and size]) fi ]) dnl GNOME_MAINTAINER_MODE_DEFINES () dnl define DISABLE_DEPRECATED dnl AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES], [ AC_REQUIRE([AM_MAINTAINER_MODE]) DISABLE_DEPRECATED="" if test $USE_MAINTAINER_MODE = yes; then DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP" for DOMAIN in $DOMAINS; do DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" done fi AC_SUBST(DISABLE_DEPRECATED) ]) dnl GNOME_COMPILE_WARNINGS dnl Turn on many useful compiler warnings dnl For now, only works on GCC AC_DEFUN([GNOME_COMPILE_WARNINGS],[ dnl ****************************** dnl More compiler warnings dnl ****************************** AC_ARG_ENABLE(compile-warnings, AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], [Turn on compiler warnings]),, [enable_compile_warnings="m4_default([$1],[yes])"]) warnCFLAGS= if test "x$GCC" != xyes; then enable_compile_warnings=no fi warning_flags= realsave_CFLAGS="$CFLAGS" case "$enable_compile_warnings" in no) warning_flags= ;; minimum) warning_flags="-Wall" ;; yes) warning_flags="-Wall -Wmissing-prototypes" ;; maximum|error) warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith" CFLAGS="$warning_flags $CFLAGS" for option in -Wno-sign-compare; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" AC_MSG_CHECKING([whether gcc understands $option]) AC_TRY_COMPILE([], [], has_option=yes, has_option=no,) CFLAGS="$SAVE_CFLAGS" AC_MSG_RESULT($has_option) if test $has_option = yes; then warning_flags="$warning_flags $option" fi unset has_option unset SAVE_CFLAGS done unset option if test "$enable_compile_warnings" = "error" ; then warning_flags="$warning_flags -Werror" fi ;; *) AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) ;; esac CFLAGS="$realsave_CFLAGS" AC_MSG_CHECKING(what warning flags to pass to the C compiler) AC_MSG_RESULT($warning_flags) AC_ARG_ENABLE(iso-c, AC_HELP_STRING([--enable-iso-c], [Try to warn if code is not ISO C ]),, [enable_iso_c=no]) AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) complCFLAGS= if test "x$enable_iso_c" != "xno"; then if test "x$GCC" = "xyes"; then case " $CFLAGS " in *[\ \ ]-ansi[\ \ ]*) ;; *) complCFLAGS="$complCFLAGS -ansi" ;; esac case " $CFLAGS " in *[\ \ ]-pedantic[\ \ ]*) ;; *) complCFLAGS="$complCFLAGS -pedantic" ;; esac fi fi AC_MSG_RESULT($complCFLAGS) WARN_CFLAGS="$warning_flags $complCFLAGS" AC_SUBST(WARN_CFLAGS) ]) dnl For C++, do basically the same thing. AC_DEFUN([GNOME_CXX_WARNINGS],[ AC_ARG_ENABLE(cxx-warnings, AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@] [Turn on compiler warnings.]),, [enable_cxx_warnings="m4_default([$1],[minimum])"]) AC_MSG_CHECKING(what warning flags to pass to the C++ compiler) warnCXXFLAGS= if test "x$GXX" != xyes; then enable_cxx_warnings=no fi if test "x$enable_cxx_warnings" != "xno"; then if test "x$GXX" = "xyes"; then case " $CXXFLAGS " in *[\ \ ]-Wall[\ \ ]*) ;; *) warnCXXFLAGS="-Wall -Wno-unused" ;; esac ## -W is not all that useful. And it cannot be controlled ## with individual -Wno-xxx flags, unlike -Wall if test "x$enable_cxx_warnings" = "xyes"; then warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" fi fi fi AC_MSG_RESULT($warnCXXFLAGS) AC_ARG_ENABLE(iso-cxx, AC_HELP_STRING([--enable-iso-cxx], [Try to warn if code is not ISO C++ ]),, [enable_iso_cxx=no]) AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler) complCXXFLAGS= if test "x$enable_iso_cxx" != "xno"; then if test "x$GXX" = "xyes"; then case " $CXXFLAGS " in *[\ \ ]-ansi[\ \ ]*) ;; *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; esac case " $CXXFLAGS " in *[\ \ ]-pedantic[\ \ ]*) ;; *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; esac fi fi AC_MSG_RESULT($complCXXFLAGS) WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" AC_SUBST(WARN_CXXFLAGS) ]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 42 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi AC_SUBST([AM_DEFAULT_VERBOSITY]) INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' AC_SUBST(INTLTOOL_V_MERGE) AC_SUBST(INTLTOOL__v_MERGE_) AC_SUBST(INTLTOOL__v_MERGE_0) INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) AC_SUBST(intltool__v_merge_options_) AC_SUBST(intltool__v_merge_options_0) INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) _IT_SUBST(INTLTOOL_KEYS_RULE) _IT_SUBST(INTLTOOL_PROP_RULE) _IT_SUBST(INTLTOOL_OAF_RULE) _IT_SUBST(INTLTOOL_PONG_RULE) _IT_SUBST(INTLTOOL_SERVER_RULE) _IT_SUBST(INTLTOOL_SHEET_RULE) _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) _IT_SUBST(INTLTOOL_UI_RULE) _IT_SUBST(INTLTOOL_XAM_RULE) _IT_SUBST(INTLTOOL_KBD_RULE) _IT_SUBST(INTLTOOL_XML_RULE) _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) _IT_SUBST(INTLTOOL_CAVES_RULE) _IT_SUBST(INTLTOOL_SCHEMAS_RULE) _IT_SUBST(INTLTOOL_THEME_RULE) _IT_SUBST(INTLTOOL_SERVICE_RULE) _IT_SUBST(INTLTOOL_POLICY_RULE) # Check the gettext tools to make sure they are GNU AC_PATH_PROG(XGETTEXT, xgettext) AC_PATH_PROG(MSGMERGE, msgmerge) AC_PATH_PROG(MSGFMT, msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found]) fi AC_MSG_CHECKING([for perl >= 5.8.1]) $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr]])], [DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be executed at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) fi rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.in" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # _IT_SUBST(VARIABLE) # ------------------- # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST # AC_DEFUN([_IT_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) # nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11.3], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.3])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, # 2010, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, # 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless `enable' is passed literally. # For symmetry, `disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful (and sometimes confusing) to the casual installer], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2009, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # (`yes' being less verbose, `no' or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [ --enable-silent-rules less verbose build output (undo: `make V=1') --disable-silent-rules verbose build output (undo: `make V=0')]) case $enable_silent_rules in yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few `make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using `$V' instead of `$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR alarm-clock-applet-0.3.3/compile0000755000175000017500000000717311343441274013477 00000000000000#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software # Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand `-c -o'. Remove `-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file `INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; esac ofile= cfile= eat= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as `compile cc -o foo foo.c'. # So we strip `-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no `-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # `.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use `[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: alarm-clock-applet-0.3.3/config.h.in0000664000175000017500000000450711762720136014146 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* enable search for UI files and plugins in local directory */ #undef ALARM_CLOCK_RUN_IN_SOURCE_TREE /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* gettext domain */ #undef GETTEXT_PACKAGE /* Enable additional debugging at the expense of performance and size */ #undef GNOME_ENABLE_DEBUG /* Have AppIndicator */ #undef HAVE_APP_INDICATOR /* Have AppIndicator 0.4.90 */ #undef HAVE_APP_INDICATOR_0_4_90 /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Have libnotify 0.7 */ #undef HAVE_LIBNOTIFY_0_7 /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION alarm-clock-applet-0.3.3/po/0002775000175000017500000000000011762723365012624 500000000000000alarm-clock-applet-0.3.3/po/es.po0000644000175000017500000002625711762716142013516 00000000000000# Spanish translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2012-04-30 22:21+0000\n" "Last-Translator: Monkey \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: es\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Reloj despertador" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Despiértese por la mañana" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Mostrar la etiqueta de cuenta regresiva" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Mostrar o no una etiqueta en el lado derecho del icono con el tiempo " "restante hasta la próxima alarma." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Tipo de alarma" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "El tipo de la alarma. Puede ser «reloj» para una alarma a una hora " "específica del día o «temporizador» para una alarma que sonará una vez " "transcurrido un tiempo especificado." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Marca de tiempo de la alarma" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "La marca de tiempo UNIX para la alarma. Debe asignarse antes que la alarma " "sea activada." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Hora de alarma" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Hora para la alarma. Debe ser una hora GMT para alarmas «reloj» o bien la " "duración en segundos para alarmas «temporizador»." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "¡Alarma!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Mensaje de la alarma" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Una breve descripción de la alarma." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Estado de la alarma" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indica si la alarma ha comenzado." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Repetición de la alarma" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Una lista de días en que la alarma debería repetirse. Esta configuración " "solo se aplica para las alarmas «reloj»." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Tipo de notificación" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Tipo de notificación a utilizar cuando se active la alarma. Puede ser una de " "las siguientes: \"sound\" para reproducir un sonido (especificado en la " "propiedad \"sound_file\") \"command\" para ejecutar un comando (especificado " "en la propiedad \"command\")" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Archivo de sonido" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Sonido a reproducir en el tipo de notificación de \"sonido\"." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Repetir sonido" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Repetición del sonido de la alarma." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Orden" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Orden para ejecutar en el tipo de notificación \"orden\"." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Preferencias del reloj despertador" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "General" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Apariencia" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Editar alarma" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Temporizador" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "¡Despierte, dormilón/a!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Hora:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nombre:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Lun" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Mar" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Mié" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Jue" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Vie" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sáb" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Dom" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Repetir:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alertas" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Reproducir _sonido" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "_Repetir sonido" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Iniciar _aplicación" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "_Orden:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Poner en espera todas las alarmas sonoras" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Para todas las alarmas sonoras" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Ver _alarmas" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Gestionar sus alarmas" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Preferencias" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Acerca de Reloj despertador" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Levántese por la mañana" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmas" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nuevo…" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Editar…" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Eliminar" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Activar" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Detener" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Posponer" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuto" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutos" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutos" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutos" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Personalizado…" #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Posponer alarma" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Posponer las alarmas seleccionadas" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Posponer por:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutos" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Posponer" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Detener alarma" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Detener la alarma seleccionada" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Eliminar alarma" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Eliminar la alarma seleccionada" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Editar la alarma seleccionada" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Alarma nueva" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nuevo" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Activar/desactivar alarma" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Activar/desactivar" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Activa/desactiva la alarma seleccionada" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Posponer todas las alarmas" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Posponer alarmas" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Detener todas las alarmas" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Detener alarmas" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Activa la pantalla de alarmas" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Activa las alarmas" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Activa la visibilidad de las pantallas de alarmas" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Salir" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Cerrar Reloj despertador" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Iniciar automáticamente al iniciar sesión" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s ya está ejecutándose, saliendo…\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Repetir: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Seleccione un archivo de sonido…" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Orden personalizada…" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" "No se pudo crear el reproductor. Compruebe su configuración de sonido." #: ../src/alarm.c:2041 msgid "Once" msgstr "Una vez" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Entre semana" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Fines de semana" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Diariamente" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Acerca de %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "No se pudo reproducir «%s»: %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "No se pudo reproducir" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" "Puede posponer o detener las alarmas desde el menú del Reloj despertador." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Requiere los indicadores de aplicación" alarm-clock-applet-0.3.3/po/hi.po0000644000175000017500000002634711762716142013507 00000000000000# Hindi translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2012-03-28 16:23+0000\n" "Last-Translator: Vibhav Pant \n" "Language-Team: Hindi \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: hi\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "अलार्म घड़ी" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "सुबह में जग जाएँ" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "अलार्म क़िस्म" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "अलार्म का प्रकार. दिन के किसी विशेष समय पर अलार्म के लिये 'घड़ी' अथवा एक " "निर्धारित अवधि के बाद एक अलार्म के लिए \"टाइमर '." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "अलार्म के लिए UNIX टाइमस्टैम्प. अलार्म सक्रिय करने से पहले निर्धारित किया " "जाना चाहिए." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "अलार्म के लिए समय. \"घड़ी\" अलार्म के लिए GMT में अथवा \"टाइमर\" अलार्म के " "लिए सेकंड में होना चाहिए." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "अलार्म!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "बताता है कि क्या अलार्म शुरू हो गया है." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "अधिसूचना प्रकार" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "अलार्म बजने पर अधिसूचना का प्रकार. यह निम्न में से एक हो सकता है: ध्वनि " "बजाने के लिए \"ध्वनि\" (ध्वनि फाइल मे निर्दिष्ट ). कमांड चलाने के लिए " "\"कमांड\" (कमांड में निर्दिष्ट)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "ध्वनि फ़ाइल" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "\"ध्वनि\" अधिसूचना प्रकार के लिए ध्वनि फ़ाइल." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "ध्वनि दोहराएँ" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "क्या अलार्म ध्वनि दोहराई जानी चाहिए ?" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "निर्देश" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "कमांड \"कमांड\" अधिसूचना प्रकार के को चलाने के लिए." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "अलार्म घड़ी प्राथमिकताएँ" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "सामान्य" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "अलार्म का संपादन करें" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "सोम" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "शुक्र" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "सचेत" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "कमांड (_m):" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "अलार्म्स को व्यवस्थित करें" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "अलार्म घड़ी का परिचय" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "सुबह में जागें!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "अलार्म्स" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "संपादन..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "मिटाएँ" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "सक्रिय करें" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 मिनट" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 मिनट्स" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 मिनट्स" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 मिनट्स" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "मनपसंद..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "अलार्म हटाएँ" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "चयनित अलार्म हटाएँ" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "चयनित अलार्म का संपादन करें" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "नया अलार्म" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "नया" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "अलार्म को सक्रिय / निष्क्रिय करें" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "सक्रिय / निष्क्रिय करें" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "चयनित अलार्म को सक्रिय / निष्क्रिय करें" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "" #: ../src/alarm.c:2050 msgid "Every day" msgstr "" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/pt_BR.po0000644000175000017500000002626011762716142014107 00000000000000# Brazilian Portuguese translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2012-03-25 16:29+0000\n" "Last-Translator: Belenos Govannnon \n" "Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: pt_BR\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Alarme" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Acordar de manhã" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Mostrar rótulo de contagem regressiva" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Se mostra rótulo no lado direito do ícone com o tempo faltando para o " "próximo alarme." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Tipo de Alarme" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Tipo de alarme. Pode ser \"relógio\" para o alarme tocar a uma hora " "específica do dia ou \"regressivo\" para ele tocar após um período de tempo " "específico." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Carimbo de Hora do Alarme" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "O carimbo de tempo UNIX do alarme. Deve ser obrigatoriamente definido antes " "de se ativar o alarme." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Hora do Alarme" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "A hora para o alarme tocar. Deve ser informado em GMT para alarmes de " "relógio ou em segundos para alarmes regressivos." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarme!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Mensagem do Alarme" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Uma pequena mensagem descrevendo o alarme." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Estado de Funcionamento do Alarme" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indica se o alarme foi iniciado." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Repetição do Alarme" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Uma lista de dias em que o alarme deve se repetir. Essa configuração " "somente se aplica a alarmes de relógio." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Tipo de Notificação" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Tipo de notificação a ser usado quando o alarme tocar. Pode ser um dos " "seguintes: \"som\" para tocar um som (especificado na propriedade " "\"arquivo_de_som\"), \"comando\" para executar uma instrução (especificada " "na propriedade \"comando\")." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Arquivo de Som" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" "O arquivo de som a ser tocado quando o tipo de notificação for \"Som\"." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Som de repetição" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Especificar se se deve repetir o som do alarme." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Comando" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" "O comando a ser executado quando o tipo de notificação for \"Comando\"." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Opções do Alarme" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Geral" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Aparência" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Editar alarme" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Cronômetro" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Acorde, dorminhoco(a)!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Hora:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nome:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Seg" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Ter" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Qua" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Qui" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Sex" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sáb" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Dom" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Repetir:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alerta" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Reproduzir _som" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Repe_tir som" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Iniciar _Aplicativo" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Co_mando:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Repetir todos os alarmes que estão tocando daqui a pouco" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Interromper todos os alarmes que estão tocando" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Mostrar _alarmes" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Administre seus alarmes" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Preferências" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Sobre o Alarme" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Acorde de manhã!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmes" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Novo..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Editar..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Excluir" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Habilitar" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Parar" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Soneca" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuto" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutos" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutos" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutos" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Personalizar..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Repetir alarme daqui a pouco" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Repetir o alarme escolhido daqui a pouco" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Soneca de:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutos" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Adiar" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Interromper alarme" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Interromper alarme escolhido" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Excluir alarme" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Remove o alarme escolhido." #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Edit o alarme escolhido" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Novo alarme" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Novo" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Habilitar/desabilitar alarme" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Habilitar/desabilitar" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Habilita/desabilita o alarme escolhido" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Repetir todos os alarmes daqui a pouco" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Repetir alarmes daqui a pouco" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Interromper todos os alarmes" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Interromper alarmes" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Alternar janelas dos alarmes" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Alternar alarmes" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Alterna a visibilidade das janelas dos alarmes" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Sair" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Sair do Alarm" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Iniciar automaticamente ao entrar no sistema" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s já está em execução. saindo...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Repetir: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Selecionar arquivo de som..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Comando personalizado..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" "Não foi possível criar o reprodutor! Verifique suas configurações de som." #: ../src/alarm.c:2041 msgid "Once" msgstr "Uma vez" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Dias da semana" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Finais de semana" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Todos os dias" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Sobre o %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Impossível reproduzir '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Impossível reproduzir" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Você pode adiar ou interromper alarmes do menu do Alarme." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Necessita do aplicativo de indicação" alarm-clock-applet-0.3.3/po/fo.po0000644000175000017500000002403211762716142013500 00000000000000# Faroese translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-06-12 15:12+0000\n" "Last-Translator: Gunleif Joensen \n" "Language-Team: Faroese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: fo\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Vekjari" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Vakna á morgni" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Vekjara slag" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Vekjara tíðarstempul" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "UNIX tíðastemplið fyri vekjaraklokkuna, má ásetast áðrenn vekjarin kann " "virkjast." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Vekjara tíðspunkt" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Vekjari!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Vekjara fráboðan" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Eini stutt boð, ið greiåir frá vekjaranum." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Vekjara koyrslustandir" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Ábending um vekjaraklokkan er byrja." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Vekjara endurtøka" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Listi yvir dagar ið vekjaraklokkan skal endurtakast. Henda setanin er einans " "galdandi fyri vekjara tíðir." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Fráboðanar snið" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Ljóðfíla" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Endurtøku ljóð" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Um vekjaraljóðurin skal endurtakast." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Boð" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Vekjaraklokku sertokkar" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Alment" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Ritstjórna vekjaratíðir" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Tíðarvørður" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Vækna tín svøvnhít" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Tíð" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Navn:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "mán" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "týs" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "mik" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "hós" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "frí" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "ley" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "sun" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "Endu_rtak:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Gev gætur" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Spæl _ljóð" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Endurta_k ljóð" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Byrja nýtsluskip_an" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Stýriboð" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Durva allar bippandi alarmar" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Steðga allar bippandi alarmar" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Sýn _vekjaratíðir" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Stýr tinar vekjara tíðir" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Sertokkar" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Um Vekjaraklokku" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Kom upp á morgni!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Vekjara tíðir" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nýggj..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Ritstjórna..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Strika" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Gilda" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Steðga" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Durva" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuttur" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minuttir" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minuttir" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minuttir" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Laga til..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Durvi vekjari" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Durva tann valda alarmin" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Durva fyri:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minuttir" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Durva" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Steðga vekjaraklokku" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Steðga tí valdu vekjaraklokkuna" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Strika vekjara tíð" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Strika valdu vekjara tíðina" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Ritsjórna tí valdu vekjara tíðina" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Nýggj vekjaratíð" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nýggj" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Gilda/ógilda vekjaraklokku" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Gilda/ógilda" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Gilda/ógilda tí valdu vekjara tíðina" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Durva allar alarmar" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Durva alarmar" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Steðga allar vekjaraklokkur" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Steðga vekjaraklokkur" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Skift vekjara gluggar" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Skift vekjaraklokkur" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Skift sjónleikan á vekjara glugganum" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Gevst" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Sløkk vekjaraklokkuna" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Byrja sjálvvirkandi við innritan" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s koyrir longu, gevist...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "Endu_rtak: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Vel ljóðfílu..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Serstýriboð..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Eina ferð" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Gerðandisdagar" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Vikuskifti" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Hvønn dag" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Um %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Kundi ikki spæla '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Kundi ikki spæla" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/zh_TW.po0000664000175000017500000002474411762716142014143 00000000000000# Chinese (Traditional) translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-01-24 02:22+0000\n" "Last-Translator: Cheng-Chia Tseng \n" "Language-Team: Chinese (Traditional) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: \n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Alarm Clock" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "早上醒來" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "顯示倒數標籤" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "是否要在圖示的右邊顯示距離下次吵鬧還剩多久的標籤" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "鬧鐘類型" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "鬧鐘的類型:「定時鬧鐘」可指定於某個時間動作、「倒數計時器」可指定在某段時間之後動作。" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "鬧鐘時間戳記" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "鬧鐘的 UNIX 時間戳記,必須在鬧鐘啟動前就先設定。" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "鬧鐘時間" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "鬧鐘的時間。「定時鬧鐘」用標準時間格式,「倒數計時器」用秒數。" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "鬧鐘!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "鬧鐘訊息" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "說明這個鬧鐘的簡短訊息。" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "鬧鐘執行狀態" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "顯示鬧鐘是否已啟動。" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "鬧鐘週期" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "在哪幾天啟動鬧鐘的清單,只適用於「定時鬧鐘」。" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "提醒方式" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "鬧鐘設定的時間到達時的提醒方式,可以是以下方式之一:「聲音」→播放聲音 (在「聲音檔案(_F)」處做設定)、「指令」→執行指令 (在「指令」處做設定)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "聲音檔案" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "用於「聲音」提醒類型要播放的聲音檔案。" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "重播聲音" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "是否重複播放聲音。" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "指令" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "用於「指令」提醒類型要執行的指令。" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Alarm Clock 偏好設定" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "一般" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "外觀" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "編輯鬧鐘" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "倒數計時器" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "讓昏昏欲睡的腦袋清醒!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "時間(_T):" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "名稱(_N):" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "一" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "二" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "三" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "四" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "五" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "六" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "日" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "週期(_R):" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "提醒" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "播放聲音(_S)" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "重播聲音(_T)" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "啟動應用程式(_A)" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "指令(_M):" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "延後所有發聲中的鬧鐘" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "停止所有發聲中的鬧鐘" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "顯示鬧鐘(_A)" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "管理您的鬧鐘" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "偏好設定(_P)" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "關於 Alarm Clock" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "早上起床!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "鬧鐘" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "新增..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "編輯..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "刪除" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "啟用" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "停止" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "延後" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 分鐘" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 分鐘" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 分鐘" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 分鐘" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "自訂..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "延後鬧鐘" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "延後選取的鬧鐘" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "延後:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "分鐘" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "延後(_S)" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "停止鬧鐘" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "停止選取的鬧鐘" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "刪除鬧鐘" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "刪除選取的鬧鐘" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "編輯選取的鬧鐘" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "新增鬧鐘" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "新增" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "啟用/停用鬧鐘" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "啟用/停用" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "啟用/停用選取的鬧鐘" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "延後所有鬧鐘" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "延後鬧鐘" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "停止所有鬧鐘" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "停止鬧鐘" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "切換鬧鐘視窗" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "切換鬧鐘" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "切換鬧鐘視窗的能見度" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "離開(_Q)" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "離開 Alarm Clock" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "登入時自動啟動" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s 已經在執行了,退出...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "週期(_R):%s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "選擇聲音檔案..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "自訂指令..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "一次" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "平日" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "週末" #: ../src/alarm.c:2050 msgid "Every day" msgstr "每天" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "關於 %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "無法播放 %s:%s" #: ../src/ui.c:457 msgid "Could not play" msgstr "無法播放" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "您可以從 Alarm Clock 選單延後或停止鬧鐘。" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "需要應用程式指示器" alarm-clock-applet-0.3.3/po/fi.po0000644000175000017500000002370711762716142013502 00000000000000# Finnish translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-08-31 11:55+0000\n" "Last-Translator: Tommi Saira \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: fi\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Herätyskello" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Herää jo!" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Hälytyksen tyyppi" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Hälytyksen tyyppi. Joko \"kello\" jolloin herätys tapahtuu tiettyyn päivän " "aikaan, tai \"ajastin\" jolloin hälytys tapahtuu tietyn ajan kuluttua." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Hälytyksen aikaleima" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "UNIX-aikaleima hälytykselle. Täytyy asettaa ennen hälytyksen " "alkamisajankohtaa." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Herätysaika" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Herätys!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Herätysviesti" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Lyhyt herätystä kuvaava syy." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Ilmoittaa onko hälytys on alkanut." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Herätyksen toisto" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Lista päivistä, jolloin tulisi herättää. Tämä asetus pätee vain \"kello\"-" "tyyppisille herätyksille." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Huomautuksen tyyppi" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Äänitiedosto" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Toista ääni" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Toistetaanko herätysääni." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Komento" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Herätyskellon asetukset" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Yleiset" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Ulkoasu" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Muokkaa herätystä" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Ajastin" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Herätys unikeko!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Aika:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nimi:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Ma" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Ti" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Ke" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "To" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Pe" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "La" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Su" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Toisto:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Hälytys" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Soita _ääni" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Toist_a ääni" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Käynnistä _sovellus" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ko_mento:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Lopeta kaikki toistettavat herätykset" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Näytä _herätykset" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Hallitse herätyksiä" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Asetukset" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Tietoja herätyskellosta" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Herää jo!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Herätykset" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Uusi..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Muokkaa..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Poista" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Käytä" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Lopeta" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Torkku" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuutti" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minuuttia" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minuuttia" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minuuttia" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Mukautettu..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Herätyksen torkku" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Torku:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minuuttia" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Lopeta herätys" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Lopeta valittu herätys" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Poista herätys" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Poista valittu herätys" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Muokkaa valittua herätystä" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Uusi herätys" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Uusi" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Käytä/älä käytä herätystä" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Käytä/älä käytä" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Käytä/älä käytä valittua herätystä" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Torkut kaikissa herätyksissä" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Herätysten torkut" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Lopeta kaikki herätykset" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Lopeta herätykset" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Lopeta" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Lopeta herätyskello" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Käynnistä automaattisesti sisäänkirjautumisen yhteydessä" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s on jo käynnissä, poistutaan...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Toisto: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Valitse äänitiedosto..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Mukautettu komento..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Kerran" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Arkisin" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Viikonloppuisin" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Joka päivä" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Tietoja - %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/ar.po0000644000175000017500000002664011762716142013505 00000000000000# Arabic translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-10-30 23:01+0000\n" "Last-Translator: Ahmed Mohammed \n" "Language-Team: Arabic \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: ar\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "ساعة منبهة" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "استيقظ في الصباح" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "نوع التنبيه" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "نوع التنبيه.إما \"ساعة\" للتنبيه في وقت محدد من اليوم,أو \"مؤقت\" للتنبيه " "بعد فترة محددة من الزمن." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "طابع التنبه" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "بصمة وقت التنبيه ليونكس.يجب تحديده قبل تغعيل المنبه." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "وقت التبيه" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "وقت التنبيه.يجب أن يكون بتوقيت غرينتش لتنبيهات \"ساعة\" أو بصيغة الثواني " "لتنبيهات \"مؤقت\"." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "انذار" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "رسالة التنبيه ." #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "رسالة قصيرة تصف التنبيه ." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "حالة تشغيل التنبيه" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "التحقق ما إذا كان المنبه قد بدأ." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "تكرار التنبيه ." #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "سرد الأيام التي يجب أن يتكرر فيها التنبيه.هذا الإعداد فاعل فقط لمنبهات " "\"clock\"." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "نوع الاشعار" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "نوع التنبيه المستخدم عند إيقاف المنبه.قد يكون شيئا مما يلي:\"صوت\" لتشغيل " "صوت (يحدد في خاصية \"sound_file\".\"أكر\" لتنفيذ أمر ما (يحدد في خاصية " "\"command\")" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "ملف الصوت" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "نوع ملف الصوت المستخدم للتنبيه." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "تكرار الصوت" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "سواء لإعادة تشغيل صوت التنبيه." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "أمر" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "نوع الامر المستخدم لتنفيذ نوع التنبيه." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "تفضيلات المنبه" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "عام" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "تعديل المنبه" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "المُؤقِت" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "استيقظ أيها النائم!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "الو_قت:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_الاسم:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "الإثنين" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "الثلاثاء" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "الأربعاء" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "الخميس" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "الجمعة" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "السبت" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "الأحد" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_كرر :" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "تنبيه" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "تشغيل _الصوت" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "تكرار الص_وت" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "بدا _التطبيق" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "أ_مر:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "إغفال كل التنبيهات" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "إيقاف جميع التنبهات الفاعلة" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "عرض المنبهات" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "إدارة تنبيهاتك" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_تفضيلات" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "حول المنبه" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "استيقظ في الصباح !" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "المنبّهات" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "جديد..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "حرّر..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "حذف" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "مكّن" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "إيقاف" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "قيلولة" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "دقيقة واحدة" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "٣ دقائق" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "٥ دقائق" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "١٠ دقائق" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "مخصّص..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "منبه القلولة" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "إغفال التنبيه المحدد" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "قلولة لأجل :" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "دقائق" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_غفوة" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "إيقاف التنبه" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "إيقاف التنبه المختارة" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "حذف المنبه" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "حذف المنبهات المختارة" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "تعديل المنبهات المختارة" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "تنبيه جديد" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "جديد" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "تفعيل /تعطيل المنبه" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "تفعيل/تعطيل" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "تفعيلظ/تعطيل المنبهات المختارة" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "كل منبهات القلولة" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "منبهات القلولة" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "إيقاف جميع التنبهات" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "إيقاف التنبهات" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "تبديل نافذة التنبيهات" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "تبديل التنبيهات" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "تغيير درجة وضوح نافذة التنبيهات" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_خروج" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "انهاء المنبه" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "بدء تلقائي عند التشغيل" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s يعمل,خروج...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_تكرار: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "اخترِ ملف صوت..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "أمر مخصص..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "مرة واحدة" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "أيام الأسبوع" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "عُطل نهاية الاسبوع" #: ../src/alarm.c:2050 msgid "Every day" msgstr "يوميا" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "حوْل %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "ﻻ يعمل '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "ﻻ يعمل" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "تستطيع إبقاف أو تعطيل المنبهات من قائمة ساعة التنبيه" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/ms.po0000644000175000017500000002537111762716142013522 00000000000000# Malay translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-04-03 17:48+0000\n" "Last-Translator: abuyop \n" "Language-Team: Malay \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: ms\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Jam Penggera" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Bangun pada waktu pagi" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Papar label kira detik" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Sama ada hendak paparkan label pada bahagian kanan ikon dengan masa berbaki " "kepada penggera berikutnya." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Jenis penggera" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Jenis penggera. Sama ada \"clock\" untuk penggera pada waktu tertentu " "sehari, atau \"timer\" bagi penggera selepas jangka masa tertentu." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Timestamp Penggera" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Timestamp UNIX untuk penggera. Mesti diset sebelum penggera diaktifkan." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Waktu Penggera" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Waktu untuk penggera. Hendaklah dalam GMT untuk penggera \"jam\" atau jangka " "masa panjang dalam saat untuk penggera \"pemasa\"." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Penggera!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Mesej Penggera" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Mesej ringkas menyatakan tentang penggera." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Keadaan Penggera" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Menandakan sama ada penggera telah bermula." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Penggera Diulang" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Senarai hari yang penggera perlu diulang. Keutamaan ini hanya boleh " "digunakan untuk penggera \"jam\"." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Jenis Pemberitahuan" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Jenis notifikasi untuk digunakan bila penggera berbunyi. Ini boleh dilakukan " "dengan cara: \"sound\" untuk main bunyi (dinyatakan dalam properti " "\"sound_file\"). \"command\" untuk jalan perintah (dinyatakan dalam properti " "\"command\")." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Fail Bunyi" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Fail bunyi untuk main bagi jenis notifikasi \"sound\"." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Ulang Bunyi" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Sama ada untuk diulangi bunyi penggera." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Arahan" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Perintah untuk jalan bagi jenis notifikasi \"command\"" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Keutamaan Alarm Clock" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Am" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Penampilan" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Edit penggera" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Pemasa" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Bangunlah wahai tuan hamba!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Masa:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nama:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Isnin" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Selasa" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Rabu" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Khamis" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Jumaat" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sabtu" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Ahad" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Ulang:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Waspada" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Main _bunyi" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Ulan_g bunyi" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Mula _Aplikasi" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "A_rahan:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Tidur semua penggera yang berbunyi" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Henti semua penggera yang berbunyi" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Papar _penggera" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Urus penggera anda" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Keutamaan" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Perihal Alarm Clock" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Bangun pada waktu pagi!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Penggera" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Baru..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Edit..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Hapus" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Bolehkan" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Berhenti" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Tidur" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minit" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minit" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minit" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minit" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Langganan..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Tidur penggera" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Tidur penggera yang dipilih" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Tidur untuk:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minit" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Tidur" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Henti penggera" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Henti penggera yang dipilih" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Hapuskan penggera" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Hapus penggera yang dipilih" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Edit penggera yang dipilih" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Penggera baru" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Baru" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Enable/disable penggera" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Enable/disable" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Enable/disable penggera yang dipiih" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Tidur semua penggera" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Tidur penggera" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Henti semua penggera" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Henti penggera-penggera" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Togol tentingkap penggera" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Togol penggera" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Togol darjah penglihatan bagi tetingkap penggera" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Keluar" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Keluar dari Alarm Clock" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Mula secara automatik pada log masuk" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s telah berjalan, keluar...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Ulang: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Pilih fail bunyi..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Perintah langganan..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Sekali" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Hari hari bekerja" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Hujung minggu" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Setiap hari" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Perihal %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Tidak dapat main '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Tidak dapat main" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Anda boleh tidur atau hentikan penggera dari menu Alarm Clock." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Memerlukan penunjuk aplikasi" alarm-clock-applet-0.3.3/po/si.po0000664000175000017500000003430711762716142013517 00000000000000# Sinhalese translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2012-05-25 09:24+0000\n" "Last-Translator: පසිඳු කාවින්ද \n" "Language-Team: Sinhalese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: \n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "සංඳාකිරීමේ ඔරලෝසුව" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "උදෑසන පිබිදීම" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "ගණන ලේබලය දැක්වීම" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "ඊලග සංඥා සලකුණේ නිවැරදි පැත්ත දැක්වීම" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "සංඥා වර්ගය" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "සංඥා වර්ගය අනුව දවසක විශේෂිත වේලාව දැක්වීම සදහා \"ඔරලෝසුව\" හෝ සද විශේෂිත " "කාලයකට පසුව සංඥා දැක්වීමට \"කාලගණනය\" යොදාගැනේ." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "සම්මත සංඥාව" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "සංඥාව සදහා යුනික්ස් සලකුණ.සංඥාව ක්‍රියාත්මක කිරීමට පෙර සැකසිය යුතුය." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "සංඥා කාලය" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "සංඥා සදහා කාලය.සම්මත කාලය ඔරලෝසු සංඥා හෝ කාල පරාසය අනුව කාලගණන සංඥාටද යෙදිය " "යුතුය." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "සංඥාව!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "සංඥා පණිවිඩය" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "කෙටි සංඥා පණිවිඩයක්" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "සංඥා ක්‍රියාත්මක තත්වය" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "සංඥාවේ ආරම්භය දැක්වීම හෝ" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "සංඥා නැවත කිරිම" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "දවස අනුව සංඥාව නැවත දැක්විය යුතුය. කට්ටල අංග යෙදිය හැකිවන්නේ ඔරලෝසුවට පමණි." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "නිවේදන වර්ගය" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "නිවේදන වර්ගය අනුව සංඥාව පැමිණීම." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "ශබ්ද ගොනුව" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "ශබ්ද ගොනුව ශබ්ද නිවේදන වර්ගය ක්‍රියාත්මක කිරිමට" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "ශබ්ද නැවත කියවීම" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "එක්කෝ සංඥා ශබ්දය නැවත කියවීම" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "විධානය" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "\"විධානය\" නිවේදන වර්ගය ක්‍රියාත්මක කිරිමට" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "සංඥා ඔරලෝසු වර්ග" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "පොදු" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "මුහුණුවර" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "සංඥා සංස්කරණය" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "වේලා ගණකය" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "නැගිටීම" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "වේලාව (_වේ):" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "නම (_N):" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "සඳුදා" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "අගහරුවාදා" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "බදාදා" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "බ්‍රහස්පතින්දා" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "සිකුරාදා" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "සෙනසුරාදා" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "ඉරිදා" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_නැවත කියවීම" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "අවධානය" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "ක්‍රියාත්මක ශබ්දය" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "නැවත කියවීමේ _ශබ්දය" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "නියැලුම _ආරම්භය" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "විධානය" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "සියලුම නාද ශබ්දයන් මදවේලාවක් නිදීම" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "සියලුම නාද ශබ්දයන් නැවැත්වීම" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "සංඥා _දැක්වීම" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "ඔබගේ සංඥා කළමණාකරනය" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "රුචි අරුචි" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "සංඥා ඔරලෝසුව ගැන" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "උදෑසන පිබිදීම" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "සංඥා" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "නව..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "සකසන්න..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "මකන්න" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "සක්‍රීය කරන්න" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "නවත්වන්න" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "මද වේලාවක් නිදීම" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "මිනිත්තුවක්" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "මිනිත්තු 3 ක්" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "මිනිත්තු 5 ක්" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "මිනිත්තු 10 ක්" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "භාවිතාව" #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "විරාම සංඥාව" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "කෙටි විරාමයක් සදහා තෝරාගන්නා ලද සංඥාව" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "කෙටි විරාමයක් සදහා" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "මිනිත්තු" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_කෙටි විරාමය" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "සංඥාව නැවතීම" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "තෝරාගන්නා ලද සංඥාව නතර කිරිම" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "සංඥාව ඉවත් කිරීම" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "තොරගන්නා ලද සංඥාව ඉවත් කිරීම" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "තොරගන්නා ලද සංඥාව සංස්කරණය" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "නව සංඥාව" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "නව" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "සංඥා ඔරලෝසුව ක්‍රියත්මක කරවන්න/ක්‍රියත්මක කරවන්න එපා" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "සැකසිමේ/ක්‍රියාවිරහිත කිරිමේ" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "තෝරගන්නා ලද සංඥාව සැකසිමේ/ක්‍රියාවිරහිත කිරීම" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "සියලු සංඥා ඔරලෝසු විරාම ගන්වන්න" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "සංඥා ඔරලෝසු විරාම ගන්වන්න" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "සියලු සංඥා ඔරලෝසු නවත්වන්න" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "සංඥා ඔරලෝසු නවත්වන්න" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "සංඥා ඔරලෝසු කවුළුව ටොගල් කරන්න" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "සංඥා ඔරලෝසු ටොගල් කරන්න" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "සංඥා ඔරලෝසු කවුළු වල දර්ශනීය බව ටොගල් කරන්න" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "ඉවත් වෙන්න (_Q)" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "සංඥා ඔරලෝසුවෙන් ඉවත් වන්න" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "ලොගින් එකෙ සිට ස්වයංක්‍රීයව ආරම්භ කරන්න" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s දැනටමත් ක්‍රියත්මකවෙමින් පවතී, ...නවතිමින් ඇත\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "නැවත කියාකරවන්න(_k): %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "සංගීත ගොනුව තෝරගන්න..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "පුරුදු නියෝගය..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "දාවකයක් සැදීමට නොහැක.කරුණාකර ඔබගේ සංගීත විදාන පරීක්ශා කරන්න" #: ../src/alarm.c:2041 msgid "Once" msgstr "එක් වරක්" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "සතියේ දින" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "සති අන්තයන්" #: ../src/alarm.c:2050 msgid "Every day" msgstr "සෑම දිනකම" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "%s සම්බන්ධව" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "ක්‍රියාත්මක කිරීමට නොහැක '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "ක්‍රියාත්මක කිරීමට නොහැක" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "සංඥා ඔරලෝසුව නැවත්වීම හෝ විරාම ගැන්වීම ඔරලෝසු මෙනුවෙන් කල හැකිය" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "යෙදවුම් දර්ශකයන් අවශ්‍ය වේ." alarm-clock-applet-0.3.3/po/pl.po0000644000175000017500000002456611762716142013523 00000000000000# Polish translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-06-15 20:08+0000\n" "Last-Translator: Piotr Kozica (\"koza\") \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: pl\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Budzik" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Obudź się rano" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Wyświetl etykietę odliczania" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Typ alarmu" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Typ alarmu. Zegarowy - dla alarmów o określonej godzinie, czasowy - dla " "alarmów po upływie określonego czasu." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Znaczniki Czasu Alarmu" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Znaczniki czasu UNIX dla alarmu. Muszą być ustawione przed aktywacją alarmu." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Czas alarmu" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Czas alarmu.Według czasu Greenwich dla alarmów zegarowych, długość w " "sekundach dla alarmów czasowych." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Wiadomość alarmu" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Krótka wiadomość opisująca alarm." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Stan Działania Alarmu" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Wskazuje, czy alarm został uruchomiony." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Powtarzanie alarmu" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Lista dni w których alarm by się miał powtarzać. To ustawienie tylko dotyczy " "\"zegarowych\" alarmów." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Typ powiadomienia" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "Typ powiadomienia po wyłączeniu alarmu." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Plik dźwiękowy" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Plik dźwiękowy dla powiadomienia dźwiękowego." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Powtarzanie dźwięku" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Powtarzaj alarm dźwiękowy" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Polecenie" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Komenda dla powiadomienia typu \"komenda\"." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Preferencje budzika" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Ogólne" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Wygląd" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Modyfikuj alarm" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Stoper" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Obudź się, śpiochu!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Czas:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nazwa:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Pon" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Wto" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Śro" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Czw" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Pt" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "So" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Nie" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Powtórz:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Ostrzeżenie" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Odtwórz _dzwięk" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Powtórz dzwięk" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Start _Application" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "_Polecenie:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Uśpij wszystkie dzwoniące alarmy" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Zatrzymaj wszystkie dzwoniące alarmy" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Pokaż _alarmy" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Zarządzaj alarmami" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Preferencje" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "O budziku" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Wstań rano!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmy" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nowe..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Edytuj..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Usuń" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Włącz" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Zatrzymaj" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Drzemka" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuta" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minuty" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minut" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minut" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Własne..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Uśpij alarm" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Uśpij wybrany alarm" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Uśpij na:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minut" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Drzemka" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Zatrzymaj alarm" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Zatrzymaj wybrany alarm" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Usuń alarm" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Usuń zaznaczony alarm" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Modyfikuj zaznaczony alarm" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Nowy alarm" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nowy" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Włącz/wyłącz alarm" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Włącz/wyłącz" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Włącz/wyłącz wybrany alarm" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Uśpij wszystkie alarmy" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Uśpij alarmy" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Zatrzymaj wszystkie alarmy" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Zatrzymaj alarmy" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Włącz okno alarmów" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Odwróć stan alarmów" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Włącz widoczność okna alarmów" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Wyjdź" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Zakończ budzik" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Uruchom automatycznie podczas logowania" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s jest już włączone, kończę...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Powtórz: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Wybór pliku dźwiękowego..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Własne polecenie..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Raz" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Dni robocze" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Weekendy" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Codziennie" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "O %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Nie udało się odtworzyć '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Nie udało się odtworzyć" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" "Możesz odwlec lub zatrzymać alarmy używając menu programu Alarm Clock." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/be.po0000644000175000017500000003070011762716142013461 00000000000000# Belarusian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-06-13 18:30+0000\n" "Last-Translator: Mikola Tsekhan \n" "Language-Team: Belarusian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: be\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Будзільнік" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Абудзіць мяне ранкам" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Тып нагадваньня" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Тып будзільніка. «Гадзіньнік» — у вызначаны час дня альбо «тамер» — па " "сканчэньні вызначанага пэрыяда." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Часовая адзнака сыгналу" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Часовая пазнака UNIX для будзільніка. Павінна быць усталявана да актывацыі " "будзільніка." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Час сыгналу" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Час для нагадваньня. Павінен быць у GMT для «пагадзінных» нагадваньняў ці ў " "сэкундах для таймера." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Пад'ём!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Паведамленьне будзільніка" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Кароткае паведамленьне, якое апісвае будзільнік." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Прастора запуска будзільніка" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Паказвае, ці было актывізавана нагадваньне." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Паўтор сыгналу" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Сьпіс дзен, калі трэба паўтараць нагадваньне. Налады ўжывальныя толькі для " "«пагадзінных» нагадваньняў." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Тып апавяшчэньня" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Што рабіць падчас спрацоўваньня будзільніка? Абярыце адзін з варыянтаў: " "прайграць гук (пазначаецца ў парамэтры «гукавы файл») альбо выканаць каманду " "(пазначаецца ў парамэтры «каманда»)." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Гукавы файл" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Гукавы файл для прайграваньня ў рэжыме «мелодыя»" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Паўтор мелодыі" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Ці паўтараць мелодыю нагадваньня." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Загад" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Загад для «загаднага» нагадваньня" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Перавагі будзільніка" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Агульнае" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Зьмяніць напамін" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Таймер" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Прачнісь, сонная галава!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Час:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Назва:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Пан" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Аўт" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Сер" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Чцв" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Пт" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Суб" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Няд" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Паўтарыць:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Апавяшчэньне" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Граць _музыку" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Паўта_раць гук" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Запусьціць _дастасаваньне" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "_Загад:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Адкласьці ўсе нагадваньні, якія зьвіняць" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Спыніць усе нагадваньні, якія зьвіняць" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Паказаць нагадваньні" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Кіраваць Вашымі нагадваньнямі" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Перавагі" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Пра Будзільнік" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Падыміцеся раніцай!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Сыгналы" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Новае…" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Рэдагаваць…" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Выдаліць" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Уключыць" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Спыніць" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Пазьней" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 хвіліна" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 хвіліны" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 хвілін" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 хвілін" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Іншае..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Адкласьці нагадваньне" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Адкласьці вылучаныя нагадваньні" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Адтэрміноўка для:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "хвіліны" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "Ад_класьці" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Спыніць нагадваньне" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Спыніць вылучаныя нагадваньні" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Выдаліць напамін" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Выдаліць вылучаны напамін" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Зьмяніць вылучаны напамін" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Новы напамін" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Новы" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Уключыць/выключыць напамін" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Уключыць/выключыць" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Уключыць/выключыць вылучаны напамін" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Адкласьці ўсе нагадваньні" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Адкласьці нагадваньні" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Спыніць усе нагадваньні" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Спыніць нагадваньні" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Пераключыць вакно нагадваньняў" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Пераключыць будзільнікі" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Пераключыць бачнасьць вакна нагадваньняў" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Выйсьці" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Выйсьці" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Запускаць аўтаматычна пры ўключэньні" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s ужо запушчаны, выхад...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Паўтор: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Абярыце мелодыю..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Іншы загад..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Аднаразова" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Працоўныя дні" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Выходныя" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Штодзень" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Пра %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Немагчыма прайграць «%s»: %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Немагчыма прайграць" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Вы можаце адтэрмінаваць або спыніць нагадваньні з мэню Будзільніка" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/da.po0000644000175000017500000002465711762716142013475 00000000000000# Danish translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-03-16 18:19+0000\n" "Last-Translator: Johannes H. Jensen \n" "Language-Team: Danish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: da\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Vækkeur" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Vågn om morgenen" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Alarmtype" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Alarmtypen. Enten \"clock\" for en alarm på et angivet tidspunkt på dagen, " "eller \"timer\" for en alarm efter en angivet tidsperiode." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Alarmtidsstempel" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "UNIX-tidsstempel for alarmen. Må indstilles før alarmen aktiveres." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Alarmtid" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Tiden for alarmen. Skal være i GMT for \"clock\"-alarmer eller længde i " "sekunder for \"timer\"-alarmer." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Alarmmeddelelse" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "En kort meddelelse, der beskriver alarmen." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Alarmstatus" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Angiv om alarm er startet." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Gentagelse af alarm" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "En liste over dage hvor alarmen skal gentages. Denne indstilling er kun " "gyldig for \"clock\" -alarmer." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Varslingstype" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Meddelelsestypen som skal bruges når alarmen starter. Denne kan være en af " "følgende: \"sound\" for at afspille en lyd (specifiseret i \"sound_file\" " "indstillingen.) \"command\" for at køre en kommando (specifiseret i " "\"command\" indstillingen.)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Lydfil" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Lydfilen som skal afspilles for en \"sound\"-varsling." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Gentag lyd" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Om alarmlyden skal gentages." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Kommando" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Kommandoen som skal køres for en \"command\"-varsling." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Indstilling for væggeuret" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Generel" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Rediger alarm" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Stopur" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Vågn op dit dovendyr!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Tid:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Navn:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Man" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Tir" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Ons" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Tor" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Fre" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Lør" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Søn" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Gentag:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Advarsel" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Af_spil lyd" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Gen_tag lyd" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Start _applikation" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ko_mmando:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Snooze alle bippene alarmer" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Stop alle bippende alarmer" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Vis _alarmer" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Administrer dine alarmer" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Præferencer" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Om væggeuret" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Stå op om morgenen!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmer" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Ny..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Rediger..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Slet" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Aktiver" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Stop" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Snooze" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minut" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutter" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutter" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutter" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Brugerdefineret..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Snooze alarm" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Snooze den valgte alarm" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Snooze for:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutter" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Snooze" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Stop alarm" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Stop den valgte alarm" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Slet alarm" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Slet den valgte alarm" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Rediger den valgte alarm" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Ny alarm" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Ny" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Aktiver/deaktiver alarm" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Aktiver/deaktiver" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Aktiver/deaktiver den valgte alarm" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Snooze alle alarmer" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Snooze alarmer" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Stop alle alarmer" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Stop alarmer" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Toggle alarmvinduet" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Toggle alarmer" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Toggle visning af alarmvinduet" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Luk" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Luk væggeur" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Start automatisk ved log på" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s kører allerede, afslutter...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Gentag: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Vælg lydfil..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Brugerdefineret kommando..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Én gang" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Ugedage" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Weekender" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Hver dag" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Om %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Kunne ikke afspille '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Kunne ikke afspille" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Du kan snooze eller stoppe alarmer fra the væggeurs-menuen." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/LINGUAS0000644000175000017500000000027111730466474013565 00000000000000# keep this file sorted alphabetically, one language code per line ar ast be bg ca cs da de es et fi fo fr gl he hi hu id it ja ka la ms nb nl nn pl pt_BR pt ru si sv tr uk zh_CN zh_TW alarm-clock-applet-0.3.3/po/ca.po0000644000175000017500000002545411762716142013470 00000000000000# Catalan translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-10-26 11:24+0000\n" "Last-Translator: I. De Marchi \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: ca\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Despertador" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Desperti's al matí" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Tipus d'alarma" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Tipus d'alarma. Qualsevol \"clock\" per una alarma per una hora específica " "del dia, o \"timer\" per a una alarma transcorregut un període de temps " "determinat." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Hora del despertador" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "L'hora UNIX per l'alarma. Ha de ser posat abans que l'alarma s'activi." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Hora de l'alarma" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Hora de l'alarma. Hauria d'esser en GMT per a alarmes \"clock\" o duradaen " "segons per a alarmes \"timer\"." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Despertador!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Missatge del despertador" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Descripció breu de l'alarma" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Estat de funcionament del despertador" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indica si l'alarma ha començat." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Repetició de l'alarma" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Llista de dies en què l'alarma s'hauria de repetir. Aquesta configuració " "només és aplicable per a \"clock\" alarmes." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Tipus de notificació" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Tipus de notificació per fer servir quan l'alarma sona. Pot ésser un dels " "següents tipus: \"sound\" per reproduïr un so (especificat a la propietat " "\"sound_file\") \"command\" per executar un comandament (especificat a la " "propietat \"command\")" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Arxiu de so" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Arxiu de so per reproduir pel tipus de \"sound\" de notificació." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Repeteix el so." #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Repeticions de l'alarma sonora." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Comanda" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "El comandament per executar el tipus de \"command\" de notificació." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Preferències del despertador" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "General" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Edita l'alarma" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Hora" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Desperta't!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Hora:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nom:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Dl." #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Dt." #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Dm." #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Dj." #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Dv." #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Ds." #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Dg." #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Repeteix:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alerta" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Reprodueix _so" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Repetie_x so" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Inicia l'_aplicació" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Co_mand" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "En espera totes les alarmes amb senyal sonora" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Atura totes les alarmes sonores" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Mostra _alarmes" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Gestioni les seves alarmes" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Preferències" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Quant a Despertador" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Aixequi's al matí!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmes" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nou..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Edita..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Suprimeix" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Activat" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Atura" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "En espera" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 mnut" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minuts" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minuts" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minuts" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Personalitza..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Alarma en espera" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "En espera les alarmes seleccionades" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "En espera per a:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minuts" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_En espera" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Atura l'alarma" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Atura les alarmes seleccionades" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Suprimeix l'alarma" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Suprimeix les alarmes seleccionades" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Edita l'alarma seleccionada" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Nova alarma" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nova" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Activa/Desactiva alarma" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Activa/Desactiva" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Activa/Desactiva les alarmes seleccionades" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "En espera totes les alarmes" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Alarmes en espera" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Atura totes les alarmes" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Atura les alarmes" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Activa la pantalla d'alarmes" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Activa les alarmes" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Canviar la visibilitat de la pantalla d'alarmes" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Tanca" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Tanca Despertador" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Inici automàtic en validar-se" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s encara està executant-se, tancant...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Repeteix: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Arxiu de so seleccionat..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Comanda personalitzada..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Una vegada" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Dies feiners" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Caps de setmana" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Cada dia" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Quant a %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "No és possible reproduir '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "No és possible la reproducció" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Podeu posar en espera o aturar les alarmes des del menú Despertador." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/ja.po0000644000175000017500000002605011762716142013470 00000000000000# Japanese translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-12-22 00:12+0000\n" "Last-Translator: jugger Yamamoto \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: ja\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "アラーム時計" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "朝起きる" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "アラームの種類" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "アラームの種類。\"clock\" は指定した日時に動作します。\"timer\" は指定間隔ごとに動作します。" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "アラームのタイムスタンプ" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "アラームに使用する UNIX のタイムスタンプ。アラームをオンにする前に設定する必要があります。" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "アラームの時間" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "アラームの時間。時刻の時はGMT(UTC)、タイマーの時は時間を秒で指定。" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "アラーム" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "アラームのメッセージ" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "アラームのときに表示される短いメッセージ" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "アラーム状態" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "アラームが開始されているかの表示" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "アラームのリピート間隔" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "通知の種類" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "アラームが起動したときの通知の種類。次のいずれか1つです: \"sound\" は \"sound_file\" " "プロパティで指定した音ファイルを再生します。 \"command\" は \"command\" プロパティで指定したコマンドを実行します。" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "アラーム音のファイル" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "\"sound\" 通知のときに再生される音ファイル。" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "リピートの音" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "アラーム音を連続再生するかどうか" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "コマンド" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "\"command\" 通知のときに実行されるコマンド。" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "アラーム時計の設定" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "一般" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "アラームを編集" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "タイマー" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "起きろー!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "時間(_T):" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "名前(_N):" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "月曜" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "火曜" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "水曜" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "木曜" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "金曜" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "土曜" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "日曜" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "リピート(_R):" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "アラート" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "音の再生(_S)" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "音のリピート(_T)" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "アプリケーションを起動(_A)" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "コマンド(_M):" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "動作中のすべてのアラームをスヌーズ" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "すべての動作中のアラームを停止" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "アラームの表示(_A)" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "アラームの設定" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "設定(_P)" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "アラーム時計について" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "朝起きる" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "アラーム" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "新規..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "編集..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "削除" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "有効" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "停止" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "スヌーズ" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1分" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3分" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5分" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10分" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "カスタム..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "アラームをスヌーズ" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "選択中のアラームをスヌーズ" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "スヌーズする:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "分" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "スヌーズ(_S)" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "アラームを停止" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "選択中のアラームを停止" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "アラームを削除" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "選択中のアラームを削除" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "選択中のアラームを編集" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "新しいアラーム" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "新規" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "アラームのオン/オフ" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "オン/オフ" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "選択中のアラームのオン/オフ" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "すべてのアラームをスヌーズ" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "アラームをスヌーズ" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "すべてのアラームを停止" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "アラームを停止" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "アラームウィンドウの切り替え" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "アラームの切り替え" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "アラームウィンドウの表示切り替え" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "終了(_Q)" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "アラーム時計の終了" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "ログイン時に自動起動" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s はすでに実行されているため、終了します\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "リピート(_R): %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "音ファイルの選択..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "カスタムコマンド..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "1回" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "平日" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "週末" #: ../src/alarm.c:2050 msgid "Every day" msgstr "毎日" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "%s について" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "'%s' を再生できませんでした: %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "再生できませんでした" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "アラーム時計のメニューからスヌーズまたは停止できます。" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/ru.po0000644000175000017500000003120011762716142013515 00000000000000# Russian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2012-05-16 05:33+0000\n" "Last-Translator: Alexey Ivanov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: ru\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Будильник" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Вставайте по утрам" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Показывать счетчик обратного отсчета" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "Показывать надпись слева от значка со временем следующего будильника" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Тип сигнала" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Тип будильника. \"По времени\" - в конкретное время дня или \"таймер\" - по " "истечении определенного периода." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Временная отметка сигнала" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Временная отметка UNIX для будильника. Должна быть установлена до активации " "будильника." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Время сигнала" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Время срабатывания. Укажите в GMT для будильника \"по времени\" или в " "секундах для таймера." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Подъем!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Сообщение будильника" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Краткое сообщение, описывающее будильник." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Область запуска будильника" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Будильник включён" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Повтор будильника" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Повтор будильника по дням. Настройка только для будильников \"по времени\"." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Тип оповещения" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Что делать при срабатывании будильника? Выберите один из вариантов: " "проиграть звук (указывается в настройке \"звуковой_файл\") или выполнить " "команду (указывается в настройке \"команда\")." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Звуковой файл" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Звуковой файл для проигрывания в режиме \"звук\"." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Повтор сигнала" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Повторять звук будильника" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Команда" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Выполнить команду (если настроено выполнение команды)" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Настройки Alarm Clock" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Основные" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Внешний вид" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Редактировать будильник" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Таймер" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Подъем, Соня!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "Время:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Имя" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Пн" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Вт" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Ср" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Чт" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Пт" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Сб" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Вс" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Повторить:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Тревога" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Проиграть_звук" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Повтор_звука" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Запуск _приложения" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ко_манда:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Отложить все звуковые будильники" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Выключить все звуковые будильники" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Показать_будильники" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Управление будильниками" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Настройки" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "О программе" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Утренний подъем!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Будильники" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Новый..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Редактировать..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Удалить" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Включить" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Остановить" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Отложить" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 минута" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 минуты" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 минут" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 минут" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Другой..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Отложить будильник" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Отложить выбранный будильник" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Отложить на:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "минут(ы)" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "Отложить" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Выключить будильник" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Выключить выбранный будильник" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Удалить будильник" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Удалить выбранный будильник" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Редактировать выбранный будильник" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Новый будильник" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Новый" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Включить/выключить будильник" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Включить/выключить" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Включить/выключить выбранный будильник" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Отложить все будильники" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Отложить будильники" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Выключить все будильники" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Выключить будильники" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Переключить окно будильников" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Переключить будильники" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Переключить видимость окна будильников" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "В_ыход" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Выйти" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Запускать при входе в систему" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s уже включён, выходим...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "Повтор: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Выбрать звуковой файл..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Другая команда..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" "Невозможно воспроизвести звук! Пожалуйста, проверьте настройки звука." #: ../src/alarm.c:2041 msgid "Once" msgstr "Однократно" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Будни" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Выходные" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Ежедневно" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "О программе %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Невозможно воспроизвести '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Невозможно воспроизвести" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Отложить или отключить будильники можно в Меню будильника" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Требует индикатор приложений" alarm-clock-applet-0.3.3/po/pt.po0000644000175000017500000002132111762716142013515 00000000000000# Portuguese translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-03-16 18:18+0000\n" "Last-Translator: Johannes H. Jensen \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: pt\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Despertar de manhã" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Tipo de Alarme" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Tempo do Alarme" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Mensagem do Alarme" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Uma pequena mensagem que descreva o alarme." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Estado Actual do Alarme" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indica se o alarme foi iniciado." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Repetição do Alarme" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Tipo de notificação" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Ficheiro de Som" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Repetir Som" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Comando" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Co_mando:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmes" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Apagar" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuto" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutos" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutos" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutos" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Personalizar..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "" #: ../src/alarm.c:2050 msgid "Every day" msgstr "" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/nn.po0000644000175000017500000002275511762716142013521 00000000000000# Norwegian Nynorsk translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-04-30 15:02+0000\n" "Last-Translator: Johannes H. Jensen \n" "Language-Team: Norwegian Nynorsk \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: nn\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Varslingsur" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Vakne om morgonen" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Varslingstype" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Varslingstypa. Enten \"clock\" for ei varsling på ei gitt tid av døgnet, " "eller \"timer\" for ei varsling etter ei gitt tid." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Varslingstidsstempel" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "UNIX-tidsstempel for varslinga. Må settast før varslinga er starta." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Varslingstid" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Tida for varslinga. Skal vere i GMT for \"clock\"-varslingar eller lengde i " "sekund for \"timer\"-varslingar." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Varsling!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Varslingsmelding" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Ei kort melding som beskriv varslinga." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Varsling kjøyrestatus" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indikerer om varslinga har starta." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Varslingsgjentaking" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Ei liste over dagar kor varslinga skal gjentakast. Innstillinga er berre " "gjeldande for \"clock\" varslingar." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Varslingstype" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Notifiseringstypen som skal nyttast når varslinga går av. Vel ein av disse: " "\"sound\" for å spille ein lyd (spesifisert i \"sound_file\"-innstillinga), " "\"command\" for å køyre ein kommando (spesifisert i \"command\"-" "innstillinga)." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Lydfil" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Lydfilen som skal spelast for \"sound\"-varsling." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Gjenta lyd" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Om varslingslyden skal gjentakast." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Kommando" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Kommandoen som skal kjøyrast for \"command\"-varsling." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minutt" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutt" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutt" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutt" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "" #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "" #: ../src/alarm.c:2050 msgid "Every day" msgstr "" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/et.po0000664000175000017500000002200711762716142013506 00000000000000# Estonian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-09-12 15:25+0000\n" "Last-Translator: Tarmo Ilves \n" "Language-Team: Estonian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: et\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Äratuskell" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Ärka ülesse hommikul" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Äratuse tüüp" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Äratus" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Äratuse sõnum" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Helifail" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Käsklus" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Äratuskella eelistused" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Üldine" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Äratuse muutmine" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Taimer" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Aeg:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nimi:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Esm" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Tei" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Kol" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Nel" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Ree" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Lau" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Püh" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Kordus:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Hoiatus" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "K_äsk:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Halda oma äratusi" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Eelistused" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Teave äratus kellast" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Äratused" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Uus..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Muuda..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Kustuta" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Luba" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Peata" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Kordus" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minut" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutit" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutit" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutit" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Kohandatud..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Kordus äratus" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutid" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Peata äratus" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Äratuse kustutamine" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Uus äratus" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Uus" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Luba/keela äratus" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Luba/keela" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Korda kõiki äratusi" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Kordus äratused" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Peata kõik äratused" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Peata äratused" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Välju" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Kordus: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Vali helifail..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Üks kord" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Tööpäevadel" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Nädalavahetusel" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Iga päev" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "%s teave" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Ei mängi '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Ei suuda mängida" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/Makefile.in.in0000644000175000017500000001537711642404313015211 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: alarm-clock-applet-0.3.3/po/bg.po0000644000175000017500000003167411762716142013476 00000000000000# Bulgarian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-09-03 18:14+0000\n" "Last-Translator: Ivaylo Bozhurin \n" "Language-Team: Svetoslav Stefanov \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "X-Poedit-Country: BULGARIA\n" "Language: bg\n" "X-Poedit-Language: Bulgarian\n" "X-Poedit-SourceCharset: utf-8\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Будилник" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Събудете се сутринта" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Показване на отброяване" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Дали да се показва надпис от дясната страна на иконата с оставащо време до " "следващата аларма." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Тип на алармата" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Вид на алармата. Може да бъде \"будилник\" за аларма в определено време на " "деня или \"таймер\" за аларма след определен период от време." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Вмъкване на време" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "UNIX формат на времето. Трябва да бъде зададен преди алармата да е " "задействана." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Час на алармата" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Час на алармата. Трябва да бъде в GMT за алармите, тип \"будилник\" или в " "продължителност в секунди за \"таймер\"." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Аларма!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Съобщение на алармата" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Кратко съобщение, което описва алармата." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Текущо състояние на алармата" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Показва дали алармата е започнала." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Повтаряне на алармата" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Списък с дните, в които трябва да се повтаря алармата. Настройката е " "приложима само към аларми тип \"будилник\"." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Вид на известието" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Вид известие, щом алармата се включи. Можете да избирате между просвирване " "на звук и изпълнение на команда." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Аудио файл" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" "Звуков файл, който да бъде възпроизведен за типа известяване \"звук\"." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Повторение на звука" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Дали да се повтаря звука на алармата." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Команда" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" "Командата, която трябва да се изпълни за тип известяване \"команда\"." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Настройки на будилника" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Общи" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Облик" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Редактиране на аларма" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Таймер" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Събуди се, поспаланко!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Час:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Име:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Пон" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Вто" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Сря" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Четв" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Пет" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Съб" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Нед" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Повторение:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Внимание" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Възпроизвеждане на _звук" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Повторение на _звука" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Пускане на _приложение" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ко_манда:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Отлагане на всички свирещи аларми" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Спиране на всички свирещи аларми" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Показване на _аларми" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Управление на алармите" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Предпочитания" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Относно Alarm Clock" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Събудете се на сутринта!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Аларми" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Нова..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Редактиране..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Изтриване" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Включване" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Спиране" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Отлагане" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 минута" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 минути" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 минути" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 минути" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Потребителски..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Отлагане на алармата" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Отлагане на избраната аларма" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Отлагане за:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "минути" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Отлагане" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Спиране на алармата" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Спиране на текущата аларма" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Изтриване на аларма" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Изтриване на избраната аларма" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Редактиране на избраната аларма" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Нова аларма" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Нова" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Включване/изключване на алармата" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Включване/изключване" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Включване/изключване на избраната аларма" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Отлагане на всички аларми" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Отлагане на аларми" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Спиране на всички аларми" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Спиране на алармите" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Показване/скриване на прозореца на алармите" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Превключване на алармите" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Превключване на видимостта на прозореца на алармите" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Изход" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Изход" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Автоматично пускане при вход" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s вече се изпълнява, изход...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Повторение: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Избор на звуков файл…" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Потребителска команда..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Веднъж" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Делнични дни" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "В събота и неделя" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Всеки ден" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Относно %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Не може да се възпроизведе '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Не може да се възпроизведе" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Можете да отлагате или спирате аларми от менюто на будилника" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Изисква индикатори на приложения" alarm-clock-applet-0.3.3/po/POTFILES.in0000644000175000017500000000026111730466474014314 00000000000000data/alarm-clock-applet.desktop.in data/alarm-clock.schemas.in [type: gettext/glade]data/alarm-clock.ui src/alarm-applet.c src/alarm-settings.c src/alarm.c src/ui.c src/prefs.c alarm-clock-applet-0.3.3/po/ka.po0000664000175000017500000003455711762716142013506 00000000000000# Georgian translation for alarm-clock # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2011. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-05-22 20:13+0000\n" "Last-Translator: Giorgi Maghlakelidze \n" "Language-Team: Georgian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: ka\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "მაღვიძარა" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "დილით გაღვიძება" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "უკუთვლის წარწერის ჩვენება" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "ხატულის მარჯვენა მხარეს წარწერა დროით შემდეგი მაღვიძარის ჩართვამდე." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "მაღვიძარის ტიპი" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "განგაშის სახეობა. \"მაღვიძარა\" ჩაირთვება მოცემულ დროს, ხოლო \"წამზომი\" კი -" " მითითებული დროის შემდეგ." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "მაღვიძარის დროის ანაბეჭდი" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "UNIX დროის ანაბეჭდი მაღვიძარისათვის. უნდა იყოს მითითებული მაღვიძარის " "გააქტიურებამდე." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "მაღვიძარის დრო" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "ჩართვის დრო. მიუთითეთ დრო GMT-ს მიხედვით \"მაღვიძარისთვის\", ან დრო წამებში " "\"წამზომისთვის\"." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "განგაში!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "მაღვიძარის შეტყობინება" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "მაღვიძარის მოკლე აღწერა" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "მაღვიძარის მდგომარეობა" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "აჩვენებს მაღვიძარა ჩართულია თუ არა." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "მაღვიძარის გამეორება" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "დღეების ჩამონათვალი, როცა განგაში გამეორდება. ეს პარამეტრი გამოყენებადია " "მხოლოდ \"მაღვიძარისთვის\"." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "შეტყობინების ტიპი" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "მოქმედება მაღვიძარის ჩართვისას. აირჩიეთ ერთ-ერთი: ხმოვანი ფაილის დაკვრა " "(უნდა მიუთითოთ \"sound_file\" ), ან ბრძანების შესრულება (მიუთითებთ ველში " "\"ბრძანება\")" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "ხმოვანი ფაილი" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "დასაკვრელი ხმოვანი ფაილი \"ხმოვანი\" შეტყობინებისათვის." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "ხმის გამეორება" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "მაღვიძარის ხმის გამეორება." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "ბრძანება" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "შესასრულებელი ბრძანება \"ბძანების\" შეტყობინებისათვის." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "მაღვიძარის გამართვა" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "ზოგადი" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "გარეგნობა" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "მაღვიძარის ჩასწორება" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "წამზომი" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "გაიღვიძე, ძილის გუდავ!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_დრო:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_სახელი:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "ორშ" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "სამ" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "ოთხ" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "ხუთ" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "პარ" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "შაბ" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "კვი" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_გამეორება:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "გაფრთხილება" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "ხმის _დაკვრა" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "ხმის _გამეორება" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "პროგრამის _გაშვება" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "ბრძა_ნება:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "ყველა ხმოვანი მაღვიძარის დაყოვნება" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "ყველა ხმოვანი მაღვიძარის გათიშვა" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "მაღვიძრების _ჩვენება" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "მაღვიძარით მართვა" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_გამართვა" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "მაღვიძარის შესახებ" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "გაიღვიძეთ, დილაა!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "მაღვიძარები" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "ახალი..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "ჩასწორება..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "წაშლა" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "ჩართვა" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "გაჩერება" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "დაყოვნება" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 წუთი" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 წუთი" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 წუთი" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 წუთი" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "მორგებული..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "მაღვიძარის დაყოვნება" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "არჩეული მაღვიძარის დაყოვნება" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "დაყოვნება:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "წუთი" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_დაყოვნება" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "მაღვიძარის გათიშვა" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "არჩეული მაღვიძარის გათიშვა" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "მაღვიძარის წაშლა" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "არჩეული მაღვიძარის წაშლა" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "არჩეული მაღვიძარის ჩასწორება" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "ახალი მაღვიძარა" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "ახალი" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "მაღვიძარის ჩართვა/გათიშვა" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "ჩართვა/გათიშვა" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "არჩეული მაღვიძარის ჩართვა/გათიშვა" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "ყველა მაღვიძარის დაყოვნება" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "მაღვიძარის დაყოვნება" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "ყველა მაღვიძარის გათიშვა" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "მაღვიძრების გათიშვა" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "მაღვიძრების ფანჯრის გადართვა" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "მაღვიძრების გადართვა" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "მაღვიძრების ფანჯრის ხილვადობის გადართვა" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_გასვლა" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "გასვლა" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "გაშვება სისტემაში შესვლისას" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s უკვე გაშვებულია, ეს ითიშება...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_გამეორება: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "ხმოვანი ფაილის არჩევა..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "სხვა ბრძანება..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "ერთხელ" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "კვირის დღეები" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "შაბათ-კვირა" #: ../src/alarm.c:2050 msgid "Every day" msgstr "ყოველდღე" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "%s-ს შესახებ" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "'%s'-ს დაკვრა შეუძლებელია: %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "დაკვრა შეუძლებელია" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "მაღვიძრების დაყოვნება ან გათიშვა შესაძლებელია პროგრამის მენიუში." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "საჭიროებს პროგრამულ ინდიკატორს" alarm-clock-applet-0.3.3/po/sv.po0000664000175000017500000002250311762716142013527 00000000000000# Swedish translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2012-02-17 08:20+0000\n" "Last-Translator: Rikard Edgren \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: sv\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Väckarklocka" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Vakna på morgonen" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Visa nedräkning" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Alarmtyp" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Tidsstämpel för alarm" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "UNIX-tidsstämpeln för alarmet. Måste sättas innan alarmet aktiveras." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Alarmtid" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Alarm-meddelande" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "En kort beskrivning av alarmet" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Tillstånd: Alarmet körs" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indikerar om alarmet har startat." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Återupprepa alarm" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "En lista på dagar när alarmet ska återupprepas. Denna inställning är endast " "tillgänglig för väckarklockor." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Meddelandetyp" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Ljudfil" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Upprepa ljud" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Om alarmljudet ska upprepas." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Kommando" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Inställningar för Väckarklocka" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Allmänt" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Utseende" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Redigera alarm" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Tid:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Namn:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Mån" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Tis" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Ons" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Tor" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Fre" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Lör" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Sön" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Upprepa:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Varning" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ko_mmando:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Visa _alarm" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Inställningar" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Om Väckarklocka" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarm" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Ny ..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Redigera..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Ta bort" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Aktivera" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Stoppa" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Slumra" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minut" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minuter" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minuter" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minuter" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Anpassad..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Slumra alarm" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minuter" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Slumra" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Stoppa alarm" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Ta bort alarm" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Ta bort markerat alarm" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Redigera markerat alarm" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Nytt alarm" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Ny" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Slumra alla alarm" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Slumra alarm" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Stoppa alla alarm" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Stoppa alarm" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Avsluta" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Välj ljudfil..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "En gång" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Veckodagar" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Helger" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Varje dag" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Om %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/nb.po0000644000175000017500000002522611762716142013501 00000000000000# Norwegian translation of Alarm Clock (bokmål dialect) # Copyright (C) 2010 Johannes H. Jensen # This file is distributed under the same license as the alarm-clock-applet package. # Johannes H. Jensen , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock-applet\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-01-23 16:52+0000\n" "Last-Translator: Johannes H. Jensen \n" "Language-Team: Norwegian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: no\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Alarmklokke" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Våkne opp om morgenen" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Vis nedtelling" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Vis en nedtelling ved siden av ikonet som angir gjenstående tid til neste " "alarm." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Alarmtype" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Alarmtypen. Enten \"clock\" for en alarm på en angitt tid på døgnet, " "eller\"timer\" for en alarm etter en angitt tidsperiode." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Alarmtidsstempel" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "UNIX-tidsstempelet for alarmen. Må settes før alarmen aktiveres." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Alarmtid" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Tiden for alarmen. Skal være i GMT for \"clock\"-alarmer eller lengde i " "sekunder for \"timer\"-alarmer." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Alarmmelding" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "En kort melding som beskriver alarmen." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Alarm kjørestatus" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indikerer om alarmen har startet." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Alarmrepetering" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "En liste av dager når alarmen skal repeteres. Denne innstillingen er kun " "gyldig for \"clock\"-alarmer." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Varslingstype" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Notifiseringstypen som skal brukes når alarmen går av. Denne kan være en av " "følgende: \"sound\" for å spille en lyd (spesifisert i \"sound_file\" " "innstillingen.) \"command\" for å kjøre en kommando (spesifisert i " "\"command\" innstillingen.)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Lydfil" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Lydfilen som skal spilles for \"sound\"-varsling." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Repeter Lyd" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Om alarmlyden skal gjentas." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Kommando" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Kommandoen som skal kjøres for \"command\"-varsling." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Innstillinger for Alarmklokke" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Generelt" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Utseende" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Rediger alarm" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Nedtelling" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Våkn opp trøtthue!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Tid:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Navn:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "man" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "tir" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "ons" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "tor" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "fre" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "lør" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "søn" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Repeter:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Varsel" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "_Spill lyd" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Repe_ter lyd" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Start _Applikasjon" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ko_mmando:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Slumre alle pipende alarmer" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Stopp alle pipende alarmer" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Vis _alarmer" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Administrer dine alarmer" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Innstillinger" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Om Alarmklokke" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Stå opp om morgenen!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmer" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Ny..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Rediger..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Slett" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Aktivere" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Stopp" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Slumre" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minutt" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutter" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutter" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutter" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Egendefinert..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Slumre alarm" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Slumre den valgte alarmen" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Slumre for:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutter" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Slumre" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Stopp alarm" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Stopp den valgte alarmen" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Slett alarm" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Slett den valgte alarmen" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Rediger den valgte alarmen" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Ny alarm" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Ny" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Aktivere/deaktivere alarm" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Aktivere/deaktivere" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Aktivere/deaktivere den valgte alarmen" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Slumre alle alarmer" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Slumre alarmer" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Stopp alle alarmer" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Stopp alarmer" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Toggle alarmvinduet" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Toggle alarmer" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Toggle visningen av alarmvinduet" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Avslutt" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Avslutt Alarmklokke" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Start automatisk ved innlogging" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s kjører allerede, avslutter...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Repeter: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Velg lydfil..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Egendefinert kommando..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "En gang" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Ukedager" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Helger" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Hver dag" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Om %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Kunne ikke spille '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Kunne ikke spille" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Du kan slumre eller stoppe alarmer fra Alarmklokke-menyen." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Krever applikasjonsindikatorer" alarm-clock-applet-0.3.3/po/zh_CN.po0000644000175000017500000002473411762716142014106 00000000000000# Chinese (Simplified) translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-03-20 01:22+0000\n" "Last-Translator: Lele Long \n" "Language-Team: Chinese (Simplified) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: \n" "X-Language: zh_CN\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "闹钟" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "早晨唤醒" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "查看倒计时标签" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "是否在图标右侧显示距离下次闹铃的剩余时间。" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "闹铃类型" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "闹钟类型。“时钟”为在特定时间起闹,“计时器”为经过一特定时间段后起闹。" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "闹铃时间戳" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "闹钟的 UNIX 时间戳。必须在闹钟激活前设定。" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "闹铃时间" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "闹铃时间。“时钟”闹钟下应为 GMT 时间,“计时器”闹钟下应为秒长。" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "闹铃" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "闹钟消息" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "描述闹钟的简短消息。" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "闹钟运行状态" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "用于指示闹钟是否启动。" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "循环闹铃" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "闹钟的重复列表。此设置仅应用于“时钟”闹钟。" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "通知类型" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "闹钟起闹时的通知类型。可以是下列之一:“响铃” 播放一个声音文件(在“声音文件”属性中指定。) “命令” 运行一个命令(在“命令”属性中指定。)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "声音文件" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "“响铃”通知类型下要播放的声音文件。" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "重复响铃" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "是否要重复闹钟响铃。" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "命令" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "“命令”通知类型下要运行的命令。" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "闹钟首选项" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "常规" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "外观" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "编辑闹钟" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "计时器" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "醒来,懒虫!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "时间(_T):" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "名称(_N):" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "星期一" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "星期二" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "星期三" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "星期四" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "星期五" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "星期六" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "星期日" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "重复(_R):" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "警告" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "播放响铃(_S)" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "重复响铃(_T)" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "启动程序(_A)" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "命令(_M):" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "将所有蜂鸣闹钟设为贪睡" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "停止所有正在起闹的闹钟" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "显示闹钟(_A)" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "管理您的闹钟" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "首选项(_P)" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "关于闹钟" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "早晨起床!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "闹钟" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "新建..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "编辑..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "删除" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "启用" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "停止" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "打瞌睡" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 分钟" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 分钟" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 分钟" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 分钟" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "定制..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "打盹闹铃" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "为选定的闹钟设置贪睡" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "设置贪睡" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "分钟" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "贪睡(_S)" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "停止闹钟" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "停止选定的闹钟" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "删除闹钟" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "删除选定闹钟" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "编辑选定闹钟" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "新建闹钟" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "新建" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "启用/停用 闹钟" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "启用/停用" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "启用/停用 选定闹钟" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "将所有闹钟设为贪睡" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "贪睡闹钟" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "停止所有闹钟" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "停止闹钟" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "切换闹钟窗口" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "关闭/开启所有闹钟" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "切换闹钟窗口的可见性" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "退出(_Q)" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "退出闹钟" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "登入时自动启动" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s 已经在运行,正在退出...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "重复(_R): %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "选择声音文件..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "定制命令..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "一次" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "工作日" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "周末" #: ../src/alarm.c:2050 msgid "Every day" msgstr "每天" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "关于 %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "无法播放 '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "无法播放" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "您可以在闹钟面板将闹钟禁用或设置为贪睡" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "需要应用程序指示器" alarm-clock-applet-0.3.3/po/he.po0000644000175000017500000002646111762716142013500 00000000000000# Hebrew translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-01-23 20:29+0000\n" "Last-Translator: Yaron \n" "Language-Team: Hebrew \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: he\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "שעון מעורר" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "להתעורר בבוקר" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "הצגת תווית ספירה לאחור" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Alarm Type" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Alarm Timestamp" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "זמן ההתרעה" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Alarm Message" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "A short message which describes the alarm." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Alarm Running State" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indicates whether the alarm has started." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "חזרה על ההתרעה" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Notification Type" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Sound File" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "The sound file to play for the \"sound\" notification type." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Repeat Sound" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Whether to repeat the alarm sound." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Command" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "The command to run for the \"command\" notification type." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "העדפות השעון המעורר" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "כללי" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "מראה" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "עריכת ההתרעה" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "קוצב זמן" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "קדימה לקום ישנוני!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_שעה:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_שם:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "ב" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "ג" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "ד" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "ה" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "ו" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "ש" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "א" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_חזרה:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "התרעה" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "השמעת _צליל" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "ח_זרה על הצליל" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "הפעלת _יישום" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "פ_קודה:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "דחיית כל ההתרעות המזמזמות" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "עצירת כל ההתרעות המזמזמות" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "ה_צגת התרעות" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "ניהול ההתרעות שלך" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "ה_עדפות" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "על אודות השעון המעורר" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "להתעורר בבוקר!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "התרעות" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "חדשה..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "עריכה..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "מחיקה" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "הפעלה" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "עצירה" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "נודניק" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "דקה אחת" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 דקות" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 דקות" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 דקות" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "התאמה אישית..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "דחיית ההתרעה" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "דחיית ההתרעה הנבחרת" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "דחייה למשך:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "דקות" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_נודניק" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "עצירת ההתרעה" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "עצירת ההתרעה הנוכחית" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "מחיקת התרעה" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "מחיקת ההתרעה הנבחרת" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "עריכת ההתרעה הנבחרת" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "התרעה חדשה" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "חדשה" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "הפעלת/נטרול ההתרעה" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "הפעלה/נטרול" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "הפעלה/נטרול של ההתרעה הנבחרת" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "דחיית כל ההתרעות" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "דחיית ההתרעות" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "עצירת כל ההתרעות" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "עצירת ההתרעות" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "הצגה/הסתרה של חלון ההתרעות" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "החלפת מצב ההתרעות" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "הצגה/הסתרה של חלון ההתרעות" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "י_ציאה" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "יציאה מהשעון המעורר" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "התחלה אוטומטית עם ההפעלה" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s כבר פעילה, מתבצעת יציאה...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_חזרה: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "בחירת קובץ שמע..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "פקודה מותאמת אישית" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "פעם אחת" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "ימי השבוע" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "סופי שבוע" #: ../src/alarm.c:2050 msgid "Every day" msgstr "כל יום" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "על אודות %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "לא ניתן להשמיע את '%s':‏ %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "לא ניתן לנגן" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "ניתן לדחות או לעצור התרעות מתפריט השעון המעורר." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "נדרשים מחווני יישומים" alarm-clock-applet-0.3.3/po/de.po0000644000175000017500000002566011762716142013474 00000000000000# German translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-08-05 06:54+0000\n" "Last-Translator: cmdrhenner \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: de\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Wecker" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Morgens aufwecken" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Zeige Countdown Anzeige an" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Ob eine Beschriftung mit der Zeit zum nächsten Alarm, rechts vom Icon " "angezeigt wird." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Alarm-Typ" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Der Typ des Alarms. Entweder \"Wecker\" für einen Alarm zu einer bestimmten " "Uhrzeit des Tages oder \"Timer\" für einen Alarm nach einer bestimmten Dauer." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Alarm Zeitstempel" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Der Unix-Zeitstempel für den Alarm. Muss gesetzt sein, bevor dieser " "aktiviert ist." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Alarm Zeit" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Die Uhrzeit des Alarms. Sollte bei Uhrzeit im GMT Format oder bei Dauer " "Alarmen in Sekunden sein." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Alarm Nachricht" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Eine kurze Nachricht die den Alarm beschreibt." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Status des Alarms" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Zeigt ob der Alarm gestartet worden ist." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Alarm Wiederholung" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Eine Liste der Tage, an denen der Alarm wiederholt wird. Diese Einstellung " "ist nur für Alarme mit Uhrzeit." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Benachrichtigungstyp" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Der Typ der Benachrichtigung wenn dieser ausgelöst wird. Dies kann einer der " "folgenden sein: \"Ton\" gibt einen Ton wieder ( festgelegt in der " "\"Ton_Datei\" Eigenschaft.) \"Befehl\" welcher einen Befehl ausführt ( " "festgelegt in der \"Befehl\" Eigenschaft.)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Klangdatei" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Der Ton zur Wiedergabe bei Benachrichtigungstyp mit Ton." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Klang wiederholen" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Ob der Alarm Ton wiederholt werden soll." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Befehl" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Der auszuführende Befehl bei Benachrichtigungenstyp mit Befehl." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Alarm Clock-Einstellungen" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Allgemein" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Darstellung" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Alarm bearbeiten" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Stoppuhr" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Aufstehen, Schlafmütze!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Uhrzeit:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Name:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Mo" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Di" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Mi" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Do" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Fr" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sa" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "So" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "Wiede_rholung:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alarm" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "_Klang wiedergeben" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Ton _wiederholen" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "_Anwendung starten" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Be_fehl:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Schlummere alle klingelnde Alarme" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Alle klingelden Alarme stoppen" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Zeige Al_arme" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Verwalten Sie Ihre Alarme" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Einstellungen" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Über Alarm Clock" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Aufstehen am Morgen!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarme" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Neu …" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Bearbeiten …" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Löschen" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Einschalten" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Stop" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Schlummern" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 Minute" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 Minuten" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 Minuten" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 Minuten" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Benutzerdefiniert …" #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Schlummere Alarm" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Schlummern für den ausgewählten Alarm" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Schlummern für:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "Minuten" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Schlummern" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Stoppe Alarm" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Stoppe den ausgewählten Alarm" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Alarm löschen" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Löscht den Ausgewählten Alarm" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Den ausgewählten Alarm bearbeiten" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Neuer Alarm" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Neu" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Alarm ein-/ausschalten" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Einschalten/Ausschalten" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Ausgewählten Alarm ein-/ausschalten" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Schlummere alle Alarme" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Schlummere Alarme" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Alle Alarme stoppen" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Alarme stoppen" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Alarmfenster anzeigen/verbergen" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Alarme ausschalten" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Umstellen der Sichtbarkeit der Alarm Fenster" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Beenden" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Wecker beenden" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Automatisch beim Anmelden starten" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s wird bereits ausgeführt, beenden …\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "Wiede_rholung: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Tondatei wählen …" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Benutzerdefinierter Befehl …" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Einmalig" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Wochentags" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "An Wochenenden" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Täglich" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Über %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Konnte »%s« nicht wiedergeben: %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Konnte nicht wiedergeben" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" "Sie können Alarme aus dem Alarm Clock-Menü heraus schlummern oder stoppen " "lassen." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Benötigt Anwendungsindikatoren" alarm-clock-applet-0.3.3/po/cs.po0000664000175000017500000002145211762716142013506 00000000000000# Czech translation for alarm-clock # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2011. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-08-31 09:13+0000\n" "Last-Translator: Kuvaly [LCT] \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: cs\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Budík" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Ranní buzení" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Typ budíku" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Čas budíku" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Budík!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Zpráva budíku" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Zpráva popisující alarm." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Opakování budíku" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Seznam dnů kdy se má alarm opakovat.Toto nastavení je pouze pro alarmy v " "režimu hodin." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Typ upozornění" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Zvukový soubor" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Opakovat zvuk" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Jestli opakovat zvuk budíku." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Příkaz" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Nastavení budíku" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Upravit budík" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Výstraha" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Budíky" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Odstranit" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuta" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minuty" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minut" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minut" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Vlastní..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Smazat budík" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Smazat vybraný budík" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "" #: ../src/alarm.c:2050 msgid "Every day" msgstr "" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/tr.po0000664000175000017500000002561111762716142013527 00000000000000# Turkish translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2012-03-20 12:18+0000\n" "Last-Translator: Hasan Yılmaz \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: tr\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Çalar Saat" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Sabah uyandır" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Geri sayım etiketini göster" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "İkonun sağ tarafında bir sonraki alarm için kalan sürenin gösterilip " "gösterilmeyeceği" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Alarm Türü" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Alarmın türü. Günün belli bir zamanı çalması için \"Saat\", belli bir süre " "sonunda çalması için \"Zamanlayıcı\" olabilir." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Alarm Tarih bilgisi" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Alarm için UNIX tarih bilgisi. Alarm etkinleştirilmeden önce ayarlanmalıdır." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Alarm Zamanı" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Alarmın çalacağı zaman. \"Zamanlayıcı\" alarmlar için saniye mertebesinde, " "\"Saat\" alarmları için GMT olmalıdır." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Alarm iletisi" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Alarmı açıklayan kısa bir ileti." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Alarm Çalışma Durumu" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Alarmın başlayıp başlamadığını belirtir." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Alarm tekrarı" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Alarmın tekrar edeceği günlerin listesi. Bu ayarlar sadece \"saat\" " "alarmlarına uygulanabilir." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Bildirim Türü" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Alarm çalıştığında kullanılacak bildirim yöntemi. Bir ses dosyası çalınacak " "ise \"ses\" (\"sound_file\" özelliğinde belirtildiği üzere), bir komut " "koşulacak ise \"komut\" (\"komut\" özelliğinde belirtildiği gibi) olabilir." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Ses Dosyası" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "\"Ses\" bildirimi için çalınacak ses dosyası." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Sesi Tekrarla" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Alarm sesinin tekrar edip etmeyeceği." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Komut" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "\"Komut\" bildirim türü için çalıştırılacak komut." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Çalar Saat Tercihleri" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Genel" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Görünüm" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Alarmı düzenle" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Zamanlayıcı" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Uykucu, kalk haydi!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Saat:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Adı:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Pts" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Sal" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Çrş" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Prş" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Cu" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Cts" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Pzr" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Tekrarla:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Uyarı" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "_Sesi çal" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Sesi Tekrarl_a" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "_Uygulamayı Başlat" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ko_mut:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Tüm sesli uyarı alarmlarını ertele" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Bütün sesli uyarı alarmlarını kapat" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "_Alarmları göster" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Alarmlarını yönet" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Tercihler" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Çalar Saat Hakkında" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Sabaha kalk!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmlar" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Yeni..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Düzenle..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Sil" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Etkin" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Durdur" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Ertele" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 dakika" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 dakika" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 dakika" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 dakika" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Özel..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Alarmı ertele" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Seçilen alarmı ertele" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Ertele:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "dakikalar" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Ertele" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Alarmı kapat" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Seçilen alarımı kapat" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Alarmı sil" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Seçilen alarmı sil" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Seçilen alarmı düzenle" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Yeni alarm" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Yeni" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Alarmı etkinleştir/devre dışı bırak" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Etkin/devre dışı" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Seçilen alarmı etkinleştir/devre dışı bırak" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Tüm alarmları ertele" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Alarmları ertele" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Bütün alarmları kapat" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Alarmları kapat" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Alarmlar penceresini aç/kapat" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Alarmları aç/kapat" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Alarmlar penceresinin görünürlüğünü aç/kapat" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Çıkış" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Çalar Saati kapat" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Açılışta otamatik başlat" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s halen koşmakta, çıkılıyor...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Tekrarla: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Ses dosyası seçin..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Özel komut..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "Oynatıcı oluşturulamadı! Lütfen ses ayarlarınızı denetleyin." #: ../src/alarm.c:2041 msgid "Once" msgstr "Bir kez" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Hafta içi günler" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Hafta sonları" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Her gün" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Hakkında %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "'%s':%s oynatılamadı" #: ../src/ui.c:457 msgid "Could not play" msgstr "Oynatılamadı." #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Çalar Saat menüsünden alarmları erteleyebilir yada kapatabilirsiniz." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Uygulama göstergeçlerine gereksinim duyar" alarm-clock-applet-0.3.3/po/fr.po0000644000175000017500000002623011762716142013505 00000000000000# French translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-01-24 18:50+0000\n" "Last-Translator: Nicolas Delvaux \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: fr\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Réveil" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Se reveiller le matin" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Afficher une étiquette de décompte" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "S'il faut afficher une étiquette à droite de l’icône avec le temps restant " "jusqu’à la prochaine alarme." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Type d'alarme" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Le type d'alarme. Soit \"horaire\" pour une alarme se déclenchant à un " "moment spécifique du jour, ou \"minuteur\" pour une alarme se déclenchant " "après un laps de temps." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Horodatage de l'alarme" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "La répétition (horodatage) de l'alarme doit être configurée avant que " "l'alarme soit activée." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Heure de l'alarme" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "L'heure de l'alarme doit être en GMT pour les alarmes \"horaires\" et en " "secondes pour les alarmes \"minuteurs\"." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarme !" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Message de l'alarme" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Description de l'alarme." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Etat de l'alarme en cours d'exécution." #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indique si l'alarme s'est déclenchée" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Répéter l'Alarme" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Liste des jours où l'alarme doit se déclencher. Ne s'applique qu'aux alarmes " "de type 'horaire'." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Type de notification" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Le type de notification à utiliser lorsque l'alarme se déclenche. Cela peut " "être l'un des types de notifications suivants : \"son\" pour lire un son " "(spécifié dans la propriété \"sound_file\"), \"commande\" pour exécuter une " "commande (spécifiée dans la propriété \"commande\")" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Fichier sonore" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Le fichier audio à jouer pour une notification de type \"son\"." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Répéter le Son" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Si il faut répéter le son de l'alarme." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Commande" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "La commande à exécuter pour les alertes de type 'commande'." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Préférences du Réveil-Matin" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Général" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Apparence" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Modifier l'alarme" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Minuterie" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Réveille-toi fainéant !" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Heure :" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nom :" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Lun" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Mar" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Mer" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Jeu" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Ven" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sam" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Dim" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Répéter :" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alerte" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Lire_son" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Répé_ter son" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Démarrer _Application" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "_Commande :" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Reporter toutes les alarmes bip" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Arrêter toutes les alarmes qui sonnent" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Afficher les _alarmes" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Gérer vos alarmes" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Préférences" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "À propos du Réveil-Matin" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Réveille-toi le matin !" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmes" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nouveau..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Modifier..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Supprimer" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Activer" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Arrêter" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Report" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minute" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutes" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutes" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutes" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Personnalisée..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Reporter l'alarme" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Reporter l'alarme sélectionnée" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Reporter :" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutes" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Reporter" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Arrêter l'alarme" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Arrêter l'alarme sélectionnée" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Supprimer l'alarme" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Supprimer l'alarme sélectionnée" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Modifier l'alarme sélectionnée" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Nouvelle alarme" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nouveau" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Activer/Desactiver l'alarme" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Activer/Desactiver" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Activer/Desactiver l'alarme sélectionnée" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Reporter toutes les alarmes" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Reporter les alarmes" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Arrêter toutes les alarmes" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Arrêter les alarmes" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Changer la fenêtre des alarmes" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Changer l'état des alarmes" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Changer l'apparence des fenêtres des alarmes" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Quitter" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Quitter Réveil-Matin" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Démarrer automatiquement au démarrage" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "% s fonctionne déjà, sortie...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Répéter : %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Sélectionnez un fichier son..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Commande personnalisée..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Une seule fois" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Les jours ouvrables" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Les weekends" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Tous les jours" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "A propos de %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Impossible de lire '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Erreur lecture" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" "Vous pouvez reporter les alarmes ou arrêter les répétitions dans le menu " "Alarme." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Nécessite les indicateurs d'application" alarm-clock-applet-0.3.3/po/nl.po0000664000175000017500000002447111762716142013516 00000000000000# Dutch translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-05-13 10:16+0000\n" "Last-Translator: UndiFineD \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: nl\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Alarmklok" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Wakker worden" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Toon aftelling" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Of een label getoond moet worden rechts van het pictogram met de resterende " "tijd tot het volgende alarm." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Alarm type" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Het alarm-type. \"Klok\" voor een ingesteld alarm op een specifieke tijd, of " "\"timer\" voor een alarm na een verstreken tijdsperiode." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Alarm timestamp" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "De UNIX timestamp voor het alarm. Dit moet worden ingesteld voor het alarm " "is geactiveerd." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Alarmtijd" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "De tijd voor het alarm. Dit moet GMT notatie zijn voor \"klok\" alarms of de " "lengte in seconden voor \"timer\" alarms." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Alarmbericht" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Een korte omschrijving van het alarm." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Alarmstatus" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Geeft aan of het alarm is gestart." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Herhaling van het alarm" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Een lijst met dagen dat het alarm herhaald moet worden. Deze instelling is " "alleen van toepassing op \"klok\" alarms." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Notificatie type" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Geluidsbestand" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" "Het af te spelen geluidsbestand voor het \"geluid\" notificatie type." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Herhaal geluid" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Of het alarm herhaald moet worden." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Actie" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "De uit te voeren actie voor het \"command\" notificatie type." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Alarmklok instellingen" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Algemeen" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Uiterlijk" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Wijzig alarm" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Timer" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Wakker worden slaapkop!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Tijd:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Naam:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Ma" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "di" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "wo" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Don" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Vrij" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Zat" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Zon" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Herhalen" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alert" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Speel _geluid" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Herhaa_l geluid" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Start _Applicatie" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Op_dracht:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Sluimer alle hoorbare alarms" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Stop alle hoorbare alarms" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Toon _alarms" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Beheer alarms" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Voorkeuren" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Over Alarmklok" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Opstaan!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarms" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nieuw..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Wijzig..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Wis" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Activeer" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Stop" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Sluimer" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuut" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minuten" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minuten" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minuten" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Speciaal..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Sluimer alarm" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Sluimer het geselecteerde alarm" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Sluimer voor:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minuten" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Sluimeren" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Stop alarm" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Stop het geselecteerde alarm" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Wis alarm" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Wis het geselecteerde alarm" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Wijzig het geslecteerde alarm" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Nieuw alarm" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nieuw" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Activeer/deactiveer alarm" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Activeer/deactiveer" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Activeer/deactiveer het geselecteerde alarm" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Sluimer alle alarms" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Sluimer alarms" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Stop alle alarms" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Stop alarms" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Alarmvenster aan/uit" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Alarm aan/uit" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Alarmvenster zichtbaar aan/uit" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Beëindig Alarmklok" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Start automatisch bij inloggen" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Herhaal: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Geluidsbestand selecteren..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Aangepaste opdracht..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Werkdagen" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Weekenden" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Dagelijks" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Over %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Kon '%s' niet afspelen: %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Kon niet afspelen" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/ast.po0000664000175000017500000002573211762716142013675 00000000000000# Asturian translation for alarm-clock # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2011. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-01-28 01:38+0000\n" "Last-Translator: Xuacu Saturio \n" "Language-Team: Asturian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: ast\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Despertador" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Despertase pola mañana" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Amosar etiqueta de cuenta atrás" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Si se tien d'amosar una etiqueta a mandrecha del iconu col tiempu que falta " "pa la siguiente alarma." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Triba d'alarma" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Triba d'alarma. O «reló» pa una alarma a determinada hora del día, o " "«temporizador» pa una alarma en pasando un periodu de tiempu." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Marca de tiempu de l'alarma" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Marca de tiempu UNIX pa l'alarma. Tien de conseñase enantes d'activar " "l'alarma." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Hora d'alarma" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "La hora de l'alarma. Tien de ser una hora GMT p'alarmes «de reló» o bien la " "duración en segundos p'alarmes «de temporizador»." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "¡Alarma!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Mensaxe d'alarma" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Mensaxe curtiu que describe l'alarma." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Estáu de l'alarma" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indica si comenzó l'alarma." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Repetición d'alarma" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Llista de los díes que tien de repetise l'alarma. Estes preferencies " "s'apliquen namái pa les alarmes «del reló»." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Triba de notificación" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "La triba de notificación a utilizar cuando s'activa l'alarma. Pue ser una de " "les darréu: «soníu» pa reproducir un soníu (conseñáu na propiedá " "«sound_file») «comandu» pa executar un comandu (conseñáu na propiedá " "«command»)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Ficheru de soníu" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Soníu a reproducir pa la triba de notificación «soníu»." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Repetir soníu" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Si se tien de repetir el soníu d'alarma." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Comandu" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Comandu a executar pa la triba de notificación «comandu»." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Preferencies de Despertador" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Xeneral" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Aspeutu" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Editar alarma" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Temporizador" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "¡Despierta, apigazáu!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Hora:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nome:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Llu" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Mar" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Mié" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Xue" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Vie" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sáb" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Dom" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Repetir:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alerta" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Reproducir _soníu" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Repe_tir soníu" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Aniciar _aplicación" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Co_mandu:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Apostalgar toles alarmes que suenen" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Parar toles alarmes que suenen" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Ver _alarmes" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Xestiona les alarmes" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Preferencies" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Tocante a Despertador" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "¡Despierta de mañana!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmes" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nuevu..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Editar..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Desaniciar" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Activar" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Parar" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Apostalgar" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minutu" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutos" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutos" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutos" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Personalizáu..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Alarma apostalgada" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Apostalgar l'alarma seleicionada" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Apostalgar por:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutos" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "Apo_stalgar" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Parar l'alarma" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Parar l'alarma seleicionada" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Desaniciar alarma" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Desaniciar l'alarma seleicionada" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Editar l'alarma seleicionada" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Alarma nueva" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nueva" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Activar/desactivar alarma" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Activar/desactivar" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Activar/desactivar l'alarma seleicionada" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Apostalgar toles alarmes" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Alarmes apostalgaes" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Parar toles alarmes" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Parar les alarmes" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Conmutar la pantalla d'alarmes" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Conmutar les alarmes" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Conmutar la visibilidá de la pantalla d'alarmes" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Colar" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Colar de Despertador" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Aniciar automáticamente al coneutar" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s ta n'execución, colando...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Repetir: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Seleiciona un ficheru de soníu…" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Comandu personalizáu..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Una vegada" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Díes llaborables" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Fines de selmana" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Cada día" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Tocante a %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Nun se pue reproducir '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Nun se pue reproducir" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Puedes apostalgar o aparar les alarmes dende'l menú de Despertador." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Requier indicadores d'aplicación" alarm-clock-applet-0.3.3/po/it.po0000664000175000017500000002060211762716142013511 00000000000000# Italian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-10-30 20:38+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: it\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "" #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "" #: ../src/alarm.c:2050 msgid "Every day" msgstr "" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/la.po0000664000175000017500000002101111762716142013464 00000000000000# Latin translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-10-10 03:04+0000\n" "Last-Translator: nivek1385 \n" "Language-Team: Latin \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: la\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Mane excita" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Generalis" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Tempus" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nomen:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Lun" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Mar" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Mer" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Iov" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Ven" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sat" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Sol" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Optiones" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "" #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Amove classicum exquisitum" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Edi classcium exquisitum" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "dies negotii" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "" #: ../src/alarm.c:2050 msgid "Every day" msgstr "" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "" #: ../src/ui.c:457 msgid "Could not play" msgstr "" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/id.po0000644000175000017500000002411011762716142013465 00000000000000# Indonesian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2010-12-10 09:02+0000\n" "Last-Translator: Arief Setiadi Wibowo \n" "Language-Team: Indonesian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: id\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Jam Alarm" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Bangun di pagi hari" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Tipe Alarm" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Tipe alarm. Bisa \"clock\" untuk alarm pada suatu saat, atau \"timer\" untuk " "alarm setelah suatu perioda waktu yang dinyatakan." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Penanda Waktu Alarm" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Penanda waktu UNIX bagi alarm. Mesti ditata sebelum alarm diaktifkan." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Waktu Alarm" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Waktu bagi alarm. Mesti dalam GMT bagi alarm \"jam\" atau lama waktu dalam " "detik bagi alarm \"pewaktu\"." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarm!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Pesan Alarm" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Pesan singkat yang mendeskripsikan alarm." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Status Alarm Berjalan" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Terindikasi apakah alarm sudah mulai." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Ulangi Alarm" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Daftar hari ketika alarm mesti diulang. Tatanan ini hanya berlaku bagi alarm " "\"jam\"." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Jenis Pemberitahuan" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Tipe pemberitahuan yang dipakai ketika alarm terjadi. Ini bisa salah satu " "dari: \"sound\" (suara) untuk memainkan suatu suara (dinyatakan dalam " "properti \"sound_file\"), \"command\" (perintah) untuk menjalankan suatu " "perintah (dinyatakan dalam properti \"command\")." #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Berkas Suara" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Berkas suara untuk dimainkan bagi tipe pemberitahuan \"suara\"." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Ulangi Suara" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Apakah akan mengulang suara alarm." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Perintah" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Perintah yang dijalankan bagi tipe pemberitahuan \"perintah\"." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Preferensi Jam Alarm" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Umum" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Edit alarm" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Penghitung" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Bangun, tukang tidur!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "Wak_tu:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nama:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Sen" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Sel" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Rab" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Kam" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Jum" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Sab" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Min" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Peringatan" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Mainkan _suara" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "_Perintah:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Tampilkan _alarm" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Atur alrm anda" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Preferensi" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Tentang Jam Alarm" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Bangun pagi!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarm" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Baru..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Sunting..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Hapus" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Aktifkan" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Henti" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 menit" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 menit" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 menit" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 menit" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Kustom..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "menit" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Stop alarm" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Hapus alarm" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Hapus alarm yang dipilih" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Sunting alarm terpilih" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Alarm baru" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Baru" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Aktifkan/nonaktifkan alarm" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Aktifkan/nonaktifkan" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Aktifkan/nonaktifkan alarm yang dipilih" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Stop semua alarm" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Stop alarm" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Keluar" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Keluar Jam Alarm" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Pilih berkas suara..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "" #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Sekali" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Hari-hari kerja" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Akhir pekan" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Setiap hari" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Tentang %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "tidak dapat memutar '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Tidak dapat memutar" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "" alarm-clock-applet-0.3.3/po/hu.po0000644000175000017500000002623711762716142013521 00000000000000# Hungarian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-01-30 16:12+0000\n" "Last-Translator: Papp Bence \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: hu\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Ébresztőóra" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Reggeli ébresztő" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Mutassa a visszaszámláló feliratot" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Mutassa-e a hátralevő idő a következő riasztásig feliratot a jobb oldali " "ikonon ." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Riasztás típusa" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Riasztás típusa. \"Ébresztőóra\" egy bizonyos időpontban riaszt, vagy " "\"Időzítő\" egy bizonyos idő múlva riaszt." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Riasztás időbélyege" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "UNIX időbélyeg a riasztáshoz. A riasztás aktiválása előtt be kell állítani." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Figyelmeztetés időpontja" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "A riasztás ideje. \"Ébresztőóra\"-hoz az időt GMT-ben vagy \"Időzítő\"-nek a " "hosszat másodpercben kell megadni." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Ébresztő!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Figyelmeztető üzenet" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Egy rövid üzenet a riasztásról." #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Riasztás állapota" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Jelzi, hogy a riasztás aktív-e." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Figyelmeztetés ismétlése" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "A napok listája amikor a riasztások ismétlődni fognak. Ez a beállítás csak " "az \"ébresztőóra\" riasztásokhoz érhető el." #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Figyelmeztetés típusa" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Figyelmeztetés típusa, amikor a riasztás elkezdődik. Ezek a következők " "lehetnek: \"hang \" valamilyen hang lejátszásához (paraméterezve a " "\"sound_file\"-ban.), \"parancs\" valamilyen parancs futtatásához " "(paraméterezve a \"command\"-ban)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Hangfájl" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Hang fájl beállítása a \"hang\" riasztás típushoz." #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Hang ismétlése" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Ismételje-e a riasztási hangot." #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Parancs" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Parancs szerkesztése a \"parancs\" riasztás típus futtatásához." #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Ébresztőóra beállításai" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Általános" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Megjelenés" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Riasztás módosítása" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Időzítő" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Kelj fel lustaság!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Idő:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Név:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Hét" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Ked" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Sze" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Csü" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Pén" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Szo" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Vas" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Ismétlés:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Figyelmeztetés" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "_Hang lejátszása" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Hang ismé_tlése" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Alkalmazás _futtatása" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Pa_rancs:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Az összes sípoló riasztás szüneteltetése" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Az összes sípoló riasztás leállítása" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Ria_sztások listája" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Riasztások kezelése" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Beállítások" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Ébresztőóra névjegye" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Kelts fel reggel!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Riasztások" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Új…" #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Szerkesztés…" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Törlés" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Engedélyezés" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Leállítás" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Szundi" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 perc" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 perc" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 perc" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 perc" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Egyedi…" #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Riasztás szüneteltetése" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "A kíválasztott riasztás szüneteltetése" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Szüneteltetés:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "perc" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Szundi" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Riasztás leállítása" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "A kiválasztott riasztás leállítása" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "A riasztás törlése" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "A kiválasztott riasztás törlése" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "A kiválasztott riasztás módosítása" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Új riasztás" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Új" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Riasztás engedélyezése/tiltása" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Engedélyezés/Tiltás" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Kiválasztott riasztás engedélyezése/tiltása" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Összes riasztás szüneteltetése" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Riasztások szüneteltetése" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Összes riasztás leállítása" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Riasztások leállítása" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Riasztási ablak kiválasztása" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Riasztás kiválasztása" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Riasztási ablak kinézetének kiválasztása" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Kilépés" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Kilépés az Ébresztőórából" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Automatikus indítás bejelentkezéskor" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s épp fut, kilépés...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Ismétlés: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Válasszon hangfájlt…" #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Saját parancs..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Egyszer" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Hétköznap" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Hétvége" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Minden nap" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "%s névjegye" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Nem tudom lejátszani '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Nem játszható le" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "" "A riasztásokat az Ébresztőóra menüjében tudja szüneteltetni vagy leállítani." #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Alkalmazás indikátorok szükségesek" alarm-clock-applet-0.3.3/po/gl.po0000644000175000017500000002570711762716142013510 00000000000000# Galician translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-04-09 05:30+0000\n" "Last-Translator: Miguel Anxo Bouzada \n" "Language-Team: Galician \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: gl\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Reloxo de alarma" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Espertarse pola mañan" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Mostrar a etiqueta de conta atrás" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "" "Para mostrar unha etiqueta no lado dereito da icona co tempo restante ata a " "próxima alarma." #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Tipo de alarma" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Tipo de alarma. «Reloxo» para unha alarma a unha hora especifica do dia, ou " "«temporizador» para unha alarma despois dun período de tempo especificado" #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Date e hora da alarma" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Marca de tempo de UNIX para a alarma. Debe ser definido antes de que a " "alarma sexa activada." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Hora da alarma" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Hora para a alarma. Debe estar en GMT para alarmas «reloxo» ou o tempo en " "segundos para alarmas «temporizador»" #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Alarma!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Mensaxe da alarma" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Unha mensaxe curta que describa a alarma" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Estado da alarma" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Indica se a a alama comezou." #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Repetición da alarma" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Unha lista de dias nos que a alarma debe ser repetida. Estas comfiguracions " "son só aplicábeis para alarmas de «reloxo»" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Tipo de notificación." #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Tipo de notificación para usar cando a alarma se apaga. Isto pode ser un dos " "seguintes: «son» para reproducir un son (especificado na propiedade " "«Ficheiro_de_son») «orde» para executar unha orde (especificado na " "propiedade «orde»)" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Ficheiro de son" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Ficheiro de son para reproducir no tipo de notificación «son»" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Repetir son" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Se se repite o son da alarma" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Orde" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Otde para executar polo tipo de notificación «orde»" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Preferencias do despertador" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Xeral" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Aparencia" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Modificar a alarma" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Temporizador" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Esperta! hora de erguerse!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Hora:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Nome:" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "lun" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "mar" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "mér" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "xov" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "ven" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "sáb" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "dom" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Repetir:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Alerta" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Reproducir un _son" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "_Repetir son" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Iniciar _aplicativo" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "_Orde:" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Pospor todas as alarmas que están a soar" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Deter todas as alarmas sonoras" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Mostrar _alarmas" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Xestione as súas alarmas" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "_Preferencias" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Sobre Alarm Clock" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Espertar pola mañán!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Alarmas" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Nova..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Editar..." #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Eliminar" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Activar" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Deter" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Pospor" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 minuto" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 minutos" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 minutos" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 minutos" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Personalizar..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Pospor a alarma" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Pospor as alarmas seleccionadas" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Pospor durante:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "minutos" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "_Pospor" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Deter a alarma" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Deter a alarma seleccionada" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Eliminar a alarma" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Eliminar a alarma seleccionada" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Editar a alarma seleccionada" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Nova alarma" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Nova" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Activar/desactivar alarma" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Activar/desactivar" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Activar/desactivar a alarma escollida" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Pospor todas as alarmas" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Pospor as alarmas" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Deter todas as alarmas" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Deter as alarmas" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Intercambiar as xanelas das alarmas" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Intercambiar alarmas" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Intercambiar a visibilidade das xanelas das alarmas" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Sair" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Saír do despertador" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Iniciar automáticamente coa sesión" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s xa se está a executar, saíndo...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Repetir: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Seleccionar ficheiro de son..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Orde personalizada..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Unha vez" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "Días da semana" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "Fins de semana" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Todos os días" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Sobre %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Non se pode reproducir «%s»: %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Non se pode reproducir" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Pode pospor ou deter as alarmas desde o menú do despertador" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Require do aplicativo de indicadores" alarm-clock-applet-0.3.3/po/POTFILES.skip0000644000175000017500000000024411336057335014647 00000000000000data/mockups.ui src/alarms-list.c src/tests/test_alarm.c src/ui/alarm-clock.glade src/ui/edit-alarm.ui src/ui/list-alarms.ui src/ui/preferences.ui src/ui/status.ui alarm-clock-applet-0.3.3/po/uk.po0000664000175000017500000003070311762716142013517 00000000000000# Ukrainian translation for alarm-clock # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the alarm-clock package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: alarm-clock\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-06-03 16:58+0000\n" "PO-Revision-Date: 2011-01-23 20:32+0000\n" "Last-Translator: Сергій Матрунчик \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2012-06-03 17:12+0000\n" "X-Generator: Launchpad (build 15342)\n" "Language: uk\n" #: ../data/alarm-clock-applet.desktop.in.h:1 ../data/alarm-clock.ui.h:5 #: ../src/ui.c:300 msgid "Alarm Clock" msgstr "Будильник" #: ../data/alarm-clock-applet.desktop.in.h:2 msgid "Wake up in the morning" msgstr "Прокидайтесь вчасно" #: ../data/alarm-clock.schemas.in.h:1 ../data/alarm-clock.ui.h:67 msgid "Show countdown label" msgstr "Показати лічильник зворотнього відліку" #: ../data/alarm-clock.schemas.in.h:2 msgid "" "Whether to show a label on the right side of the icon with the time " "remaining to the next alarm." msgstr "Чи показувати напис зліва від піктограми з часом наступної події" #: ../data/alarm-clock.schemas.in.h:3 msgid "Alarm Type" msgstr "Тип сигналу" #: ../data/alarm-clock.schemas.in.h:4 msgid "" "The type of the alarm. Either \"clock\" for an alarm at a specific time of " "day, or \"timer\" for an alarm after a specified period of time." msgstr "" "Тип будильника. Саме будильник - налагоджується на конкретний час доби, чи " "таймер - активується через певний час." #: ../data/alarm-clock.schemas.in.h:5 msgid "Alarm Timestamp" msgstr "Часова мітка сигналу" #: ../data/alarm-clock.schemas.in.h:6 msgid "" "The UNIX timestamp for the alarm. Must be set before the alarm is activated." msgstr "" "Часова мітка UNIX для будильника. Має бути встановлена, щоб активувати " "будильник." #: ../data/alarm-clock.schemas.in.h:7 msgid "Alarm Time" msgstr "Час сигналу" #: ../data/alarm-clock.schemas.in.h:8 msgid "" "The time for the alarm. Should be in GMT for \"clock\" alarms or length in " "seconds for \"timer\" alarms." msgstr "" "Час запуску будильника. Встановіть час доби для будильника або кількість " "хвилин для таймера." #: ../data/alarm-clock.schemas.in.h:9 msgid "Alarm!" msgstr "Увага!" #: ../data/alarm-clock.schemas.in.h:10 msgid "Alarm Message" msgstr "Повідомлення будильника" #: ../data/alarm-clock.schemas.in.h:11 msgid "A short message which describes the alarm." msgstr "Короткий опис будильника" #: ../data/alarm-clock.schemas.in.h:12 msgid "Alarm Running State" msgstr "Запускання будильника" #: ../data/alarm-clock.schemas.in.h:13 msgid "Indicates whether the alarm has started." msgstr "Будильник увімкнено" #: ../data/alarm-clock.schemas.in.h:14 msgid "Alarm Repeat" msgstr "Повторювання" #: ../data/alarm-clock.schemas.in.h:15 msgid "" "A list of days when the alarm should be repeated. This settings is only " "applicable for \"clock\" alarms." msgstr "" "Повторювання будильника у певні дні. Має сенс тільки для будильників (не " "таймерів)" #: ../data/alarm-clock.schemas.in.h:16 msgid "Notification Type" msgstr "Тип сповіщення" #: ../data/alarm-clock.schemas.in.h:17 msgid "" "The type of notification to use when the alarm goes off. This can be one of " "the following: \"sound\" to play a sound (specified in the \"sound_file\" " "property.) \"command\" to run a command (specified in the \"command\" " "property.)" msgstr "" "Яким чином активувати будильник? Оберіть один з варіантів: відтворити звук " "(вказаний у параметрі \"sound_file\" звуковий файл) або виконати команду " "(вказану у параметрі \"command\")" #: ../data/alarm-clock.schemas.in.h:18 msgid "Sound File" msgstr "Звуковий файл" #: ../data/alarm-clock.schemas.in.h:19 msgid "The sound file to play for the \"sound\" notification type." msgstr "Звуковий файл для відтворення у режимі «звук»" #: ../data/alarm-clock.schemas.in.h:20 msgid "Repeat Sound" msgstr "Повторювати сигнал" #: ../data/alarm-clock.schemas.in.h:21 msgid "Whether to repeat the alarm sound." msgstr "Повторювати звук будильника" #: ../data/alarm-clock.schemas.in.h:22 msgid "Command" msgstr "Команда" #: ../data/alarm-clock.schemas.in.h:23 msgid "The command to run for the \"command\" notification type." msgstr "Виконати команду (якщо налагоджено)" #: ../data/alarm-clock.ui.h:1 msgid "Alarm Clock Preferences" msgstr "Налагодження будильника" #: ../data/alarm-clock.ui.h:2 msgid "General" msgstr "Загальні" #: ../data/alarm-clock.ui.h:3 msgid "Appearance" msgstr "Зовнішній вигляд" #: ../data/alarm-clock.ui.h:4 msgid "Edit alarm" msgstr "Редагувати будильник" #: ../data/alarm-clock.ui.h:6 msgid "Timer" msgstr "Таймер" #: ../data/alarm-clock.ui.h:7 msgid "Wake up sleepy head!" msgstr "Прокидайся, спун!" #: ../data/alarm-clock.ui.h:8 msgid "_Time:" msgstr "_Час:" #: ../data/alarm-clock.ui.h:9 msgid "_Name:" msgstr "_Назва" #: ../data/alarm-clock.ui.h:10 msgid "Mon" msgstr "Пн" #: ../data/alarm-clock.ui.h:11 msgid "Tue" msgstr "Вт" #: ../data/alarm-clock.ui.h:12 msgid "Wed" msgstr "Ср" #: ../data/alarm-clock.ui.h:13 msgid "Thu" msgstr "Чт" #: ../data/alarm-clock.ui.h:14 msgid "Fri" msgstr "Пт" #: ../data/alarm-clock.ui.h:15 msgid "Sat" msgstr "Сб" #: ../data/alarm-clock.ui.h:16 msgid "Sun" msgstr "Нд" #: ../data/alarm-clock.ui.h:17 msgid "_Repeat:" msgstr "_Повторити:" #: ../data/alarm-clock.ui.h:18 msgid "Alert" msgstr "Сигнал" #: ../data/alarm-clock.ui.h:19 msgid "Play _sound" msgstr "Відтворити _звук" #: ../data/alarm-clock.ui.h:20 msgid "Repea_t sound" msgstr "Повторювати звук" #: ../data/alarm-clock.ui.h:21 msgid "Start _Application" msgstr "Запустити _програму" #: ../data/alarm-clock.ui.h:22 msgid "Co_mmand:" msgstr "Ко_манда" #: ../data/alarm-clock.ui.h:23 msgid "Snooze all beeping alarms" msgstr "Відкласти усі звукові будильники" #: ../data/alarm-clock.ui.h:24 msgid "Stop all beeping alarms" msgstr "Вимкнути усі звукові будильники" #: ../data/alarm-clock.ui.h:25 msgid "Show _alarms" msgstr "Показати будильники" #: ../data/alarm-clock.ui.h:26 msgid "Manage your alarms" msgstr "Керування будильниками" #: ../data/alarm-clock.ui.h:27 msgid "_Preferences" msgstr "На_лаштування" #: ../data/alarm-clock.ui.h:28 msgid "About Alarm Clock" msgstr "Про програму" #: ../data/alarm-clock.ui.h:29 msgid "Get up in the morning!" msgstr "Прокидайтесь вчасно!" #: ../data/alarm-clock.ui.h:30 msgid "Alarms" msgstr "Будильники" #: ../data/alarm-clock.ui.h:31 msgid "New..." msgstr "Новий..." #: ../data/alarm-clock.ui.h:32 msgid "Edit..." msgstr "Редагувати" #: ../data/alarm-clock.ui.h:33 msgid "Delete" msgstr "Видалити" #: ../data/alarm-clock.ui.h:34 msgid "Enable" msgstr "Увімкнути" #: ../data/alarm-clock.ui.h:35 msgid "Stop" msgstr "Зупинити" #: ../data/alarm-clock.ui.h:36 msgid "Snooze" msgstr "Відкласти" #: ../data/alarm-clock.ui.h:37 msgid "1 minute" msgstr "1 хвилина" #: ../data/alarm-clock.ui.h:38 msgid "3 minutes" msgstr "3 хвилини" #: ../data/alarm-clock.ui.h:39 msgid "5 minutes" msgstr "5 хвилин" #: ../data/alarm-clock.ui.h:40 msgid "10 minutes" msgstr "10 хвилин" #: ../data/alarm-clock.ui.h:41 msgid "Custom..." msgstr "Інше..." #: ../data/alarm-clock.ui.h:42 msgid "Snooze alarm" msgstr "Відкласти будильник" #: ../data/alarm-clock.ui.h:43 msgid "Snooze the selected alarm" msgstr "Відкласти обраний будильник" #: ../data/alarm-clock.ui.h:44 msgid "Snooze for:" msgstr "Відкласти на:" #: ../data/alarm-clock.ui.h:45 msgid "minutes" msgstr "хвилин(и)" #: ../data/alarm-clock.ui.h:46 msgid "_Snooze" msgstr "Ві_дкласти" #: ../data/alarm-clock.ui.h:47 msgid "Stop alarm" msgstr "Вимкнути будильник" #: ../data/alarm-clock.ui.h:48 msgid "Stop the selected alarm" msgstr "Вимкнути обраний будильник" #: ../data/alarm-clock.ui.h:49 msgid "Delete alarm" msgstr "Видалити будильник" #: ../data/alarm-clock.ui.h:50 msgid "Delete the selected alarm" msgstr "Видалити обраний будильник" #: ../data/alarm-clock.ui.h:51 msgid "Edit the selected alarm" msgstr "Редагувати обраний будильник" #: ../data/alarm-clock.ui.h:52 msgid "New alarm" msgstr "Новий будильник" #: ../data/alarm-clock.ui.h:53 msgid "New" msgstr "Новий" #: ../data/alarm-clock.ui.h:54 msgid "Enable/disable alarm" msgstr "Увімкнути/вимкнути будильник" #: ../data/alarm-clock.ui.h:55 msgid "Enable/disable" msgstr "Увімкнути/вимкнути" #: ../data/alarm-clock.ui.h:56 msgid "Enable/disable the selected alarm" msgstr "Увімкнути/вимкнути обраний будильник" #: ../data/alarm-clock.ui.h:57 msgid "Snooze all alarms" msgstr "Відкласти усі будильники" #: ../data/alarm-clock.ui.h:58 msgid "Snooze alarms" msgstr "Відкласти будильники" #: ../data/alarm-clock.ui.h:59 msgid "Stop all alarms" msgstr "Вимкнути усі будильники" #: ../data/alarm-clock.ui.h:60 msgid "Stop alarms" msgstr "Вимкнути будильники" #: ../data/alarm-clock.ui.h:61 msgid "Toggle alarms window" msgstr "Перемкнути вікно будильників" #: ../data/alarm-clock.ui.h:62 msgid "Toggle alarms" msgstr "Перемкнути будильники" #: ../data/alarm-clock.ui.h:63 msgid "Toggle the visibility of the alarms window" msgstr "Перемкнути видимість вікна будильників" #: ../data/alarm-clock.ui.h:64 msgid "_Quit" msgstr "_Вийти" #: ../data/alarm-clock.ui.h:65 msgid "Quit Alarm Clock" msgstr "Вийти" #: ../data/alarm-clock.ui.h:66 msgid "Start automatically at login" msgstr "Запускати після входу в систему" #: ../src/alarm-applet.c:592 #, c-format msgid "%s is already running, exiting...\n" msgstr "%s уже працює, виходимо...\n" #: ../src/alarm-settings.c:79 #, c-format msgid "_Repeat: %s" msgstr "_Повторювати: %s" #: ../src/alarm-settings.c:245 ../src/alarm-settings.c:425 msgid "Select sound file..." msgstr "Обрати звуковий файл..." #: ../src/alarm-settings.c:295 msgid "Custom command..." msgstr "Інша команда..." #: ../src/alarm.c:1685 msgid "Could not create player! Please check your sound settings." msgstr "" #: ../src/alarm.c:2041 msgid "Once" msgstr "Один раз" #: ../src/alarm.c:2044 msgid "Weekdays" msgstr "У будні" #: ../src/alarm.c:2047 msgid "Weekends" msgstr "У вихідні" #: ../src/alarm.c:2050 msgid "Every day" msgstr "Щодня" #. About Alarm Clock #: ../src/ui.c:428 #, c-format msgid "About %s" msgstr "Про програму %s" #: ../src/ui.c:456 #, c-format msgid "Could not play '%s': %s" msgstr "Неможливо відтворити '%s': %s" #: ../src/ui.c:457 msgid "Could not play" msgstr "Неможливо відтворити" #: ../src/ui.c:514 #, c-format msgid "You can snooze or stop alarms from the Alarm Clock menu." msgstr "Відкласти або вимкнути будильники можна у меню будильника" #: ../src/prefs.c:419 msgid "Requires application indicators" msgstr "Потребує індикаторів додатків" alarm-clock-applet-0.3.3/README0000644000175000017500000000114311730466474013001 00000000000000Alarm Clock ================= This package contains a program for use with the GNOME panel or equivalent. Requirements ------------ You need at least: glib-2.16.0 gtk-2.12.0 gconf-2.0 gio-2.0 gnome-icon-theme gstreamer-0.10.2 libnotify-0.4.1 libxml-2.0 unique-1.0 Optional dependencies: appindicator >= 0.0.7 Application indicator support is automatically detected during configure. Installation ------------ Unpackage with: tar zxvf alarm-clock-applet-.tar.gz cd alarm-clock-applet- Compile with the usual: ./configure make make install alarm-clock-applet-0.3.3/data/0002775000175000017500000000000011762723364013116 500000000000000alarm-clock-applet-0.3.3/data/alarm-clock.schemas.in0000644000175000017500000001061111730466474017171 00000000000000 /schemas/apps/alarm-clock/show_label /apps/alarm-clock/show_label alarm-clock bool false Show countdown label Whether to show a label on the right side of the icon with the time remaining to the next alarm. /schemas/apps/alarm-clock/alarm/type alarm-clock string clock Alarm Type The type of the alarm. Either "clock" for an alarm at a specific time of day, or "timer" for an alarm after a specified period of time. /schemas/apps/alarm-clock/alarm/timestamp alarm-clock int 0 Alarm Timestamp The UNIX timestamp for the alarm. Must be set before the alarm is activated. /schemas/apps/alarm-clock/alarm/time alarm-clock int 0 Alarm Time The time for the alarm. Should be in GMT for "clock" alarms or length in seconds for "timer" alarms. /schemas/apps/alarm-clock/alarm/message alarm-clock string Alarm! Alarm Message A short message which describes the alarm. /schemas/apps/alarm-clock/alarm/active alarm-clock bool false Alarm Running State Indicates whether the alarm has started. /schemas/apps/alarm-clock/alarm/repeat alarm-clock list string [] Alarm Repeat A list of days when the alarm should be repeated. This settings is only applicable for "clock" alarms. /schemas/apps/alarm-clock/alarm/notify_type alarm-clock string sound Notification Type The type of notification to use when the alarm goes off. This can be one of the following: "sound" to play a sound (specified in the "sound_file" property.) "command" to run a command (specified in the "command" property.) /schemas/apps/alarm-clock/alarm/sound_file alarm-clock string Sound File The sound file to play for the "sound" notification type. /schemas/apps/alarm-clock/alarm/sound_repeat alarm-clock bool true Repeat Sound Whether to repeat the alarm sound. /schemas/apps/alarm-clock/alarm/command alarm-clock string rhythmbox-client --play Command The command to run for the "command" notification type. alarm-clock-applet-0.3.3/data/alarm-clock-applet.desktop.in0000644000175000017500000000031411336057335020473 00000000000000[Desktop Entry] _Name=Alarm Clock _Comment=Wake up in the morning Icon=alarm-clock Exec=alarm-clock-applet Terminal=false Type=Application Categories=GNOME;GTK;Utility; X-Ubuntu-Gettext-Domain=alarm-clockalarm-clock-applet-0.3.3/data/Makefile.in0000664000175000017500000006155711762720131015104 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Alarm Clock VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/Makefile.decl subdir = data ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(schemasdir)" \ "$(DESTDIR)$(uidir)" DATA = $(desktop_DATA) $(schemas_DATA) $(ui_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ ALARM_CLOCK_MAJOR_VERSION = @ALARM_CLOCK_MAJOR_VERSION@ ALARM_CLOCK_MICRO_VERSION = @ALARM_CLOCK_MICRO_VERSION@ ALARM_CLOCK_MINOR_VERSION = @ALARM_CLOCK_MINOR_VERSION@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APP_INDICATOR_CFLAGS = @APP_INDICATOR_CFLAGS@ APP_INDICATOR_LIBS = @APP_INDICATOR_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BASE_CFLAGS = @BASE_CFLAGS@ BASE_LIBS = @BASE_LIBS@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ GSTREAMER_LIBS = @GSTREAMER_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBNOTIFY_0_7_CFLAGS = @LIBNOTIFY_0_7_CFLAGS@ LIBNOTIFY_0_7_LIBS = @LIBNOTIFY_0_7_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ GTESTER = gtester # for non-GLIB packages GTESTER_REPORT = gtester-report # for non-GLIB package # initialize variables for unconditional += appending EXTRA_DIST = $(ui_DATA) $(desktop_in_files) $(schemas_in_files) TEST_PROGS = SUBDIRS = icons uidir = $(pkgdatadir) ui_DATA = alarm-clock.ui desktopdir = $(datadir)/applications desktop_in_files = alarm-clock-applet.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) schemasdir = $(GCONF_SCHEMA_FILE_DIR) schemas_in_files = alarm-clock.schemas.in schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) CLEANFILES = $(desktop_DATA) $(schemas_DATA) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) install-schemasDATA: $(schemas_DATA) @$(NORMAL_INSTALL) test -z "$(schemasdir)" || $(MKDIR_P) "$(DESTDIR)$(schemasdir)" @list='$(schemas_DATA)'; test -n "$(schemasdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(schemasdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(schemasdir)" || exit $$?; \ done uninstall-schemasDATA: @$(NORMAL_UNINSTALL) @list='$(schemas_DATA)'; test -n "$(schemasdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(schemasdir)'; $(am__uninstall_files_from_dir) install-uiDATA: $(ui_DATA) @$(NORMAL_INSTALL) test -z "$(uidir)" || $(MKDIR_P) "$(DESTDIR)$(uidir)" @list='$(ui_DATA)'; test -n "$(uidir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(uidir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(uidir)" || exit $$?; \ done uninstall-uiDATA: @$(NORMAL_UNINSTALL) @list='$(ui_DATA)'; test -n "$(uidir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(uidir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-local check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(schemasdir)" "$(DESTDIR)$(uidir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." @GCONF_SCHEMAS_INSTALL_FALSE@uninstall-local: @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local: clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-desktopDATA \ install-schemasDATA install-uiDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-desktopDATA uninstall-local \ uninstall-schemasDATA uninstall-uiDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ ctags-recursive install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am check-local clean clean-generic \ ctags ctags-recursive distclean distclean-generic \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-desktopDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-schemasDATA install-strip install-uiDATA installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-desktopDATA uninstall-local uninstall-schemasDATA \ uninstall-uiDATA ### testing rules # test: run all tests in cwd and subdirs test: ${TEST_PROGS} @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} @ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done # test-report: run tests in subdirs and generate report # perf-report: run tests in subdirs with -m perf and generate report # full-report: like test-report: with -m perf and -m slow test-report perf-report full-report: ${TEST_PROGS} @test -z "${TEST_PROGS}" || { \ case $@ in \ test-report) test_options="-k";; \ perf-report) test_options="-k -m=perf";; \ full-report) test_options="-k -m=perf -m=slow";; \ esac ; \ if test -z "$$GTESTER_LOGDIR" ; then \ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ elif test -n "${TEST_PROGS}" ; then \ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ fi ; \ } @ ignore_logdir=true ; \ if test -z "$$GTESTER_LOGDIR" ; then \ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ ignore_logdir=false ; \ fi ; \ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done ; \ $$ignore_logdir || { \ echo '' > $@.xml ; \ echo '' >> $@.xml ; \ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ done ; \ echo >> $@.xml ; \ echo '' >> $@.xml ; \ rm -rf "$$GTESTER_LOGDIR"/ ; \ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ } .PHONY: test test-report perf-report full-report # run make test as part of make check check-local: test @INTLTOOL_DESKTOP_RULE@ @INTLTOOL_SCHEMAS_RULE@ @GCONF_SCHEMAS_INSTALL_TRUE@install-data-local: @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ @GCONF_SCHEMAS_INSTALL_TRUE@ $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) @GCONF_SCHEMAS_INSTALL_TRUE@uninstall-local: @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ @GCONF_SCHEMAS_INSTALL_TRUE@ $(GCONFTOOL) --makefile-uninstall-rule $(schemas_DATA) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: alarm-clock-applet-0.3.3/data/icons/0002775000175000017500000000000011762723364014231 500000000000000alarm-clock-applet-0.3.3/data/icons/alarm-clock.64.png0000644000175000017500000001146011172644571017267 00000000000000PNG  IHDR@@iqsBIT|d pHYs(D(D |tEXtSoftwarewww.inkscape.org<IDATxś{tTս?=o}FH)   bbσ!y2# ". ek`H=BA@L8ہ?C6Q$t<uM FOw&!^ , (\.o #'Dȱ|~Z(;ƉwiVCbJX+=TFM̜ٹpS}!y ҁ\fɄ9wڕ1Zo7v>$!F.7=N`SJJ3)JF.U_P[yM6X V?v~jF_;}h0:\?=M a;)=F!B DTT .\@D" 2%cx:}}7:|< O{b12 ? 1pX.459)bzq ) u憯(jiYaށw8g%̷:zD ~ }qSp9#^ה#@Q`7ۏ 6;Y.o =UwBq[cgxj^ d{`eD$$ @ jse)I"R_>~s6Gړ`ϗ?!9[}3W3F5^*%!_-&>/GQv wZ2("T</ [mOt')!UeSF fx g ֦Yw7o@!(TW9W)'~ 04 _ _ "'^aSk9kM>M1Mk8h5{|=] 7hAE~c=n  %?m\5:]JbjM+Fk+JY A 07)?b_Ʀ6]o`@)+o-bs|a0$W3>ד+U:w0i  c}ȱpsP0'N?(JY,Sy:@Y0$ۑk'ߍEuѬ,JNv7iUhz(2YZi'37( BKKÝwPC@KKC\ϴpcoŮ_|vjlڼ-]\uSfefz][5h &&/X˨:Ǧ0"`|p\ Il;~>2brߏ{&й-4WU\]M.\X?7Ĺ2C/qaqO:fߛط}-6)߁;]x=s!~[b0erkV}>k\)-h0(~s=?t`)ʷHr'd7˦U%Z`$)edQ[u~ :+zʐQ*,cԔ[?7off,6'~]m@46׋*L}̉8B:p05zc/c+c @MYKKJWOjZ騚E2j,%kdf"1%Iעx b{W5-U{cQ%6`s"~y sIkcm|x#O+6Z4McԴٌ|3P!}TjR}>>}73jll=]#O;ut_ȺlW"zU]̓go>Z٣1\?)BT|kRWǮݻM(NZ~>ǃ/epAwG[m |xs=!~UzÚb-m555H)yi {#%@ ~&^۳cfƙ fwn'0wrlfaEӅ鸼~E 0 6h8}:2Zc/Ξek|0KP|>M뷻nq/S}vHH@6%KT흭:3|4<^? Bqy{ooP*$JػiD*KV  Ӱٛ,QfU GUC魚kdϋ6i1rMH5/0"dez~3<ЏD"- eIKKEyA@fl4]Oj(5ے"@=KOoV6+=2YRVBr$]EEJO!蛕ǟ4ݳ$If*jdavzjjvۦJEEE;m۷m޼{m!s6`_* p8s Is ľ/&%˗޳K-fև[%SMH[Wl1<"ptƒ0 JUk7dH69Cѣђ)zupdra #ݗ/WOx=:vMC|rF@dH7w H)z<>3p&ӑV,;z]CWGwؐRn< @޶Gl6,+ˆ=CfKG >CÌ7#ݏ{L!(-c82,P ..UlonŸɰ\,`dP]v*Bkbvqw[BR_Nc4>ۍ4 4ȯ 2'Bї/eQ f͜47.nq_BWWhm]\i{5`4$eZ2ey]]97]Twz)n76@axLw7-ծwD#aC`%U=/2Ӑ)C!.z*gQ1y'/N8|M~Gy}\<[p\ sn%؏p=bvyi&-6 6%GZpNU^8ͷ>`H:/ {8w ת,, 9d^Q\: w I~~>ڶF0^xEjkk}w _Fqt{F7w:˷Ϝ;] 4ESAZ8vX)%֬!NhklfQ5 ˅TD( A߉u;9}36D#acm(MCh6%KPPTp8P aRbCcw\ $dR4?+WRQQ1sL*@"AX+[<v7@""@GSM1RΈTERWVFokD#Eok+=ml}eRʸ,n ';t:}%|d.nrEox!N} 3nׄx/ 0FϤRioMh.H\g]PYu3gsBwuazyIH$hj`++:߬`4Qx2 8 0&L’rN  T2`AiS(ǐҒڎvXw Iˇ߅_VT~5YIZ/%6QAt\!A$%I*7o0P:gdk9`K@Dn3`W"nj 5ȋ-_c!൧OҠȏ܇ggP>knѾicWHzUNESjvUrXg`s_3g]e{n|:ӱl>IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-clock.36.png0000644000175000017500000000472611172644571017275 00000000000000PNG  IHDR$$sBIT|d pHYs؉tEXtSoftwarewww.inkscape.org< SIDATXp?m.wDB\bQI/Rm,XF-:m؊DBS-#h#VN FU) ?!. $\BKIl<~?ϻBJInf~ _v Dl^˲>J/そS`ʝ@B5ɦ7'j2x"`i<,)Ys- Cso AP/KlM-88DUkU=>lX&gb}O~/oZ T/JeoSQ-D\tfe~}H4+# @͙$L0# @yU'ZS3IM$vDžEUK1 1 5j4ħ`8R(lG!X!$M>>\Oj6} #+ r.)H}.șhi4y (S  c|E+zX|@-><)MU"2Uc/,bYoH!'5Kfbun7ۍvmo'N3>bo_E)5E3':"hꬅ8m3}5 xj 8?_6 !Ċkd"&ge,( eWº鬫|hA >{IRJȩWNnVĢ$Pp,Or5sO*23o3-- WQ6c@55DΞeŲſm"痭J"Z:WV\XRbic8eBSqAM0~|t 08JB.Z`/o͝ks)nòqȑ<1*h8 \pfܭwPS^k\[⛶:Mvt$+437H18y$-MH˼MppdFw:KN-!V;B$]sedA4Lea:Ο߷liYH2MXC<{']D4 `ޚ%MKIjҳs;`Y=~50axLkbb`Y|o'OÆy&vT́:?~t#%[x2GT~۲,-|ɓq:Sw)CXV ӕpb7 }<';k8r!3g^?va8qedNƲR/4K^d,PHo4>#yE-)deah'G;Dٓ i&%'5')%4`R"-G/X@8`vi)vB"@(- 'O젯,acDGv;Bbz)++CY7aJj*Ӊb8UEH0HKñ>F(ZJ%PK^pE6{lƎKAA -!K}~'@Q`B1$ j`G9b]TCXW55QGv&4TJ˴нs:M쩵IIAMܼ۴@:'6Tnm*R.Mm*Uɕu=#B%^SG*f}; Lg @GM FmT!DX+.)lg̔Rlǃz5u4$  1C!duznqyr A aٗ_z{G1,OM1M&p h0r{ІW̕7n}? Ĺ+$<ӺhR6)Xsv-”0%m-$m1Ɂ.tK1A#T/nF= *hNLF q"B7`%}fY7x haɭ6PRu1-3ƞ6@ u$>9I$0?8m(vܐrHaK$fkDcҒ&e!iٟ|MIdۖh^|+~ϏN kSg(+ IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-timer.svg0000644000175000017500000002141211002751125017057 00000000000000 image/svg+xml image/svg+xml alarm-clock-applet-0.3.3/data/icons/alarm-timer.48.png0000644000175000017500000000566711002751125017314 00000000000000PNG  IHDR00WsBIT|d pHYs^tEXtSoftwarewww.inkscape.org< 4IDATh՚{l\W?><3؞8q; i@ `7+؅ejh UjRPRA)ǒfp=<=3\؞iV{=;9!YoTwPWfZ?v1B0}HQZ Y y+jg'\ABj<4M_ј4KΜBV]7o2KM퉿~twR$|YR̖2'6Ղj0 "`*YuCmnnl̙Kjy}lj>m)e)Qֺj**[ ;1Ͱ{V!Ly~ۋh"zz,*+.81dCO@8 l4SUULH$p2ATYYN±*ʮ;ܒnHjJm4Ui*^4=/p`j>V_A&_?z{4s&s( ;ͧ1USi?BIOW,cko;~9,ra\G~'O 9 q`GH:/}|f!|TUviQTh)wX-U8 ojg^e:wQW.L^\9DY}חF#6 gH={|A!]SDS6KPPP8T?ZKqݕI0}uvyfݶFJE"=<@kwD)./ Wo?(rQw4Xgp)wyhKc, y^xIAjܹ`HG;CG4Mq+ic_\#xϿ6ȰwT[{O9|c@AZWi|##_iٜ+SsW>*uKi΢d%O厶rr]{06Vʒ| ,k)իSuu.fIsW>]tRDQV{˰ZԬW]}#=\Pr!ZZjX*+09tonH[ ͚QdbU\[lHy1x/m)ܾ6i1_8Y^܌u-+6&pmtnMSq*)6P4Ɠ_Mjּ[YiĖBNEH\x6~4jri8Q%\tru&AӖlWS5JE蚆aȴ%{MtMj"M؊D^Ws4[dۊlVtMEӴc OpuyNw{MzګLsy#wK=mjygpM_gcX3A|8yح: %ey ;J{9/wsmI; Fh1BhC\C *pO%̇#|ݪo4abs p{ r\Xcq8HP,X/g" $`G8pXh`4)Y.rDcק֚(N#w5(!w|K8MŶ1v *Ԯd PU=fMIt&/+|$^ŶFWBz¡`%ɼ X#w`o-|C`\5oB [ 0_pg"߼6V.yMZIŞaLOϚJ i љPL{cH׆9l<:qG5o}]AoH75K<Ob[qKɫ@o?@yEimśx'4:%_<ߋ{@Pmk3ȄysgFYn&^wϙ/.Ƹqc´V2B}z'|LM.8ϼ:~  ,3kՁ .cJNxjO)H]}M$<ت!ѥC]'-X4n[({oֆdo/NKܻ2cl8Ë|<* ϼ2яalr)O[tp{? %<&6O)F<IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-timer.36.png0000644000175000017500000000432111002751125017273 00000000000000PNG  IHDR$$sBIT|d pHYspMBtEXtSoftwarewww.inkscape.org<NIDATX͘Yp[suZlY^$/KR30>@/Pv2tJ'v`h)N6&6fJ(-۱-۲e9e=}x@_Ϝ:,w?=GBJ_u`]/8v)J{PBi>|:Uc'N(.K}/fR[c!!D*ouoMOOgo67_?sŒ%T*՞J*جfL3RI$ “W _A$& |gձW:}}u<=vDk[55J5]gxp e4M`]wط6VНv_vٯOKYVڀ.KM5?7w|es^@>ߠǽ~pjIu44PYUnة3z%Ωiv7[ LDIgssK C# @={Cnlk[;rɭF_X]{:Z(দ v7HTFFVq__`ZJ%.::/q}mm>YDYI=\s"D-u8J,a[62j)A"P{"}k5ww`5Pƻ EڣkִB{́Jw9<XMܳـ;\lp-u) LF9e>85L4;n@5Z@ss=bq́O Z\7ˀz&^~ ,[6c0(`j&RVhвUv\ D0[ ?3W`&??؞Jkkk=جܰ΁܊FJ y=ǿYA{}%n$*L˘Ķw7n>{0|٤*b6yK)dH?N'nuȪ*DRtSٛKJ V#v=opC}|2S7'wCy]6T,p NOeo^Q5x6+|+ly&['”-qwXjb6 ?hфaQ  h8h7Lx6& P *`5L^Rlt4IJ -F6N (ȅt[M{S=PE!֘Oe%s?2E,r-}k5,D5nf6$Qf7ȁf,\,^͝|O D"2tO@ F"| ?%ћ0 ڬf_Umx|Me ^Z$oG"QN$UՓc=z=ӨnV<%y DsxxQgA #HN(NO{x` jJ{M|{-\c!݈<2{& b~>gڏUqg' O^xAg~ )y6Ӿ1x3\b$Q>4 @:ܙK9UgW{bWHǶf67l]j6R- ??5X~9;0ûu'??:ԽBR$]2\îЪ|OYw> V"c#!tlV<ުŶR lp2qܗs*j+m\=YrVA3pASa ^ڷ5c2uPڃ/zvX vZ,&ڷ]WS^i\}Mӑ3j88Tpqu޿9ujy!& w ͂yO'4 %=~PB@4yҞrU>*PQn/ #oN:*o5 ln\xL(y[ۄc5Բ2.EBрBւ+TP|$W m LHkQZp[!pkZ^,+BsӔIENDB`alarm-clock-applet-0.3.3/data/icons/alarm-timer.32.png0000644000175000017500000000374511002751125017300 00000000000000PNG  IHDR szzsBIT|d pHYsttfxtEXtSoftwarewww.inkscape.org<bIDATXŗ[lTs5]66-Ȑ@RJH i*j}xJZ!M^J(DIKCE\ "A` m|]_ٛٵvamc{}y'7?|3i;oB S b RHWHq~ua≕2ե'Ϳ8zj,TJ*fƬV a=(0Oyeee/E… UhF-oZ~A.l;N# @4# w/DS[7g7C;vC@44t~ƂÖL8]e5cCvpk?|D]1 lQ7oz[HBKQU*(ͳbTZBTؙObLNjtt26i5p'^-Ru47[=^`J<"4U!ä&uETۑR=F9:Ax*1۟細j5[pڳx\s5GyNjK82M,vP CrZ݆/46O1+^n#+web23~`y\i4gFST&򭸬f;ղ̘bN; CH,u5b-&36|g&L=\22f(8! GcI:B\o)2 R09E3i1|Bj=Yl*9U#gTz*A ф>;J#J5`0acvz@lp쳖E \ RRQ+X@ 453gx?''L?ld{MQZun|&g4B$}@tk~z`  t NPSФ)|:DQE<ǫ JsjՆa0 #l4H> D&Z398b;fm+#ul.\tB1I0 $9w,aM7POz2Kv8<$z#/;>Tē^gЗn35KJKׯHMm暑B[n9z@$> 'h  ~s8͓whHo!뽧6.[Tmɗff>Ze#]5b;q~1Ř4 эTޞAnvL&ofoY% <{H3Կ x峲l%NŸ8餢hEiEY^oزurdfZ$v'&ǖ"GJtUy!v&\.,HIr=9-<]g {YB%;^DP9(sg61`e@$ Ѐ, 0:1dX .y%))Q`H)u}*L%\ӜeLm&9}r ~gD\j+XԒ_nSHz]IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-clock-triggered.24.png0000664000175000017500000000351211730466474021242 00000000000000PNG  IHDRw=sBIT|d pHYs;tEXtSoftwarewww.inkscape.org<IDATHUilTs}2ep .B \JiJFM RZ)Q?4RTEі6DJ0E$ %xlcs= W=z_}ZkWA Td,PL ɲ@rD0lS8O_4,cUO[qb7ԱַϿw)Ϫ!TCh<&W)L̾w&񰏃=oIa`w1zx`3 >nJ|~÷nvi_sf߅S{rB,=BTkEd4}tG0Z%DcdAׇV!#4\Ȳj'?X_GG.p'ڱO^|.{n;#Zg/_N8N09AH  SI՛S:Wm8qjwQ5qژ6 9KxelOmʜ9Ą2xqPi#BH &@ 7BFv^dM3ǃƻ"ͩZDg~KR ""aAF _s[y{M^Gh,7.ufCߙ<aD*hNAI0B duY $BJIAIe1Li"GH#H! J*axCa4b\%ҏѻIAI,H}Z0t_mՊPEb!,c "%sHHa B`!`; YTZhZ{KS ݅'\~Y M(5*V pN`Y},t= kjN4Q :ntQoE8te <-+P3Xnڅ UT T DD}yE0.6XnfR29TF HpC&Ni%Er4L qU1J8nqU1BhiƱJ~5dMz(%֪!ډ#Rpᔢ8is!Fk(}Zѕ؎bdZ6ܳ+[qbSkh *Z9gײQƮDъuuډȴoķf'@XIXi9Naw& ښyu!_jcյBkBh ![a |q71()낥 d;"55PBcHݏc0E-&BqSupd7s-R};_(L)8{cOKNl(Ew1j v8u41iu5&UHQŵmleOvjsG:;QO{{g 0: C(Š1ˍ]X)D$qSɺ\Mv2UkiD@Fy03 0;{NwJ~UNw~~}MD䁉5JGb:=HxjP7",J_mۆ:@;#yr,+}kπ?"^*z(EXCl1<ݟrQ}"RN/c>xP= C\;)j2yU_咯]G|U{r\%"&<ehk_@PBNܠ sPpo!(2/%l! A0B(2ILE(?g.S E[n^ ?Pn3R6W⥋iu>* Vazn#C*}'^BP#1N4+Src&3b5&'zhc-rGTễ1~NqDŽ3ygWI \q>s\w#Qɰg.:B'3:w;9a/?BC\ MXjӊdEwb3;@xbz9:>~[_\U.msfΒk&pjWYzdEs.7,cyqo<Ǵg-pjՆJGs옴緳NL>Ɗε jdQBYz]= qfF [_XC`㘘싿| 4?&Q7v u3*Q>zzٻg/}ljh!<}mwGft! 1۝|\3fl6z=d,wxfN[su90ʫhhC.i@Up=h8\Ϧ`7Qڐ‰ilز.̸8nn'4ܻs<߽Ur0(8& ϺUgQwr_qp*8S AERb$DJJ8 ӯXL@~g3!Y7 aXc?ɅX<JZcd)m 9A~A~b[7'9T81$U!ҶLM=1[(]8t#Z45F6Gfuߌn>ySQOpZˌee (D) Q(61><'xsM+VaDA,z}k*(tt :٢pû61н k(P$@Is' 0gZScRUUs R&1w۱;xg oxrhR>P0q8^ #*4ߺG TT񥗏 fcl`tJn|pd`l#vlvEMaxh } EPX]chӍ ue>D,K.;̴Iomh mbmV} "<)iylkRsl1ӎ9BqX!#*IPpW1i 田<0>B6XG`4964ƭa6ZO!l҄1$sX8gO@kXbML, f;Ϛk@6>GA'PL1&i¶7Xa'NuI6E~Ad&5S<ɁN͘T9c| =Qllκ$:LaQZ'27`t][O4$Q(`0lYvV)sl בTRߵD02T?Օb,D$mѕoW y s). L/:au:'k^@BǪܡ+e+p Tt3TUL~q7WE%^q$9]\ > er GC%V =@4gφ9 @ hDC&#d9C12"8*qAĸƠ1Of:`~F|B_TЇ8HXLM>QN师1iEI5&l!!qPL~'3V ,q?ˡFFp}!azQ=)DX]ĺ.I5$~,/1ilD #{#̀n=Ԁm\ٸ9,a?=malZ"zkOQJJ+{VkWc04VUa+J0gOuRhTE@? TERhf>q-\fWş}+C<1/G,q{te1B B6=6Ш8uٕiIG`hǚ9U#mVsiVeuh)8ז2{ɳ2q>llQyVW.:ݰn}CqiٳrLfnV3$$w.[u Ը8}} >zy'ww]*pi^^9<4xo;\u."μ{;{F~ /gd#[vmqN4DT1TK?d́cǰkvo;OQ{p(wV `s{J+c1\KZN>jt43O#< ]=Ν;><:jt4i9hYXkFW.>O bs LqqH8$8x*+]Ga$GATl|hk,: Պ!(lٰ׮Q]S.,(!`ZILET|B˿]m6T ba.,`fV俁AhD5ЃAzы'=]WjrĔbG|bbR_P @_io4%omvXF={( c0 BÔWTx-CݴT{6uEvJw-IJduuI{Gv-IvJ;xTeKXo:&'c`@j]}8e4 .fe}3Iڌzݐ m>2E$2 vV()+(TMl"8X;695Po<;m!vs8 yMV"|L'x:l@`A#ȄfJx8cb|ӞǿQfh& -ⳍLמWw/ϔP__D(js}{ȟǞv.s&._j& M湝m΅ŞN鶗6Ͷ eMW;_ሾ@XRʲ;24yz6쪂tBΞȰd2aWxt_/Y?uq}iلt k57>x0rfc})+UAMYeYpU=7Mj˲غѐFG8ڇ7A}}ݝlC?oKM ]UF.2->TH}vp[qP0qOUNۆX&Iue%E^l%E9zBP[<**]n Ds"vn:vⰩ ՋYP"0 ;YKsA0[%*i R!Ȱ*Xr^*ĥ!ˏ^hRE8|em ݭ ^hnSxt})Yvұ*UEIuGatǮw?i,aTcIwQ|`SQ"iܶ:ID3E" kǚ{VmR5զцE~7d5O"kQY3z'|M5PMkMn$@JY ?LPHNX[;=) u.-BCe1#lԶ"I+'nHB7F|E^L$@164``$Hdmx]hrQU>Dp0)&XVNJECO7$ch6y ;(S<5zcℂ!>aQ5tU܎\<.]DU^:Lvö́QO`S7F Eh(tK%Z]a3Ft [5dYP 7nQm22z- Dwo?-K)Ϙv"ؼ~|mڲV'O7U SLKϨ)4v!, $B2,  H䳫ݙJ+JzWuZeC:c /S<, ФNޑ _d{`R`ܕKׇ1V1>vUKwO2WF'kyu9vbۼ{Ø 0զ>Ѡ=@XleT(>Ǯ?ÊE8 eg͒BFF }ۗ4]r+NӺg_)w0R[^rssLϏ5 ~qn+{|߸Ðvr(h!1kaK,Ԁȇ _%N8'g)4҂  =GɀHi=k4wT&/79s>>w4x9h)X OĘEZ4M]5JG?w4rw t6~u:4>!f+ȭMxTE>,rpW"xBpl=-Ɇ@ >k5UH s=vYGpcG?fx(ܖ)'Zj`ܲ9!_TUkj-wbp;TVTdSQࡢ z9fjee[Q՞1{Fi9粛7G8~LC v3U[| KLhPAawlXaq[AwWNG&=;VQE[^~DJS v|b*gNxKiBB>}isNoyN~U,u+Q\R8vGBKS{B4*ZU?|m{=y xlʊ))-MyaKG{O)r ¡ڿxeWR4YogYJJ vv9q]Sh!A=?oArDCˡc*e`uh@uIA4|<wŕ|TH\&ĭ뉜RwD$7'Vwٴ1! cX"v`Se⇄U ! &ыi=Ԯj#]zOqIΖ0!m"5.%DFu į"DSMJ9sFj^%/ѿظ%|,'wb^⛐׉o^@ !"3Մ#^+ 嬮jwgd͒$kݧGR !bjQM+ JSi@61l`o#v#6;rdX$Y988zVJ& =25z<>A~_KIi`cIENDB`alarm-clock-applet-0.3.3/data/icons/Makefile.in0000664000175000017500000003543611762720131016214 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Alarm Clock VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/Makefile.decl subdir = data/icons ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ ALARM_CLOCK_MAJOR_VERSION = @ALARM_CLOCK_MAJOR_VERSION@ ALARM_CLOCK_MICRO_VERSION = @ALARM_CLOCK_MICRO_VERSION@ ALARM_CLOCK_MINOR_VERSION = @ALARM_CLOCK_MINOR_VERSION@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APP_INDICATOR_CFLAGS = @APP_INDICATOR_CFLAGS@ APP_INDICATOR_LIBS = @APP_INDICATOR_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BASE_CFLAGS = @BASE_CFLAGS@ BASE_LIBS = @BASE_LIBS@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ GSTREAMER_LIBS = @GSTREAMER_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBNOTIFY_0_7_CFLAGS = @LIBNOTIFY_0_7_CFLAGS@ LIBNOTIFY_0_7_LIBS = @LIBNOTIFY_0_7_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ GTESTER = gtester # for non-GLIB packages GTESTER_REPORT = gtester-report # for non-GLIB package # initialize variables for unconditional += appending EXTRA_DIST = $(icons) TEST_PROGS = iconsdir = $(datadir)/icons icons = \ alarm-clock.svg \ alarm-clock.16.png \ alarm-clock.22.png \ alarm-clock.24.png \ alarm-clock.32.png \ alarm-clock.36.png \ alarm-clock.48.png \ alarm-clock.64.png \ alarm-timer.svg \ alarm-timer.16.png \ alarm-timer.22.png \ alarm-timer.24.png \ alarm-timer.32.png \ alarm-timer.36.png \ alarm-timer.48.png \ alarm-timer.64.png \ alarm-clock-triggered.16.png \ alarm-clock-triggered.22.png \ alarm-clock-triggered.24.png \ alarm-clock-triggered.32.png \ alarm-clock-triggered.36.png \ alarm-clock-triggered.48.png \ alarm-clock-triggered.64.png gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)/hicolor all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/icons/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign data/icons/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-local check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local .MAKE: check-am install-am install-strip .PHONY: all all-am check check-am check-local clean clean-generic \ distclean distclean-generic distdir dvi dvi-am html html-am \ info info-am install install-am install-data install-data-am \ install-data-local install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-local ### testing rules # test: run all tests in cwd and subdirs test: ${TEST_PROGS} @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} @ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done # test-report: run tests in subdirs and generate report # perf-report: run tests in subdirs with -m perf and generate report # full-report: like test-report: with -m perf and -m slow test-report perf-report full-report: ${TEST_PROGS} @test -z "${TEST_PROGS}" || { \ case $@ in \ test-report) test_options="-k";; \ perf-report) test_options="-k -m=perf";; \ full-report) test_options="-k -m=perf -m=slow";; \ esac ; \ if test -z "$$GTESTER_LOGDIR" ; then \ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ elif test -n "${TEST_PROGS}" ; then \ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ fi ; \ } @ ignore_logdir=true ; \ if test -z "$$GTESTER_LOGDIR" ; then \ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ ignore_logdir=false ; \ fi ; \ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done ; \ $$ignore_logdir || { \ echo '' > $@.xml ; \ echo '' >> $@.xml ; \ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ done ; \ echo >> $@.xml ; \ echo '' >> $@.xml ; \ rm -rf "$$GTESTER_LOGDIR"/ ; \ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ } .PHONY: test test-report perf-report full-report # run make test as part of make check check-local: test update-icon-cache: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After (un)install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi install-icons: for icon in $(icons); do \ SIZE=`basename $$icon | cut -d. -f2`; \ FILE=`basename $$icon | cut -d. -f1,3`; \ if [ "$$SIZE" = "svg" ]; then \ SIZE="scalable"; \ FILE="$$FILE.svg"; \ else \ SIZE="$${SIZE}x$${SIZE}"; \ fi; \ mkdir -p $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/; \ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ done uninstall-icons: for icon in $(icons); do \ SIZE=`basename $$icon | cut -d. -f2`; \ FILE=`basename $$icon | cut -d. -f1,3`; \ if [ "$$SIZE" = "svg" ]; then \ SIZE="scalable"; \ FILE="$$FILE.svg"; \ else \ SIZE="$${SIZE}x$${SIZE}"; \ fi; \ rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ done install-data-local: install-icons update-icon-cache uninstall-local: uninstall-icons update-icon-cache # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: alarm-clock-applet-0.3.3/data/icons/alarm-clock-triggered.16.png0000664000175000017500000000176511730466474021253 00000000000000PNG  IHDRasBIT|d pHYs  >tEXtSoftwarewww.inkscape.org<rIDAT8=MLu۷֖B!c2V^[8vF;LA%:332L` 36gՉF@\h g[iү=y~B)EoSZ;fr>]QQGHT29͢3wwzV=yJmȏp(}=`q&._+N}?Ŏ|~'=q]^Xj#%`r{?|-To?̹7?1|>]BLpwbDF)U^+mľ距;byN#[_+@3BP^Z!d+/^Ϭ|<ʠ66vԷ5;_gdrE7X [Ú{306 \J8]sgȰ'B!4+JNH X52s gS; Bf U^umA'22{_,rW*oQW4(YERF4Jc UnE N (SzAQ` N݋ r,"YCYD 6}:~1W nf)SL4}9kC((8 x/X֗L]UW9\RKj9R P]$Ksnc.r(:ދSfHjB(R_B; i+QHMʡoVI̲`*Pf̍n1^3G,_g2h,5\M>me _fIENDB`alarm-clock-applet-0.3.3/data/icons/Makefile.am0000644000175000017500000000345111730466474016205 00000000000000include $(top_srcdir)/Makefile.decl iconsdir = $(datadir)/icons icons = \ alarm-clock.svg \ alarm-clock.16.png \ alarm-clock.22.png \ alarm-clock.24.png \ alarm-clock.32.png \ alarm-clock.36.png \ alarm-clock.48.png \ alarm-clock.64.png \ alarm-timer.svg \ alarm-timer.16.png \ alarm-timer.22.png \ alarm-timer.24.png \ alarm-timer.32.png \ alarm-timer.36.png \ alarm-timer.48.png \ alarm-timer.64.png \ alarm-clock-triggered.16.png \ alarm-clock-triggered.22.png \ alarm-clock-triggered.24.png \ alarm-clock-triggered.32.png \ alarm-clock-triggered.36.png \ alarm-clock-triggered.48.png \ alarm-clock-triggered.64.png EXTRA_DIST += $(icons) gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)/hicolor update-icon-cache: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After (un)install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi install-icons: for icon in $(icons); do \ SIZE=`basename $$icon | cut -d. -f2`; \ FILE=`basename $$icon | cut -d. -f1,3`; \ if [ "$$SIZE" = "svg" ]; then \ SIZE="scalable"; \ FILE="$$FILE.svg"; \ else \ SIZE="$${SIZE}x$${SIZE}"; \ fi; \ mkdir -p $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/; \ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ done uninstall-icons: for icon in $(icons); do \ SIZE=`basename $$icon | cut -d. -f2`; \ FILE=`basename $$icon | cut -d. -f1,3`; \ if [ "$$SIZE" = "svg" ]; then \ SIZE="scalable"; \ FILE="$$FILE.svg"; \ else \ SIZE="$${SIZE}x$${SIZE}"; \ fi; \ rm -f $(DESTDIR)$(iconsdir)/hicolor/$$SIZE/apps/$$FILE; \ done install-data-local: install-icons update-icon-cache uninstall-local: uninstall-icons update-icon-cache alarm-clock-applet-0.3.3/data/icons/alarm-clock.48.png0000644000175000017500000000657511172644571017304 00000000000000PNG  IHDR00WsBIT|d pHYs33o~tEXtSoftwarewww.inkscape.org< IDAThypUU?.oI^$K$A-(T4 Ta\ZfJEzR#GŮ^hzqtFKDA Y<$Ix!{^w?&eoթw==9BJI(9 4luF_" P}n#+ Ay7%~Q?<, | "U:/חD֔:[rPYFd+PD<Jjf6ɣ3p% T1M`u@P*QB0`ڂ娪Phu3jڱF@P^F/3m f*g*vI]iRJ{BxSdO)nPGJɩoqa`i (/ !wy3"@!ZZ0SSA9y){a`F (l ,Eף\cA1&BA@P~VR3ܽRLB9f fZ5w S]<3 ^_xׯuu:Hmevl=H7Aef*~T2I)ŠV7cǚwhΒ$=1W#/K& gƱxWj&'(?:@PF ?=VL KLrBvH#Vޱ['Btv`&%afevܧayDԦ0 5!CTX[ASM7B B/v'_8'D;(6|'U e7]&Eg`x*o9 gz03YGff4qOJ%~D 6?w`Uk* {Mk~lMl y/Ne'3. qlϲƩlSbgϯ 0 @QUfΥ`|)zwjiFP}9UfOR%yϚA\_ئ*?P&?ϯ$Ts6 ^ ~,l_o\8s `] (|~rJiRn̛{~JB zR4dTE׭qrp}=MM %-R/?Ui {l(uxX>~"KVe^[@pdLpr>"Xf`_qCVWd;~y!PH0=1'0ۑRrd6|Kc Ѐ}sޤR L QNxHaoRmWv(./\A-wI3] iplvΙkյFܶa"=%@{Otwy"fEs{H./;F/;hny3rEhMw'\DGK@40+dqV^:yLr|475mFiNZ_^. 4w)yqxqVGۜ;HvnݽNsebEg|Q|-> =1oF0u~1Njr+nݽWu{ FK3qVuSn'.% ś4M.-р_r}=4)y33Q^RȞr;BzgnKF}GgTz5݅Ƚe6B|!@JnٳύAʫҥKزu+uuu#esomWx-'^Mwf}?23[%~D*#Rho .x꣟lR}p e'IA%!)|N!y!'$ϫ&r M FdJ)Htt389HۃbX#PYw&|./yCn.urn -ȏ6;L&y/"J8ț3!02*@mFAW_5I ~y<>TTUX isB(CW nHnԕ~tOX՝:]gS! "Bj6i翓(N簔/caXS( 3jȈWlggkDS<$\> K0V;G!.*D.2D?@IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-timer.22.png0000644000175000017500000000234211002751125017267 00000000000000PNG  IHDRĴl;sBIT|d pHYs 8ytEXtSoftwarewww.inkscape.org<_IDAT8mlSU}܎Uc 2!DyPd%&I"JLjA#1K@J7K*HHĕ-@i]]۵z{/*InrssTUQ]zr^z,}W{Wsy]E**MY|:WϴmU""L|isv8*:,X&T$2w~񙡖CA'~{kl*y}TrPnjMͣ  C6Ԕ_rk陴ұc5UfnqϻJq$%:7Ngřᡏˇ; 6Mw6q3D {JCCqhxz֍MȋξeeM kl!Z6u|]\ ԔYl6m:wIJ媩Tes]9yU*X? p7,Ifđbr(:K(:DˆTC"3_l[$8ɬ, x=өD:( O|Z3[ ^~wF& [ڻD""zbڡp y«sݜF#z\&a CN`;s-b Y $?;0Kpm#hX +^<`j1a6~#KN4y$2rlnk9`察(oȶfHGM"A{3t[0i-*DpY_8|Nr@Ycst8G #/C䟖oZYvvd']ʋ̃6TMc 2~] ;_{m&D>xS{x8X! e ^co3eh]?Oo=?iXey"e.JG .4r ;߶[W'_MwVD5d<2L YbY=?߶{rkߞ V`K8j+iCy<ϡ՞BU3.W~`|ϭ[Oe]5">C@,@Fq=oŧ'vv=pÚܷ ȽݯL>y2Q>b ZZo_Gw~\E(kuKi^ގm{r H%`cnNBt8z| ]x#O/+;L`zb|qv=^rXIU؎jQ9!lD_@b;Vfን('z@T`G urB,^pFy4-TC~>Pkխ7Sb¶NNX"m9~W-OGbe7zbIQ9^};C.AQQQ JPJe!X 6ʊRQ=hq/$‘`1SAzQ˿t8.Y{n#V b4\߬4?y).ڃ8(\7fvj%/p c \<AoތQrYͭn,H֡AĐ))1>aʼn~x[;JJ% bRÍnnq S]]1DوrP#U"DKJ,Xm.Xl(J(̷D!"$+kDbLTRJE̮.D] " 1&̍HՠUqQ*–;)*+zT+V-I$RD+rHjpeZ&  ýB`=<aa3 B24S/` |qU9"DDEatY<{Sb2cѿ!V`.Y*qMj9ű n>ƂE8&:y6Sr% R>SE7qXkcc&S ]'_-}'NYA)BS@ SS##h m. WЖ+vmLf/ #DDa1c Bm}51aD4Gt  1e8k4>-WԂf0CfCkr80:L1&1 .xq\AZfLQFe|с~,"CLggA#, dz+,i:9:6-^RRBX(q0@E $]a9$:K}5͌͟Y^t]]aT@E-Ns|~t(nV@„it”cD 8Kc-\!|;yfQQ˲h}]Ѕi-1oXm?'xr;U|SIM쟦#!ʍ`EJEP65hAiW >@ t0cǜ~*@DaPg` NvhDaY6* hMhB4 ,#!!X+; U ?m{E]s &F[2`bޒLک?Yjo =IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-clock-triggered.48.png0000664000175000017500000001235611730466474021256 00000000000000PNG  IHDR00WsBIT|d pHYs33o~tEXtSoftwarewww.inkscape.org<kIDATh{p_ŕ?ソ-ٖmM xCE$R0,vdRI&bڐ݈f86/+`6Hl{} T:OOG'{X8 `”;Ni>;t';=ca4Eo/ @)"-HUQ=p{kl "\. (}#, r0lB?:у JwqAv nrk+(^+o[Ɛ+45nۥչ9&OrQDq*ޯqLG,j5!+΁S^6ttVt'CRC G77Y93F(W,[+54}y38GZ/w3ok'bP-Wȏ;B9 c=?9y*1"if͍$uUUp|corGg(U\~ %@ڈ㏐Ċ*w !_ saVr~ńg36v~Y~é"LȾ Wq _f\ZR#2RLwhU 8Dw]EpmM\&Gi,c՚tTr:Moa ۑ[h&+=RGb|΁ yܶ҂!h0՘ ރPqh.Y\~)V'qɕ1ڻVq-װbc GAK Iž:W=kYn%Ka(=1&m9xq%Xn&CP&4A拘b$+,f -.NWJ!q16D؇bQƄ\.lw/GSu$uo2{fF01v &B0 2qo}{B~{lV"2 aG6smeb4Cr&>ه8oW]?+W1UGd{IMF V ,Ruq [3ly~Yv+Wԗ~΍_.reP0f>P R ,$Gx7;Eɓ\sBҷl+ӕɧ呧v2tCB2VcӬ 0$WM09: |#w|/yƆ|MrΦM9:J$$@bcQq,mkXyVjT_G#Xt}Ҍ^43>KykA?8='>y;oI:*_nDkuO6t T06Gs?z(oAxbb FE,q( D+o!2LZeWSg}PĮY3򩱉KZ:yᱟPq&⶞􍉪wou`@e.GjJfgj{dႏ_Oy*E@O "͠ηNyڅsn[OPl|kg0)ЋPv(&ɫwFN]~o溢|oc]" *1Wf#&^x򿥚yu]lx;Q>C]~o\&* &IP.Kx/@/|{!Vv1%ܿkVOF 7vk7,Tytio>K Z~VE?$MD V ܿk1M4a#+:O^}6n;˚l1ǦcCwogxz_ X$HV,8ObwA |ߘd᳘ ,86]l1G&5[|>vK+:3` (}'7Pf^~hE֯ـm `bf  / bhJPS#`@д% 2279jfXL۶F|-hC`zvѼ1d%fhhmKĘy5x|e-)?~,F$H}J5Jm}/c m a&+'7bE:X ; kWa0ʐ1c6@$)/D.7fK %=ɂvn"!H:/< Q0PE\AsXW%\c% '1=h64ڀ"c\\ux›˂A-,;W}\!8y?vˢUMph(=g~TUm8[*6lS^$a!=9D(4l\Ej 8 y8F"!빐V[ՆTyDLc DU2}<,EYaŘ**P5|^>ʤ=~#x񱇉k7>>\jB=?M\v3Mq\O_aA=y-yl!C 63:nׄɸ/<0ۋ9T65%kS_ q6cA&7_mą I~)}Pœ8}G5;ҍv铘D+<`௟ajl{>A%#$Hbި:;_#hxuQF&lnh\%҂=f,8"" !lF؁pC#a' bz_]<( (oXwA7]|cCjB^]n0191r8Sq\!YV$af(QzQPU=/' b0 &u,,! !4/_Ҽ|b\jsTK%N2!NbpuHb w|Ԧj$ I4Pvzݝ{yKn!Є+F/hOЃ|Bj M$UM<:6r}؎ 8B]4D,42m-M! SFvjshTSAՓ& 3KعBn q h_+$Ei>6'^B1!P_ӓ?,L@PUt$ DTg&!~q?kw1},w}B bCN Qp70!A!`0bơ1.`m~jD(`x G|{_= "_ T~ X Q ɐ_!A$ 09Z&PwZ Ƅġ`pb3o64w]#wqB.HH`0AQEL$gY\$K2JT| ,(B+IZG1$:Q;zH H m8lϮIK,#^=ݲ5߇oF&Œ@ Ԉ LT>^TqRBm#%Nqwq&! ޿ܴ>~_nق^;/y`ix3IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-clock-triggered.22.png0000664000175000017500000000312311730466474021236 00000000000000PNG  IHDRĴl;sBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDAT8Elw_]ۻߕBJ[?Ȅ0;h2ȲAYʒ%R aL%e 'CH+ M  wWJK^w+y'I=|G"~ vf1mŗ<ڴE}?a>c Kd;b6ɓܸJz6(Q?>Gt7xhͪN?/\xyi5YcQf [ 1apB `4e&$T`SK;'~ɎF9 //O뙺̎z)K=k;IJ[Wآ]<*rn)G"*ٿapí1}uA2$"Y@;R #^Q7l鱱H[olݓũ_:8'"~^arW>t$̝۾{+ލTD^Q룈bĥ32N]Ou5k]b ҽ`[9ĎSZR X-O`3Ja$F;)^_=om\kvF{D~KuW? w'>gr6EJx (J(ndHlv:[׭PH`k[=ڌX$op,bͭI'}(B%U䳾ufl=t#Ch[X$a`teeBD Rl~kDzVY,D)%T/D+@z()QH9RYR6  - \='>/AJ(lT*l.Qr( =@Vz]wsD1J4s(J,,(!&O3;Y)l' ,u1/6"r#PfqZ+]X9_60:t}tAhbzсD9|;ۉa #:!B*;nUt ÅS0v~сQGt([`n"90(ڏ节E11 18kh(K}X!<3 }k/Pm b#bA.E{0g̾#ޟK /[FA4CO8ź6QP*obƓď 5>u{V쒊1G ^T#x}ka/;U PV;FO ŧqIvJGf6!\:Ѐ$NJb Off8*cnt :A.e]vUR Gx>`y1X ?v7~> @'_]ː/By<]<  UAEpF 772,Pux\`|xWP-K 9Cנb*? image/svg+xml image/svg+xml alarm-clock-applet-0.3.3/data/icons/alarm-clock.24.png0000644000175000017500000000275611172644571017273 00000000000000PNG  IHDRw=sBIT|d pHYs;tEXtSoftwarewww.inkscape.org<kIDATHl_ޕZiNIFbhD df,(˦4IDdٹF"B ;: i-zr|Gu|z>yO>| *?Ё(p0| <T (!TlNO[]S˵G'æi $5 Ϛ'5G_TTĞ={z-fI5AB4C$/^ xHga\OZjvI&lG=08]z(OcƶKOj %}Mbf2rLF}Mި-b;]rduvi3[=?8CD4w} @{`\X%W"$1 #P`"!e!eTN@(z~c:{]kzGY~dPVlʅ#`xk9rgGC{DJ)77 +[TL"Ɓ[645kdr tIENDB`alarm-clock-applet-0.3.3/data/icons/alarm-clock-triggered.64.png0000664000175000017500000002032411730466474021246 00000000000000PNG  IHDR@@iqsBIT|d pHYs(D(D |tEXtSoftwarewww.inkscape.org< IDATxy]u翧^ZZBBKHb1N@K88D|ⱝ瓏cgq@` Ƙ`d E ԭ~{Q2$O}wyU;u:\QU+VYd,NHț~ ufdغYcm֭C мOl2'-ľMގNF'ppOwش a*)5m&+?qI͛ش nȉikr*WKt;$oxE~p2Ц~k()߿ڛrv'r`0 c_7]9AhceS8QD Լ_\{^G\D>5cQf R'jXsͳ*(!$`D!d840o:zѡ0JRE:/ B@w{1'LR*ѨN04^;~m p7(Nϯs{ޏ@x=ITA(+r572E #&B"sc9CWm:ˡGuy(z_|d SGbS_AR u|*73L ČL"PoP-!ž]l-T&o@PxM I~S$C50 įf("Uc?CcXq-_N|/Y HmؖM8.q]IJb )gl9%e, c@ LѡW s_h) bqꓸ"J1$mT_9sC`TP׍^%? 0_.;Gl11XL 5ADPUE?Q>Ż?3g>=c5S"vcfɟW{\D2_-|SN*&'OTОWU* kmeu3Rm@yC7] {y>HԗB8ǘ/xJS %]~kjL48Ym6BcL?t_(XYELIէ3o9= xA%ԠFphp7{AZgS20 OwU5J3p*/}/$0\tLj]f೙<~ם+ο'M6мyS7ullJXqŬ(t1I9Fo϶ҝ}BljQB?t_`mFxnk? Қ}+rpzsv26\g/Q=ӯQ0&æ=8P%Jθ#/[%$ Ř4~u1ڔϊ1&Pr%\O22bD\@{)&JQ~u Vî_lclh';Oul s7 /p ;lgd)K+B l:hKQ16b83$3:PI᥁7)^Riु.o_ 6gsPIIftp~3&*bLTMeoqy Yy#KH2Y2qt a{Ws/ eSk|*GUJ|f3+)wv|s1ĉaXD)Hq@QQ$*Po4BQMxxѭ KTΜpc'nN8c BTx4ح·Ua|xUE3{tdSψ*̌[BbB /c`j* L %EMLI{7Ly$<6WP8\ /9~T;?3}ʳdC7y-eTUsL·7i{T[ܻ 6bju=}/%l%} uJXa)F„ !Aھ&yZwB Y뚑,p cNa J"lA,z_6:vTmwx Ta7)%ȈM4;خcR쎟Z|Uq1&..cY ƃeWcCLCC$ ̈́kFgkYл|jOg0is0\#Xߜzc>41%x9&lW|6Tc_b6JbbCbpyqwv﯇k=g|NxU!FYq:b(&Vc19&6mk89ۉjvX̶,Z/qLǜ4]]`oibW'8(qRxaU̜mpگr aC[ƍ!u+2v1!%P(Xy:L-6V 9'v3Y IQV-5-υy7mRG;(U#!D;gnj^s'ZwtW^(ݤ ֗/ lE0ȕȮɽȒ:Ad- =GQ!- Wbւd9hz3:`bd6"tYlt.X7 rGv'Mw -]R$blSye)ݛ< k?7LQkMh':2QD3^| hu-seT˝?>@X?}M{5\SÜ|f? "LaγDr Lk#41qww[TZaJ`Up9}e꿑r JlxqO;7!z!G2BLcJ3ӥg6cAn!9- 2r`VG%%ED6P*["0o>!` WuS,|~w}Ni80з^94R(l"()Jغu#kW2ǐJ%J<3gqsM*Wɵe֌k;= 7`A)B5b<3gcm|SN>DHOB E& n1fPL-vDMR+A$>Mb(;Z4QLҽR'O;|kS=3(ww;7CIrkvd4hO]=/4suxzh}u# M.Q6KS?%oi V7w6:8E*^Q,^}Ec"AL11ˉ,\?;8+MoKv~`@ DQ M-*J}rT'MTX|(7m%!эFڨ9_i%듕VI毭 U$bjx_GH߻?iy(纙5N[y77y4Ȇ&F}hZ@}j9TCH8ZYً|1BeU=m | ߣUfbPOIeZu[N>e /^0u}krbkټƞ:C䊱6ek(V!'%|'zhE4k''|MFsMEf2~m?{\;9i~i2<}>k4ԗXáxHJ@)p;%%LI4^3 )%.s@fC<e ^ [ $$")#2 ^Zcx"!#GxTNRH}mseb('D91iY(EB^| ݋e艫xz2߅ |W^[fAS+4P7/p1TBϲ#)q>Oo:6bm|B^R2B LAq75D:6CKI/,;k?r,`qB] V,ee;}nZwh8y^YT| Z@("Z `Z ˛h1M@I{|-Y( ݉eۚP} sU5yPS9b vS=ŕo f2tU5`dGT[[vn26.cQGEǙSaiiy?}>-dv#6i4O".Q$wl,^4} =. ]`p$qb"yXi|U @vSg%!{{i)m=T C^ܳ} ťS~uOliLp`ݔUR-+c֔292DDdqCI_=M`ٙ!yO qxD9j8gy5Nac!QGٻI5sV;事cKlI 5Re YVvw5Uo!N҉1\V%+YK鬿y3l؅: F.،ЋЅa3Tcب= [K?_|jlV`^&ww3w>N NJy\2N}r8ejJ˵ahkvbL6v WdY v/ZdՇ\`+)l wgrtT_G`Ɔ'lDwkUSI+yi<ݮmV(C)གྷ!>1|/CVӍOsLS+= i[O-{7fyps;Q|rh"OGژR<3[բykJ>*F,#I-K5l:q:f{:K98fA7zJB}[-E}Fε'ϹEOv0T{ФSXb\89πfn 籉ɽ ͲPcNL7GlGN>Lkxw?;\DMhڥfX>-7ymm} WBU?9d|^PPkc#zl$HllbQ:fI,Lp8'tV`3Fհz Zn4[~< p׉ >;fԄ1tkCV݆Iޱ:yhݣ[缦6c- F4cY5Am9Z2ԅ| o2Ȳ ,jvS_l৿^17('BsҪEx /ǎAS i 6HcDC%m5ruOJxpY::C\&KS,Gܼ?|z֭_Fj;1Z9v!Ǐcud"* id[4Q"1с4:h_.nt.tS6oa` %N%F 嗑Wr,8v,`,wwffR?>,X3/ni謹*EIDAT'jѤim#F5oXv۲HMC{I'$~bB%kvwcڸ iI?}_\IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-clock.16.png0000644000175000017500000000161011172644571017260 00000000000000PNG  IHDRasBIT|d pHYs  >tEXtSoftwarewww.inkscape.org<IDAT8m_hWKm?ki2:Rc1)cJK0qaC|y&"L {JZIXѢMe4Ҍ56]^ s+R4]cQ]b)5sID.B*RWDϮF?8j>w R瞂?=I-~3vȉksϧE^JLYq!q7о{ce}gOFavXcdA&/m{S6x/ql޷l:컽㞗M0+~"nRn#}7~BߏeYpwܹ:P[[Ym52KnY|qS˩l ǃP?_7<\E Ks.e^YJs3N* 192 ^Zv.$Y,; muH$ڊr1<<̥˗ |@&u8 m% _T9vp֭[E֭?8txt3=5 o罽4,s&qwǟ9o-' pad[#-"^.*s<~S-MO+4U),TK*~SE)9&~t|$}@L he!IIF;|)fI*ZB”4 k3lUxF"40#.?"5x#n:*}ϝ\BWE4SW.IENDB`alarm-clock-applet-0.3.3/data/icons/alarm-timer.16.png0000644000175000017500000000130711002751125017272 00000000000000PNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<DIDAT8OHq?wڤDiM5<l yK$DA\b+Gkl8[V}ކ8Թ-?|J[}\J[都 z&Kgd~\ 290 Alarm Clock Preferences False alarm-clock dialog True True 12 6 True 0 General False False 0 True 12 True True True False autostart-action True True True False False 0 False False 1 True 0 Appearance False False 2 True 12 True True True False show-label-action True True True False False 0 False False 3 1 True end gtk-close True True True False True False False 0 False end 0 closebutton1 GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 5 Edit alarm False center-on-parent True alarm-clock dialog True 6 36 True 2 True True True False True 6 True 1 24 alarm-clock 0 True 0 Alarm Clock 1 0 True True False True 6 True 1 24 alarm-timer 0 True 0 Timer 1 1 False 1 True 2 2 6 6 True 3 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 2 1 adjustment4 1 True False 0 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 2 1 adjustment3 1 True False 1 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 2 1 adjustment2 1 True False 2 1 2 1 2 True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True Wake up sleepy head! 1 2 True 0 _Time: True True hour-spin 1 2 GTK_FILL True 0 _Name: True True label-entry GTK_FILL False 6 2 True True True 24 True 2 Mon True True False True True 0 Tue True True False True True 1 Wed True True False True True 2 Thu True True False True True 3 Fri True True False True True 4 Sat True True False True True 5 Sun True True False True True 6 True _Repeat: True 3 True 0 Alert False False 4 True 12 True 6 Play _sound True True False True True False False 0 True 12 True True True 0 gtk-media-play True True False True False False 1 0 Repea_t sound True True False True True False False 1 False False 1 Start _Application True True False True True sound-radio False False 2 True 12 True 6 True 0 True 12 True Co_mmand: True app-command-entry False False 0 True False True 1 False False 1 False False 3 False False 5 True end gtk-close True True False True False False 0 False end 0 close-button 99 1 10 59 1 10 59 1 10 23 1 10 alarm-clock False True Alarm Clock True True Snooze all beeping alarms snooze-all-action True True True True Stop all beeping alarms stop-all-action True True True True Show _alarms True Manage your alarms True image3 False _Preferences True True image4 False gtk-about True True True True True quit-action True True True 0.47999998927116394 gtk-edit True gtk-properties 5 About Alarm Clock True alarm-clock normal Alarm Clock 0.0.0 © 2007-2012 Johannes H. Jensen Get up in the morning! http://alarm-clock.pseudoberries.com/ alarm-clock.pseudoberries.com Johannes H. Jensen <joh@pseudoberries.com> Contributors: Arnaud Soyez <weboide@codealpha.net> Chow Loong Jin <hyperair@ubuntu.com> Kamal Mostafa <kamal@canonical.com> Johannes H. Jensen <joh@pseudoberries.com> Lasse Gulvåg Sætre <lassegs@gmail.com> alarm-clock True 2 True end False end 0 Alarms 350 200 alarm-clock True True True new-action True New... False True True edit-action True Edit... False True True delete-action True Delete False True True False True True enabled-action True Enable True False True True stop-action True Stop True False True True snooze-action True Snooze True snooze-menu False True False 0 True True automatic automatic in True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK alarms-liststore False False True Type 6 3 6 1 autosize Time 36 0 2 autosize Label True 3 6 autosize Actions 1 4 1 True True 1 minute True True True True 3 minutes True True snooze-menu-1 True 5 minutes True True snooze-menu-1 True 10 minutes True True snooze-menu-1 True Custom... True Snooze alarm Snooze Snooze the selected alarm weather-few-clouds-night True 5 Snooze alarm False alarm-clock normal True 2 True 12 True 48 weather-few-clouds-night False 0 True 6 True 0 Snooze for: False 0 True True 2 2 1 adjustment5 1 True minutes 2 1 1 True end gtk-cancel True True True True False False 0 _Snooze True True True True True image9 True False False 1 False end 0 button2 snooze-dialog-button True weather-few-clouds-night 5 1 99 1 10 Stop alarm Stop Stop the selected alarm gtk-stop True Delete alarm Delete Delete the selected alarm gtk-delete Edit alarm Edit... Edit the selected alarm gtk-edit New alarm New New alarm gtk-new Enable/disable alarm Enable/disable Enable/disable the selected alarm gtk-yes Snooze all alarms Snooze alarms Snooze all beeping alarms weather-few-clouds-night Stop all alarms Stop alarms Stop all beeping alarms gtk-stop Toggle alarms window Toggle alarms Toggle the visibility of the alarms window _Quit _Quit Quit Alarm Clock gtk-quit Start automatically at login Start automatically at login Show countdown label Show countdown label alarm-clock-applet-0.3.3/autogen.sh0000755000175000017500000000107711336057335014122 00000000000000#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="alarm-clock-applet" (test -f $srcdir/configure.ac \ && test -f $srcdir/src/alarm-applet.c) || { echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo " top-level $PKG_NAME directory" exit 1 } which gnome-autogen.sh || { echo "You need to install gnome-common" exit 1 } REQUIRED_AUTOMAKE_VERSION=1.9 REQUIRED_INTLTOOL_VERSION=0.40.0 #USE_GNOME2_MACROS=1 \ #USE_COMMON_DOC_BUILD=yes \ . gnome-autogen.sh alarm-clock-applet-0.3.3/missing0000755000175000017500000002623311751513467013525 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and \`g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; tar*) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar*) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: alarm-clock-applet-0.3.3/Makefile.decl0000644000175000017500000000417211005417775014467 00000000000000# Alarm Clock GTESTER = gtester # for non-GLIB packages GTESTER_REPORT = gtester-report # for non-GLIB package # initialize variables for unconditional += appending EXTRA_DIST = TEST_PROGS = ### testing rules # test: run all tests in cwd and subdirs test: ${TEST_PROGS} @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} @ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done # test-report: run tests in subdirs and generate report # perf-report: run tests in subdirs with -m perf and generate report # full-report: like test-report: with -m perf and -m slow test-report perf-report full-report: ${TEST_PROGS} @test -z "${TEST_PROGS}" || { \ case $@ in \ test-report) test_options="-k";; \ perf-report) test_options="-k -m=perf";; \ full-report) test_options="-k -m=perf -m=slow";; \ esac ; \ if test -z "$$GTESTER_LOGDIR" ; then \ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ elif test -n "${TEST_PROGS}" ; then \ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ fi ; \ } @ ignore_logdir=true ; \ if test -z "$$GTESTER_LOGDIR" ; then \ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ ignore_logdir=false ; \ fi ; \ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done ; \ $$ignore_logdir || { \ echo '' > $@.xml ; \ echo '' >> $@.xml ; \ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ done ; \ echo >> $@.xml ; \ echo '' >> $@.xml ; \ rm -rf "$$GTESTER_LOGDIR"/ ; \ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ } .PHONY: test test-report perf-report full-report # run make test as part of make check check-local: test alarm-clock-applet-0.3.3/configure0000775000175000017500000074410711762720132014035 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68 for alarm-clock 0.3.3. # # Report bugs to . # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: https://bugs.launchpad.net/alarm-clock about your $0: system, including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='alarm-clock' PACKAGE_TARNAME='alarm-clock-applet' PACKAGE_VERSION='0.3.3' PACKAGE_STRING='alarm-clock 0.3.3' PACKAGE_BUGREPORT='https://bugs.launchpad.net/alarm-clock' PACKAGE_URL='' ac_unique_file="src" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS MKINSTALLDIRS POSUB POFILES PO_IN_DATADIR_FALSE PO_IN_DATADIR_TRUE INTLLIBS INSTOBJEXT GMOFILES CATOBJEXT CATALOGS MSGFMT_OPTS EGREP GREP CPP GETTEXT_PACKAGE DATADIRNAME ALL_LINGUAS INTLTOOL_PERL GMSGFMT MSGFMT MSGMERGE XGETTEXT INTLTOOL_POLICY_RULE INTLTOOL_SERVICE_RULE INTLTOOL_THEME_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_CAVES_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_XML_RULE INTLTOOL_KBD_RULE INTLTOOL_XAM_RULE INTLTOOL_UI_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_SHEET_RULE INTLTOOL_SERVER_RULE INTLTOOL_PONG_RULE INTLTOOL_OAF_RULE INTLTOOL_PROP_RULE INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE intltool__v_merge_options_0 intltool__v_merge_options_ INTLTOOL_V_MERGE_OPTIONS INTLTOOL__v_MERGE_0 INTLTOOL__v_MERGE_ INTLTOOL_V_MERGE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE USE_NLS HAVE_APP_INDICATOR_FALSE HAVE_APP_INDICATOR_TRUE APP_INDICATOR_LIBS APP_INDICATOR_CFLAGS HAVE_LIBNOTIFY_0_7_FALSE HAVE_LIBNOTIFY_0_7_TRUE LIBNOTIFY_0_7_LIBS LIBNOTIFY_0_7_CFLAGS GCONF_SCHEMAS_INSTALL_FALSE GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMA_CONFIG_SOURCE GCONFTOOL GNOME_LIBS GNOME_CFLAGS GSTREAMER_LIBS GSTREAMER_CFLAGS GTK_LIBS GTK_CFLAGS BASE_LIBS BASE_CFLAGS DISABLE_DEPRECATED WARN_CFLAGS ACLOCAL_AMFLAGS am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG ALARM_CLOCK_MICRO_VERSION ALARM_CLOCK_MINOR_VERSION ALARM_CLOCK_MAJOR_VERSION MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_maintainer_mode enable_dependency_tracking enable_debug enable_compile_warnings enable_iso_c with_gconf_source with_gconf_schema_file_dir enable_schemas_install enable_appindicator enable_nls enable_run_in_source_tree ' ac_precious_vars='build_alias host_alias target_alias PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR CC CFLAGS LDFLAGS LIBS CPPFLAGS BASE_CFLAGS BASE_LIBS GTK_CFLAGS GTK_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GNOME_CFLAGS GNOME_LIBS LIBNOTIFY_0_7_CFLAGS LIBNOTIFY_0_7_LIBS APP_INDICATOR_CFLAGS APP_INDICATOR_LIBS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures alarm-clock 0.3.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/alarm-clock-applet] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of alarm-clock 0.3.3:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: `make V=1') --disable-silent-rules verbose build output (undo: `make V=0') --disable-maintainer-mode disable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-debug turn on debugging --enable-compile-warnings=[no/minimum/yes/maximum/error] Turn on compiler warnings --enable-iso-c Try to warn if code is not ISO C --disable-schemas-install Disable the schemas installation --enable-appindicator=[no/auto/yes] Build support for application indicators --disable-nls do not use Native Language Support --disable-run-in-source-tree disable search for UI files and plugins in local directory Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gconf-source=sourceaddress Config database for installing schema files. --with-gconf-schema-file-dir=dir Directory for installing schema files. Some influential environment variables: PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory BASE_CFLAGS C compiler flags for BASE, overriding pkg-config BASE_LIBS linker flags for BASE, overriding pkg-config GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config GSTREAMER_CFLAGS C compiler flags for GSTREAMER, overriding pkg-config GSTREAMER_LIBS linker flags for GSTREAMER, overriding pkg-config GNOME_CFLAGS C compiler flags for GNOME, overriding pkg-config GNOME_LIBS linker flags for GNOME, overriding pkg-config LIBNOTIFY_0_7_CFLAGS C compiler flags for LIBNOTIFY_0_7, overriding pkg-config LIBNOTIFY_0_7_LIBS linker flags for LIBNOTIFY_0_7, overriding pkg-config APP_INDICATOR_CFLAGS C compiler flags for APP_INDICATOR, overriding pkg-config APP_INDICATOR_LIBS linker flags for APP_INDICATOR, overriding pkg-config CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF alarm-clock configure 0.3.3 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ----------------------------------------------------- ## ## Report this to https://bugs.launchpad.net/alarm-clock ## ## ----------------------------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by alarm-clock $as_me 0.3.3, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers config.h" am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='alarm-clock-applet' VERSION='0.3.3' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' # Substitute variables ALARM_CLOCK_MAJOR_VERSION=0 ALARM_CLOCK_MINOR_VERSION=3 ALARM_CLOCK_MICRO_VERSION=3 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi # ***** # GNOME # ***** ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" if test -n "$ac_macro_dir"; then ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS" fi # Check whether --enable-debug was given. if test "${enable_debug+set}" = set; then : enableval=$enable_debug; else enable_debug=no fi if test x$enable_debug = xyes ; then $as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h fi # Check whether --enable-compile-warnings was given. if test "${enable_compile_warnings+set}" = set; then : enableval=$enable_compile_warnings; else enable_compile_warnings="maximum" fi warnCFLAGS= if test "x$GCC" != xyes; then enable_compile_warnings=no fi warning_flags= realsave_CFLAGS="$CFLAGS" case "$enable_compile_warnings" in no) warning_flags= ;; minimum) warning_flags="-Wall" ;; yes) warning_flags="-Wall -Wmissing-prototypes" ;; maximum|error) warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith" CFLAGS="$warning_flags $CFLAGS" for option in -Wno-sign-compare; do SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $option" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5 $as_echo_n "checking whether gcc understands $option... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : has_option=yes else has_option=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$SAVE_CFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5 $as_echo "$has_option" >&6; } if test $has_option = yes; then warning_flags="$warning_flags $option" fi unset has_option unset SAVE_CFLAGS done unset option if test "$enable_compile_warnings" = "error" ; then warning_flags="$warning_flags -Werror" fi ;; *) as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5 ;; esac CFLAGS="$realsave_CFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5 $as_echo "$warning_flags" >&6; } # Check whether --enable-iso-c was given. if test "${enable_iso_c+set}" = set; then : enableval=$enable_iso_c; else enable_iso_c=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; } complCFLAGS= if test "x$enable_iso_c" != "xno"; then if test "x$GCC" = "xyes"; then case " $CFLAGS " in *\ \ -ansi\ \ *) ;; *) complCFLAGS="$complCFLAGS -ansi" ;; esac case " $CFLAGS " in *\ \ -pedantic\ \ *) ;; *) complCFLAGS="$complCFLAGS -pedantic" ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5 $as_echo "$complCFLAGS" >&6; } WARN_CFLAGS="$warning_flags $complCFLAGS" DISABLE_DEPRECATED="" if test $USE_MAINTAINER_MODE = yes; then DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP" for DOMAIN in $DOMAINS; do DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES" done fi # *************************** # Check for required packages # *************************** GLIB_REQUIRED=2.16.0 GTK_REQUIRED=2.12.0 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE" >&5 $as_echo_n "checking for BASE... " >&6; } if test -n "$BASE_CFLAGS"; then pkg_cv_BASE_CFLAGS="$BASE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gmodule-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BASE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$BASE_LIBS"; then pkg_cv_BASE_LIBS="$BASE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gmodule-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_BASE_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0" 2>&1` else BASE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gmodule-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$BASE_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gmodule-2.0) were not met: $BASE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables BASE_CFLAGS and BASE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables BASE_CFLAGS and BASE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else BASE_CFLAGS=$pkg_cv_BASE_CFLAGS BASE_LIBS=$pkg_cv_BASE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5 $as_echo_n "checking for GSTREAMER... " >&6; } if test -n "$GSTREAMER_CFLAGS"; then pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GSTREAMER_LIBS"; then pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10" 2>&1` else GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GSTREAMER_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gstreamer-0.10) were not met: $GSTREAMER_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GSTREAMER_CFLAGS and GSTREAMER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GSTREAMER_CFLAGS and GSTREAMER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5 $as_echo_n "checking for GNOME... " >&6; } if test -n "$GNOME_CFLAGS"; then pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GNOME_LIBS"; then pkg_cv_GNOME_LIBS="$GNOME_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0" 2>&1` else GNOME_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GNOME_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0) were not met: $GNOME_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOME_CFLAGS and GNOME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOME_CFLAGS and GNOME_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS GNOME_LIBS=$pkg_cv_GNOME_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Check for gconftool # Extract the first word of "gconftool-2", so it can be a program name with args. set dummy gconftool-2; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GCONFTOOL+:} false; then : $as_echo_n "(cached) " >&6 else case $GCONFTOOL in [\\/]* | ?:[\\/]*) ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no" ;; esac fi GCONFTOOL=$ac_cv_path_GCONFTOOL if test -n "$GCONFTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5 $as_echo "$GCONFTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test x"$GCONFTOOL" = xno; then as_fn_error $? "gconftool-2 executable not found in your path - is gconf installed?" "$LINENO" 5 fi if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source` else GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE fi # Check whether --with-gconf-source was given. if test "${with_gconf_source+set}" = set; then : withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; } if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' fi # Check whether --with-gconf-schema-file-dir was given. if test "${with_gconf_schema_file_dir+set}" = set; then : withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; } # Check whether --enable-schemas-install was given. if test "${enable_schemas_install+set}" = set; then : enableval=$enable_schemas_install; case ${enableval} in yes|no) ;; *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;; esac fi if test "$enable_schemas_install" != no; then GCONF_SCHEMAS_INSTALL_TRUE= GCONF_SCHEMAS_INSTALL_FALSE='#' else GCONF_SCHEMAS_INSTALL_TRUE='#' GCONF_SCHEMAS_INSTALL_FALSE= fi # # Check for libnotify 0.7 # pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY_0_7" >&5 $as_echo_n "checking for LIBNOTIFY_0_7... " >&6; } if test -n "$LIBNOTIFY_0_7_CFLAGS"; then pkg_cv_LIBNOTIFY_0_7_CFLAGS="$LIBNOTIFY_0_7_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_0_7_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBNOTIFY_0_7_LIBS"; then pkg_cv_LIBNOTIFY_0_7_LIBS="$LIBNOTIFY_0_7_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_0_7_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBNOTIFY_0_7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify >= 0.7" 2>&1` else LIBNOTIFY_0_7_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify >= 0.7" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBNOTIFY_0_7_PKG_ERRORS" >&5 have_libnotify_0_7=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_libnotify_0_7=no else LIBNOTIFY_0_7_CFLAGS=$pkg_cv_LIBNOTIFY_0_7_CFLAGS LIBNOTIFY_0_7_LIBS=$pkg_cv_LIBNOTIFY_0_7_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_libnotify_0_7=yes fi if test x$have_libnotify_0_7 = xyes ; then $as_echo "#define HAVE_LIBNOTIFY_0_7 1" >>confdefs.h fi if test x$have_libnotify_0_7 = xyes; then HAVE_LIBNOTIFY_0_7_TRUE= HAVE_LIBNOTIFY_0_7_FALSE='#' else HAVE_LIBNOTIFY_0_7_TRUE='#' HAVE_LIBNOTIFY_0_7_FALSE= fi # # Check for AppIndicator (optional) # APPINDICATOR_REQUIRED=0.0.7 # Check whether --enable-appindicator was given. if test "${enable_appindicator+set}" = set; then : enableval=$enable_appindicator; enable_appindicator=$enableval else enable_appindicator="auto" fi if test x$enable_appindicator = xauto ; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then enable_appindicator="yes" else enable_appindicator="no" fi fi if test x"$enable_appindicator" = xyes ; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : else as_fn_error $? "appindicator-0.1 is not installed" "$LINENO" 5 fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5 $as_echo_n "checking for APP_INDICATOR... " >&6; } if test -n "$APP_INDICATOR_CFLAGS"; then pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= 0.4.90\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= 0.4.90") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 >= 0.4.90" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$APP_INDICATOR_LIBS"; then pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= 0.4.90\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= 0.4.90") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 >= 0.4.90" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 >= 0.4.90" 2>&1` else APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 >= 0.4.90" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$APP_INDICATOR_PKG_ERRORS" >&5 have_appindicator_0_4_90=no; pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5 $as_echo_n "checking for APP_INDICATOR... " >&6; } if test -n "$APP_INDICATOR_CFLAGS"; then pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$APP_INDICATOR_LIBS"; then pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>&1` else APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$APP_INDICATOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (appindicator-0.1 >= $APPINDICATOR_REQUIRED) were not met: $APP_INDICATOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS and APP_INDICATOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS and APP_INDICATOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_appindicator_0_4_90=no; pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5 $as_echo_n "checking for APP_INDICATOR... " >&6; } if test -n "$APP_INDICATOR_CFLAGS"; then pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$APP_INDICATOR_LIBS"; then pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>&1` else APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$APP_INDICATOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (appindicator-0.1 >= $APPINDICATOR_REQUIRED) were not met: $APP_INDICATOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS and APP_INDICATOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS and APP_INDICATOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi else APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_appindicator_0_4_90=yes fi # AC_SUBST(APP_INDICATOR_CFLAGS) # AC_SUBST(APP_INDICATOR_LIBS) $as_echo "#define HAVE_APP_INDICATOR 1" >>confdefs.h if test "$have_appindicator_0_4_90" = "yes"; then $as_echo "#define HAVE_APP_INDICATOR_0_4_90 1" >>confdefs.h fi fi if test x"$enable_appindicator" = xyes; then HAVE_APP_INDICATOR_TRUE= HAVE_APP_INDICATOR_FALSE='#' else HAVE_APP_INDICATOR_TRUE='#' HAVE_APP_INDICATOR_FALSE= fi # ******************** # Internationalisation # ******************** { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } case "$am__api_version" in 1.01234) as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "0.40.0"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5 $as_echo_n "checking for intltool >= 0.40.0... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE if test -n "$INTLTOOL_UPDATE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 $as_echo "$INTLTOOL_UPDATE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-merge", so it can be a program name with args. set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE if test -n "$INTLTOOL_MERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 $as_echo "$INTLTOOL_MERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-extract", so it can be a program name with args. set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT if test -n "$INTLTOOL_EXTRACT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 $as_echo "$INTLTOOL_EXTRACT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Check the gettext tools to make sure they are GNU # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XGETTEXT=$ac_cv_path_XGETTEXT if test -n "$XGETTEXT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGMERGE=$ac_cv_path_MSGMERGE if test -n "$MSGMERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGFMT=$ac_cv_path_MSGFMT if test -n "$MSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 $as_echo "$INTLTOOL_PERL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_PERL"; then as_fn_error $? "perl not found" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi if test "x" != "xno-xml"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 $as_echo_n "checking for XML::Parser... " >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } else as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi GETTEXT_PACKAGE=alarm-clock-applet #ALL_LINGUAS="" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in locale.h do : ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" if test "x$ac_cv_header_locale_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LOCALE_H 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if ${am_cv_val_LC_MESSAGES+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_val_LC_MESSAGES=yes else am_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 $as_echo "$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" if test "x$ac_cv_header_libintl_h" = xyes; then : gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 $as_echo_n "checking for ngettext in libc... " >&6; } if ${gt_cv_func_ngettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_ngettext_libc=yes else gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 $as_echo "$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 $as_echo_n "checking for dgettext in libc... " >&6; } if ${gt_cv_func_dgettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_dgettext_libc=yes else gt_cv_func_dgettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 $as_echo "$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } if ${ac_cv_lib_intl_bindtextdomain+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_bindtextdomain=yes else ac_cv_lib_intl_bindtextdomain=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 $as_echo_n "checking for dgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dgettext=yes else ac_cv_lib_intl_dgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } if test "x$ac_cv_lib_intl_dgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 $as_echo "" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 $as_echo_n "checking for dcgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dcgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dcgettext=yes else ac_cv_lib_intl_dcgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do : ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" if test "x$ac_cv_func_dcgettext" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF fi done MSGFMT_OPTS= { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 $as_echo_n "checking if msgfmt accepts -c... " >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : CATOBJEXT=.gmo DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *-*-openbsd*) CATOBJEXT=.mo DATADIRNAME=share ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 $as_echo_n "checking for catalogs to be installed... " >&6; } NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 $as_echo "$LINGUAS" >&6; } fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF #localedir='$(datadir)/locale' # ******************* # Run in source tree? # ******************* # Check whether --enable-run-in-source-tree was given. if test "${enable_run_in_source_tree+set}" = set; then : enableval=$enable_run_in_source_tree; else enable_run_in_source_tree=yes fi if test x$enable_run_in_source_tree = xyes; then $as_echo "#define ALARM_CLOCK_RUN_IN_SOURCE_TREE 1" >>confdefs.h fi # **************************** ac_config_files="$ac_config_files Makefile src/Makefile src/tests/Makefile data/Makefile data/icons/Makefile po/Makefile.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBNOTIFY_0_7_TRUE}" && test -z "${HAVE_LIBNOTIFY_0_7_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBNOTIFY_0_7\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_APP_INDICATOR_TRUE}" && test -z "${HAVE_APP_INDICATOR_FALSE}"; then as_fn_error $? "conditional \"HAVE_APP_INDICATOR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi ac_config_commands="$ac_config_commands po/stamp-it" : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by alarm-clock $as_me 0.3.3, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ alarm-clock config.status 0.3.3 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.in" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi # **************************** echo " ************************************************* $PACKAGE_NAME $VERSION Configure summary: prefix: ${prefix} source code location: ${srcdir} application indicators: ${enable_appindicator} ************************************************* " alarm-clock-applet-0.3.3/src/0002775000175000017500000000000011762723364012774 500000000000000alarm-clock-applet-0.3.3/src/tests/0002775000175000017500000000000011762723364014136 500000000000000alarm-clock-applet-0.3.3/src/tests/test_util.c0000644000175000017500000000405211030467350016217 00000000000000/* * glade_util.c -- Test for alarm utilities. * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include "util.h" #define FILENAME1 "some.file.ext" #define FILENAME2 "some file" #define CMD1 "ls" #define CMD2 "not-found" int main(void) { gchar *tmp, ftime[256]; gboolean ret; time_t now, ts; struct tm *tm; guint hour, min, sec; g_print ("Testing to_basename():\n\n"); tmp = to_basename (FILENAME1); g_print ("to_basename (" FILENAME1 "): %s\n", tmp); g_free (tmp); tmp = to_basename (FILENAME2); g_print ("to_basename (" FILENAME2 "): %s\n", tmp); g_free (tmp); g_print ("\nTesting run_command():\n\n"); ret = command_run (CMD1); g_print ("Running " CMD1 " = %d\n", ret); ret = command_run (CMD2); g_print ("Running " CMD2 " = %d\n", ret); g_print ("\nTesting get_alarm_timestamp()\n\n"); time (&now); tm = localtime (&now); strftime (ftime, sizeof (ftime), "%c", tm); hour = tm->tm_hour; min = tm->tm_min; sec = tm->tm_sec; g_print ("Time: %s\n", ftime); ts = get_alarm_timestamp(hour, min, sec - 10); g_print ("For -10s: %d: %s\n", ts, ctime (&ts)); ts = get_alarm_timestamp(hour, min, sec + 10); g_print ("For +10s: %d: %s\n", ts, ctime (&ts)); return 0; } alarm-clock-applet-0.3.3/src/tests/test_gconf_recursive.c0000644000175000017500000000405611030467350020431 00000000000000/* * test_gconf_recursive.c -- Test utility for recursively unsetting a gconf dir. * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include static void notify (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data) { g_debug ("notify (%p, %d, %p, %p)", client, cnxn_id, entry, user_data); if (entry) { g_debug ("\t%s = %p", entry->key, entry->value); } } int main(void) { GConfClient *client; GError *err = NULL; gboolean result; GMainLoop *loop = g_main_loop_new(g_main_context_default(), FALSE); client = gconf_client_get_default(); gconf_client_add_dir (client, "/apps/atest", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); gconf_client_notify_add (client, "/apps/atest", notify, NULL, NULL, NULL); result = gconf_client_recursive_unset (client, "/apps/atest/foo", GCONF_UNSET_INCLUDING_SCHEMA_NAMES, &err); g_debug ("result: %d", result); g_debug ("err: %p", err); gconf_client_suggest_sync (client, &err); g_debug ("result: %d", result); g_debug ("err: %p", err); g_main_loop_run (loop); //result = gconf_client_unset (client, "/apps/atest/fooz", &err); //result = gconf_client_ /*g_debug ("result: %d", result); g_debug ("err: %p", err);*/ return 0; }alarm-clock-applet-0.3.3/src/tests/Makefile.in0000664000175000017500000007050411762720131016114 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Alarm Clock VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/Makefile.decl check_PROGRAMS = $(am__EXEEXT_1) test_player$(EXEEXT) \ test_list_entry$(EXEEXT) test_util$(EXEEXT) \ test_gconf_recursive$(EXEEXT) test_libnotify$(EXEEXT) subdir = src/tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__EXEEXT_1 = test_alarm$(EXEEXT) am_test_alarm_OBJECTS = alarm.$(OBJEXT) player.$(OBJEXT) \ test_alarm.$(OBJEXT) test_alarm_OBJECTS = $(am_test_alarm_OBJECTS) test_alarm_DEPENDENCIES = am_test_gconf_recursive_OBJECTS = test_gconf_recursive.$(OBJEXT) test_gconf_recursive_OBJECTS = $(am_test_gconf_recursive_OBJECTS) test_gconf_recursive_DEPENDENCIES = am_test_libnotify_OBJECTS = test_libnotify.$(OBJEXT) test_libnotify_OBJECTS = $(am_test_libnotify_OBJECTS) test_libnotify_DEPENDENCIES = am_test_list_entry_OBJECTS = list-entry.$(OBJEXT) util.$(OBJEXT) \ test_list_entry.$(OBJEXT) test_list_entry_OBJECTS = $(am_test_list_entry_OBJECTS) test_list_entry_DEPENDENCIES = am_test_player_OBJECTS = player.$(OBJEXT) test_player.$(OBJEXT) test_player_OBJECTS = $(am_test_player_OBJECTS) test_player_DEPENDENCIES = am_test_util_OBJECTS = util.$(OBJEXT) test_util.$(OBJEXT) test_util_OBJECTS = $(am_test_util_OBJECTS) test_util_DEPENDENCIES = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; SOURCES = $(test_alarm_SOURCES) $(test_gconf_recursive_SOURCES) \ $(test_libnotify_SOURCES) $(test_list_entry_SOURCES) \ $(test_player_SOURCES) $(test_util_SOURCES) DIST_SOURCES = $(test_alarm_SOURCES) $(test_gconf_recursive_SOURCES) \ $(test_libnotify_SOURCES) $(test_list_entry_SOURCES) \ $(test_player_SOURCES) $(test_util_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ ALARM_CLOCK_MAJOR_VERSION = @ALARM_CLOCK_MAJOR_VERSION@ ALARM_CLOCK_MICRO_VERSION = @ALARM_CLOCK_MICRO_VERSION@ ALARM_CLOCK_MINOR_VERSION = @ALARM_CLOCK_MINOR_VERSION@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APP_INDICATOR_CFLAGS = @APP_INDICATOR_CFLAGS@ APP_INDICATOR_LIBS = @APP_INDICATOR_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BASE_CFLAGS = @BASE_CFLAGS@ BASE_LIBS = @BASE_LIBS@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ GSTREAMER_LIBS = @GSTREAMER_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBNOTIFY_0_7_CFLAGS = @LIBNOTIFY_0_7_CFLAGS@ LIBNOTIFY_0_7_LIBS = @LIBNOTIFY_0_7_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @BASE_LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ GTESTER = gtester # for non-GLIB packages GTESTER_REPORT = gtester-report # for non-GLIB package # initialize variables for unconditional += appending EXTRA_DIST = TEST_PROGS = test_alarm AM_CFLAGS = \ -DALARM_CLOCK_DATADIR=\"$(datadir)\" \ -DALARM_CLOCK_PKGDATADIR=\"$(pkgdatadir)\" \ -I$(top_srcdir) \ -I$(top_srcdir)/src \ @BASE_CFLAGS@ @GTK_CFLAGS@ @GSTREAMER_CFLAGS@ \ @GNOME_CFLAGS@ @WARN_CFLAGS@ test_player_SOURCES = $(top_srcdir)/src/player.c $(top_srcdir)/src/player.h test_player.c test_player_LDADD = @GSTREAMER_LIBS@ test_list_entry_SOURCES = $(top_srcdir)/src/list-entry.c \ $(top_srcdir)/src/list-entry.h \ $(top_srcdir)/src/util.c \ test_list_entry.c test_list_entry_LDADD = @GTK_LIBS@ test_util_SOURCES = $(top_srcdir)/src/util.c $(top_srcdir)/src/util.h test_util.c test_util_LDADD = @GTK_LIBS@ test_alarm_SOURCES = \ $(top_srcdir)/src/alarm.c \ $(top_srcdir)/src/player.c \ test_alarm.c test_alarm_LDADD = @GNOME_LIBS@ @GSTREAMER_LIBS@ test_gconf_recursive_SOURCES = test_gconf_recursive.c test_gconf_recursive_LDADD = @GNOME_LIBS@ test_libnotify_SOURCES = test_libnotify.c test_libnotify_LDADD = @GTK_LIBS@ @GNOME_LIBS@ all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign src/tests/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-checkPROGRAMS: -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) test_alarm$(EXEEXT): $(test_alarm_OBJECTS) $(test_alarm_DEPENDENCIES) $(EXTRA_test_alarm_DEPENDENCIES) @rm -f test_alarm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_alarm_OBJECTS) $(test_alarm_LDADD) $(LIBS) test_gconf_recursive$(EXEEXT): $(test_gconf_recursive_OBJECTS) $(test_gconf_recursive_DEPENDENCIES) $(EXTRA_test_gconf_recursive_DEPENDENCIES) @rm -f test_gconf_recursive$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_gconf_recursive_OBJECTS) $(test_gconf_recursive_LDADD) $(LIBS) test_libnotify$(EXEEXT): $(test_libnotify_OBJECTS) $(test_libnotify_DEPENDENCIES) $(EXTRA_test_libnotify_DEPENDENCIES) @rm -f test_libnotify$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_libnotify_OBJECTS) $(test_libnotify_LDADD) $(LIBS) test_list_entry$(EXEEXT): $(test_list_entry_OBJECTS) $(test_list_entry_DEPENDENCIES) $(EXTRA_test_list_entry_DEPENDENCIES) @rm -f test_list_entry$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_list_entry_OBJECTS) $(test_list_entry_LDADD) $(LIBS) test_player$(EXEEXT): $(test_player_OBJECTS) $(test_player_DEPENDENCIES) $(EXTRA_test_player_DEPENDENCIES) @rm -f test_player$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_player_OBJECTS) $(test_player_LDADD) $(LIBS) test_util$(EXEEXT): $(test_util_OBJECTS) $(test_util_DEPENDENCIES) $(EXTRA_test_util_DEPENDENCIES) @rm -f test_util$(EXEEXT) $(AM_V_CCLD)$(LINK) $(test_util_OBJECTS) $(test_util_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list-entry.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_alarm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_gconf_recursive.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_libnotify.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_list_entry.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_player.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_util.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` alarm.o: $(top_srcdir)/src/alarm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alarm.o -MD -MP -MF $(DEPDIR)/alarm.Tpo -c -o alarm.o `test -f '$(top_srcdir)/src/alarm.c' || echo '$(srcdir)/'`$(top_srcdir)/src/alarm.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alarm.Tpo $(DEPDIR)/alarm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/alarm.c' object='alarm.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alarm.o `test -f '$(top_srcdir)/src/alarm.c' || echo '$(srcdir)/'`$(top_srcdir)/src/alarm.c alarm.obj: $(top_srcdir)/src/alarm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alarm.obj -MD -MP -MF $(DEPDIR)/alarm.Tpo -c -o alarm.obj `if test -f '$(top_srcdir)/src/alarm.c'; then $(CYGPATH_W) '$(top_srcdir)/src/alarm.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/alarm.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alarm.Tpo $(DEPDIR)/alarm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/alarm.c' object='alarm.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alarm.obj `if test -f '$(top_srcdir)/src/alarm.c'; then $(CYGPATH_W) '$(top_srcdir)/src/alarm.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/alarm.c'; fi` player.o: $(top_srcdir)/src/player.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT player.o -MD -MP -MF $(DEPDIR)/player.Tpo -c -o player.o `test -f '$(top_srcdir)/src/player.c' || echo '$(srcdir)/'`$(top_srcdir)/src/player.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/player.Tpo $(DEPDIR)/player.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/player.c' object='player.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o player.o `test -f '$(top_srcdir)/src/player.c' || echo '$(srcdir)/'`$(top_srcdir)/src/player.c player.obj: $(top_srcdir)/src/player.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT player.obj -MD -MP -MF $(DEPDIR)/player.Tpo -c -o player.obj `if test -f '$(top_srcdir)/src/player.c'; then $(CYGPATH_W) '$(top_srcdir)/src/player.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/player.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/player.Tpo $(DEPDIR)/player.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/player.c' object='player.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o player.obj `if test -f '$(top_srcdir)/src/player.c'; then $(CYGPATH_W) '$(top_srcdir)/src/player.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/player.c'; fi` list-entry.o: $(top_srcdir)/src/list-entry.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT list-entry.o -MD -MP -MF $(DEPDIR)/list-entry.Tpo -c -o list-entry.o `test -f '$(top_srcdir)/src/list-entry.c' || echo '$(srcdir)/'`$(top_srcdir)/src/list-entry.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/list-entry.Tpo $(DEPDIR)/list-entry.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/list-entry.c' object='list-entry.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o list-entry.o `test -f '$(top_srcdir)/src/list-entry.c' || echo '$(srcdir)/'`$(top_srcdir)/src/list-entry.c list-entry.obj: $(top_srcdir)/src/list-entry.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT list-entry.obj -MD -MP -MF $(DEPDIR)/list-entry.Tpo -c -o list-entry.obj `if test -f '$(top_srcdir)/src/list-entry.c'; then $(CYGPATH_W) '$(top_srcdir)/src/list-entry.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/list-entry.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/list-entry.Tpo $(DEPDIR)/list-entry.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/list-entry.c' object='list-entry.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o list-entry.obj `if test -f '$(top_srcdir)/src/list-entry.c'; then $(CYGPATH_W) '$(top_srcdir)/src/list-entry.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/list-entry.c'; fi` util.o: $(top_srcdir)/src/util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT util.o -MD -MP -MF $(DEPDIR)/util.Tpo -c -o util.o `test -f '$(top_srcdir)/src/util.c' || echo '$(srcdir)/'`$(top_srcdir)/src/util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/util.Tpo $(DEPDIR)/util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/util.c' object='util.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o util.o `test -f '$(top_srcdir)/src/util.c' || echo '$(srcdir)/'`$(top_srcdir)/src/util.c util.obj: $(top_srcdir)/src/util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT util.obj -MD -MP -MF $(DEPDIR)/util.Tpo -c -o util.obj `if test -f '$(top_srcdir)/src/util.c'; then $(CYGPATH_W) '$(top_srcdir)/src/util.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/util.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/util.Tpo $(DEPDIR)/util.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/src/util.c' object='util.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o util.obj `if test -f '$(top_srcdir)/src/util.c'; then $(CYGPATH_W) '$(top_srcdir)/src/util.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/util.c'; fi` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-local check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-checkPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: check-am install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \ clean-checkPROGRAMS clean-generic ctags distclean \ distclean-compile distclean-generic distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am ### testing rules # test: run all tests in cwd and subdirs test: ${TEST_PROGS} @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} @ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done # test-report: run tests in subdirs and generate report # perf-report: run tests in subdirs with -m perf and generate report # full-report: like test-report: with -m perf and -m slow test-report perf-report full-report: ${TEST_PROGS} @test -z "${TEST_PROGS}" || { \ case $@ in \ test-report) test_options="-k";; \ perf-report) test_options="-k -m=perf";; \ full-report) test_options="-k -m=perf -m=slow";; \ esac ; \ if test -z "$$GTESTER_LOGDIR" ; then \ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ elif test -n "${TEST_PROGS}" ; then \ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ fi ; \ } @ ignore_logdir=true ; \ if test -z "$$GTESTER_LOGDIR" ; then \ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ ignore_logdir=false ; \ fi ; \ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done ; \ $$ignore_logdir || { \ echo '' > $@.xml ; \ echo '' >> $@.xml ; \ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ done ; \ echo >> $@.xml ; \ echo '' >> $@.xml ; \ rm -rf "$$GTESTER_LOGDIR"/ ; \ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ } .PHONY: test test-report perf-report full-report # run make test as part of make check check-local: test test_alarm_cpp: cpp $(INCLUDES) test_alarm.c # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: alarm-clock-applet-0.3.3/src/tests/test_alarm.c0000644000175000017500000003236611343442503016347 00000000000000/* * test_alarm.c -- Alarm test suite * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include "alarm.h" #include #include #include #define GCONF_DIR "/apps/alarm-clock/test" /* Fixture */ typedef struct { Alarm *alarm; } AlarmFixture; static int state = 0; /* * TEST FIXTURE setup * * Called before each test case */ static void alarm_fixture_setup (AlarmFixture *fix, gconstpointer test_data) { fix->alarm = alarm_new (GCONF_DIR, 0); g_assert (fix->alarm != NULL); } /* * TEST FIXTURE teardown * * Called after each test case */ static void alarm_fixture_teardown (AlarmFixture *fix, gconstpointer test_data) { g_assert (fix->alarm != NULL); alarm_delete (fix->alarm); g_object_unref (fix->alarm); } /* * TEST: Alarm properties * * 1. Will set properties and verify them * 2. Will try to load properties from GConf and verify them */ static void test_alarm_props (AlarmFixture *fix, gconstpointer test_data) { Alarm *alarm = fix->alarm; // g_object_set (alarm, "gconf-dir", "bar", NULL); // Shouldn't work g_object_set (alarm, "id", 0, "type", ALARM_TYPE_TIMER, "time", 1234, "timestamp", 5678, "active", FALSE, "message", "Wakety zooom!", "repeat", ALARM_REPEAT_MON | ALARM_REPEAT_WED, "notify_type", ALARM_NOTIFY_COMMAND, "sound_file", "file:///foo/bar", "sound_repeat", FALSE, "command", "wiggle-your-toe --arg", NULL); /* Verify properties */ g_assert_cmpstr (alarm->gconf_dir, ==, GCONF_DIR); g_assert_cmpint (alarm->id, ==, 0); g_assert_cmpint (alarm->type, ==, ALARM_TYPE_TIMER); g_assert_cmpint (alarm->time, ==, 1234); g_assert_cmpint (alarm->timestamp, ==, 5678); g_assert_cmpint (alarm->active, ==, FALSE); g_assert_cmpstr (alarm->message, ==, "Wakety zooom!"); g_assert_cmpint (alarm->repeat, ==, ALARM_REPEAT_MON | ALARM_REPEAT_WED); g_assert_cmpint (alarm->notify_type, ==, ALARM_NOTIFY_COMMAND); g_assert_cmpstr (alarm->sound_file, ==, "file:///foo/bar"); g_assert_cmpint (alarm->sound_loop, ==, FALSE); g_assert_cmpstr (alarm->command, ==, "wiggle-your-toe --arg"); /* Unref alarm */ g_object_unref (fix->alarm); /* Load settings from GConf */ fix->alarm = alarm = alarm_new (GCONF_DIR, 0); /* Verify properties */ g_assert_cmpstr (alarm->gconf_dir, ==, GCONF_DIR); g_assert_cmpint (alarm->id, ==, 0); g_assert_cmpint (alarm->type, ==, ALARM_TYPE_TIMER); g_assert_cmpint (alarm->time, ==, 1234); g_assert_cmpint (alarm->timestamp, ==, 5678); g_assert_cmpint (alarm->active, ==, FALSE); g_assert_cmpstr (alarm->message, ==, "Wakety zooom!"); g_assert_cmpint (alarm->repeat, ==, ALARM_REPEAT_MON | ALARM_REPEAT_WED); g_assert_cmpint (alarm->notify_type, ==, ALARM_NOTIFY_COMMAND); g_assert_cmpstr (alarm->sound_file, ==, "file:///foo/bar"); g_assert_cmpint (alarm->sound_loop, ==, FALSE); g_assert_cmpstr (alarm->command, ==, "wiggle-your-toe --arg"); } /* * TEST: AlarmType */ static void test_alarm_type (AlarmFixture *fix, gconstpointer test_data) { // alarm_type_to_string () g_assert (alarm_type_to_string (ALARM_TYPE_INVALID) == NULL); g_assert_cmpstr (alarm_type_to_string (ALARM_TYPE_CLOCK), ==, "clock"); g_assert_cmpstr (alarm_type_to_string (ALARM_TYPE_TIMER), ==, "timer"); // alarm_type_from_string () g_assert_cmpint (alarm_type_from_string ("invalid"), ==, ALARM_TYPE_INVALID); g_assert_cmpint (alarm_type_from_string ("clock"), ==, ALARM_TYPE_CLOCK); g_assert_cmpint (alarm_type_from_string ("timer"), ==, ALARM_TYPE_TIMER); } /* * TEST: AlarmNotifyType */ static void test_alarm_notify_type (AlarmFixture *fix, gconstpointer test_data) { // alarm_notify_type_to_string () g_assert (alarm_notify_type_to_string (ALARM_NOTIFY_INVALID) == NULL); g_assert_cmpstr (alarm_notify_type_to_string (ALARM_NOTIFY_SOUND), ==, "sound"); g_assert_cmpstr (alarm_notify_type_to_string (ALARM_NOTIFY_COMMAND), ==, "command"); // alarm_notify_type_from_string () g_assert_cmpint (alarm_notify_type_from_string ("invalid"), ==, ALARM_NOTIFY_INVALID); g_assert_cmpint (alarm_notify_type_from_string ("sound"), ==, ALARM_NOTIFY_SOUND); g_assert_cmpint (alarm_notify_type_from_string ("command"), ==, ALARM_NOTIFY_COMMAND); } /* * TEST: Alarm list */ static void test_alarm_list (AlarmFixture *fix, gconstpointer test_data) { GList *list = NULL, *l; guint i = 0; Alarm *a; // Initialize with some dummy alarms a = alarm_new (GCONF_DIR, 3); g_object_unref (a); a = alarm_new (GCONF_DIR, 5); g_object_unref (a); a = alarm_new (GCONF_DIR, 8); g_object_unref (a); a = alarm_new (GCONF_DIR, 123); g_object_unref (a); // Get list list = alarm_get_list (GCONF_DIR); for (l = list; l; l = l->next, i++) { int eq; switch (i) { case 0: eq = 3; break; case 1: eq = 5; break; case 2: eq = 8; break; case 3: eq = 123; break; default: g_assert_not_reached (); break; } a = ALARM (l->data); g_assert_cmpint (a->id, ==, eq); alarm_delete (a); g_object_unref (a); } g_list_free (list); } /* * Alarm signal handler */ static void test_alarm_signal_alarm (Alarm *a, gchar *data) { //g_print ("ALARM on %p! Data: %s\n", a, data); g_assert_cmpuint (a->triggered, ==, TRUE); g_assert_cmpstr (data, ==, "the data"); state = 1; } static int n_cleared = 0; /* * Cleared signal handler */ static void test_alarm_signal_cleared (Alarm *a, gchar *data) { g_assert_cmpuint (a->triggered, ==, FALSE); g_assert_cmpstr (data, ==, "the data"); n_cleared++; state = 2; } /* * Error signal handler */ static void test_alarm_signal_error (Alarm *a, GError *err, gchar *data) { //g_print ("ERROR on %p! Message: %s, Code: %d, Data: %s", a, err->message, err->code, data); g_assert_cmpint (a->id, ==, 0); g_assert_cmpstr (err->message, ==, "Something bad happened"); g_assert_cmpint (err->code, ==, 123); g_assert_cmpstr (data, ==, "the error data"); state = 3; } /* * TEST: Alarm signals * * 1. Test "alarm" signal * 2. Test "cleared" signal * 3. Test "error" signal */ static void test_alarm_signals (AlarmFixture *fix, gconstpointer test_data) { Alarm *alarm = fix->alarm; state = 0; g_object_set (alarm, "notify_type", ALARM_NOTIFY_COMMAND, "command", "echo", NULL); // Test alarm signals g_signal_connect (alarm, "alarm", G_CALLBACK (test_alarm_signal_alarm), "the data"); g_signal_connect (alarm, "cleared", G_CALLBACK (test_alarm_signal_cleared), "the data"); alarm_trigger (alarm); g_assert_cmpint (state, ==, 1); g_assert_cmpint (n_cleared, ==, 0); // again... alarm_trigger (alarm); g_assert_cmpint (state, ==, 1); g_assert_cmpint (n_cleared, ==, 1); // Test cleared signals alarm_clear (alarm); g_assert_cmpint (state, ==, 2); // Make sure cleared is only triggered once state = 0; alarm_clear (alarm); g_assert_cmpint (state, ==, 0); // Test error signals g_signal_connect (alarm, "error", G_CALLBACK (test_alarm_signal_error), "the error data"); alarm_error_trigger (alarm, 123, "Something bad happened"); g_assert_cmpint (state, ==, 3); } /* * Callback function for stopping the GMainLoop */ static gboolean stop_loop (GMainLoop *loop) { g_main_loop_quit (loop); return FALSE; } /* * TEST: Notify types * * 1. Test SOUND notification * 2. Test COMMAND notification */ static void test_alarm_notify (AlarmFixture *fix, gconstpointer test_data) { Alarm *alarm = fix->alarm; GMainLoop *loop = g_main_loop_new (g_main_context_default(), FALSE); // // Test COMMAND notification // g_object_set (alarm, "notify_type", ALARM_NOTIFY_COMMAND, "command", "ls -a", NULL); alarm_trigger (alarm); // // Test SOUND notification // g_object_set (alarm, "notify_type", ALARM_NOTIFY_SOUND, "sound_file", "file:///usr/share/sounds/gnome/default/alerts/sonar.ogg", "sound_repeat", FALSE, NULL); alarm_trigger (alarm); // We need to run the main loop for a couple of seconds // so the player error/state callbacks get the alarm // instance while it's still alive. g_timeout_add (2000, stop_loop, loop); // Stop loop after 2 secs g_main_loop_run (loop); } /* * Callback for alarm signal. * Will set state to the current timestamp. */ static void test_alarm_timers_alarm (Alarm *a, gchar *data) { g_debug ("test_alarm_timers_ALARM"); state = time (NULL); } /* * TEST: Alarm timers * * 1. Test alarm CLOCK setting time to 5 seconds from now. * 2. Test alarm TIMER setting time to 3 seconds. * 3. Test alarm snooze for 2 seconds */ static void test_alarm_timers (AlarmFixture *fix, gconstpointer test_data) { Alarm *alarm = fix->alarm; time_t now = time(NULL); struct tm *tm; GMainLoop *loop = g_main_loop_new (g_main_context_default(), FALSE); // Alarm signal handler g_signal_connect (alarm, "alarm", G_CALLBACK (test_alarm_timers_alarm), "the data"); // // Test CLOCK 5sec from now // now = time (NULL); tm = localtime (&now); //g_debug ("TEST SET %d => %d:%d:%d", now, tm->tm_hour, tm->tm_min, tm->tm_sec + 5); alarm_set_time (alarm, tm->tm_hour, tm->tm_min, tm->tm_sec + 5); g_object_set (alarm, "type", ALARM_TYPE_CLOCK, "notify_type", ALARM_NOTIFY_COMMAND, "command", "echo CMDALARM", NULL); alarm_enable (alarm); state = 0; g_timeout_add (6000, stop_loop, loop); // Stop loop after 6 secs g_main_loop_run (loop); g_assert_cmpint (state - now, ==, 5); // // Test TIMER 3sec // g_object_set (alarm, "type", ALARM_TYPE_TIMER, "time", 3, NULL); alarm_enable (alarm); state = 0; now = time (NULL); g_timeout_add (4000, stop_loop, loop); // Stop loop after 4 secs g_main_loop_run (loop); g_assert_cmpint (state - now, ==, 3); // // Test snooze for 2 seconds // now = time (NULL); alarm_snooze (alarm, 2); g_assert_cmpint (alarm->timestamp, ==, now + 2); } /* * TEST: AlarmRepeat */ static void test_alarm_repeat (AlarmFixture *fix, gconstpointer test_data) { AlarmRepeat r, rep; const gchar *str; gint i, wnow, wday; GSList *list, *l; struct tm *tm; time_t now; time (&now); // // Test single repeats to string and back again // g_print ("SINGLE:\n"); for (r = ALARM_REPEAT_SUN, i = 1; r <= ALARM_REPEAT_SAT; r = 1 << ++i) { str = alarm_repeat_to_string (r); rep = alarm_repeat_from_string (str); g_assert_cmpint (r, ==, rep); } // // Test repeat to list // // NONE rep = ALARM_REPEAT_NONE; list = alarm_repeat_to_list (rep); g_assert (NULL == list); rep = alarm_repeat_from_list (list); g_assert_cmpint (rep, ==, ALARM_REPEAT_NONE); // MULTIPLE rep = ALARM_REPEAT_MON | ALARM_REPEAT_WED | ALARM_REPEAT_FRI; list = alarm_repeat_to_list (rep); GString *s = g_string_new (""); for (l = list; l; l = l->next) { s = g_string_append (s, (gchar *)l->data); } g_assert_cmpstr (s->str, ==, "monwedfri"); g_string_free (s, TRUE); r = alarm_repeat_from_list (list); g_assert_cmpint (r, ==, rep); // // Test repeat to pretty // str = alarm_repeat_to_pretty (ALARM_REPEAT_WEEKDAYS); g_assert_cmpstr (str, ==, _("Weekdays")); g_free (str); str = alarm_repeat_to_pretty (ALARM_REPEAT_ALL); g_assert_cmpstr (str, ==, _("Every day")); g_free (str); str = alarm_repeat_to_pretty (ALARM_REPEAT_MON | ALARM_REPEAT_WED | ALARM_REPEAT_FRI); g_assert_cmpstr (str, ==, _("Mon, Wed, Fri")); g_free (str); // Should free data as well but we're lazy g_slist_free (list); } /* * Run them tests! */ int main (int argc, char **argv) { g_type_init(); g_test_init(&argc, &argv, NULL); // Alarm primitives g_test_add ("/alarm/type", AlarmFixture, 0, NULL, test_alarm_type, NULL); g_test_add ("/alarm/nofity_type", AlarmFixture, 0, NULL, test_alarm_notify_type, NULL); g_test_add ("/alarm/list", AlarmFixture, 0, NULL, test_alarm_list, NULL); g_test_add ("/alarm/repeat", AlarmFixture, 0, NULL, test_alarm_repeat, NULL); // Full system tests g_test_add ("/alarm/props", AlarmFixture, 0, alarm_fixture_setup, test_alarm_props, alarm_fixture_teardown); g_test_add ("/alarm/signal", AlarmFixture, 0, alarm_fixture_setup, test_alarm_signals, alarm_fixture_teardown); g_test_add ("/alarm/notify", AlarmFixture, 0, alarm_fixture_setup, test_alarm_notify, alarm_fixture_teardown); g_test_add ("/alarm/timers", AlarmFixture, 0, alarm_fixture_setup, test_alarm_timers, alarm_fixture_teardown); return g_test_run (); } alarm-clock-applet-0.3.3/src/tests/Makefile.am0000644000175000017500000000250111347771555016110 00000000000000include $(top_srcdir)/Makefile.decl AM_CFLAGS = \ -DALARM_CLOCK_DATADIR=\"$(datadir)\" \ -DALARM_CLOCK_PKGDATADIR=\"$(pkgdatadir)\" \ -I$(top_srcdir) \ -I$(top_srcdir)/src \ @BASE_CFLAGS@ @GTK_CFLAGS@ @GSTREAMER_CFLAGS@ \ @GNOME_CFLAGS@ @WARN_CFLAGS@ LIBS = @BASE_LIBS@ check_PROGRAMS = $(TEST_PROGS) test_player test_list_entry test_util \ test_gconf_recursive test_libnotify TEST_PROGS += test_alarm test_player_SOURCES = $(top_srcdir)/src/player.c $(top_srcdir)/src/player.h test_player.c test_player_LDADD = @GSTREAMER_LIBS@ test_list_entry_SOURCES = $(top_srcdir)/src/list-entry.c \ $(top_srcdir)/src/list-entry.h \ $(top_srcdir)/src/util.c \ test_list_entry.c test_list_entry_LDADD = @GTK_LIBS@ test_util_SOURCES = $(top_srcdir)/src/util.c $(top_srcdir)/src/util.h test_util.c test_util_LDADD = @GTK_LIBS@ test_alarm_SOURCES = \ $(top_srcdir)/src/alarm.c \ $(top_srcdir)/src/player.c \ test_alarm.c test_alarm_LDADD = @GNOME_LIBS@ @GSTREAMER_LIBS@ test_alarm_cpp: cpp $(INCLUDES) test_alarm.c test_gconf_recursive_SOURCES = test_gconf_recursive.c test_gconf_recursive_LDADD = @GNOME_LIBS@ test_libnotify_SOURCES = test_libnotify.c test_libnotify_LDADD = @GTK_LIBS@ @GNOME_LIBS@ alarm-clock-applet-0.3.3/src/tests/test_player.c0000644000175000017500000000363611760720341016547 00000000000000/* * test_player.c -- Test utility for the MediaPlayer system. * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include "player.h" GMainLoop *loop; MediaPlayer *player; void state_changed (MediaPlayer *player, MediaPlayerState state, gchar *data) { g_debug ("State changed to %s [%d], data is '%s'", (state == MEDIA_PLAYER_PLAYING) ? "PLAYING" : "STOPPED", state, data); if (state == MEDIA_PLAYER_STOPPED && !player->loop) { g_main_loop_quit (loop); } } void error_handler (MediaPlayer *player, GError *error, gchar *data) { g_debug ("Error occured: %s, data is '%s'", error->message, data); } int main (int argc, char **argv) { if (argc < 2) { g_print ("Usage: %s \n", argv[0]); return 1; } // Terminate on critical errors g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL); player = media_player_new(argv[1], TRUE, state_changed, "test data", error_handler, "test error"); media_player_start (player); loop = g_main_loop_new (g_main_context_default(), TRUE); g_main_loop_run (loop); media_player_free(player); return 0; } alarm-clock-applet-0.3.3/src/tests/test_list_entry.c0000644000175000017500000000436011336057335017447 00000000000000/* * test_list_entry.c -- Test for AlarmListEntry * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include "list-entry.h" static void entry_dump (AlarmListEntry *entry) { g_print ("ListEntry %p: "); if (entry != NULL) g_print ("name: '%s', data: '%s', icon: '%s'", entry->name, entry->data, entry->icon); g_print ("\n"); } int main (void) { AlarmListEntry *entry = NULL; GList *list = NULL, *l; GError *result; gchar *mime; guint i; g_type_init(); // Test alarm list entry alloc entry = alarm_list_entry_new ("Name", "Some data", "Icon"); entry_dump (entry); alarm_list_entry_free(entry); entry = alarm_list_entry_new ("Name", NULL, NULL); entry_dump (entry); alarm_list_entry_free(entry); // Test alarm list entry from file entry = alarm_list_entry_new_file("file:///usr/share/sounds/gnome/default/alerts/glass.ogg", &mime, &result); entry_dump (entry); // g_print ("VFSResult: %s, MIME: %s\n", gnome_vfs_result_to_string(result), mime); alarm_list_entry_free (entry); g_free (mime); // Test alarm list list = alarm_list_entry_list_new ("file:///usr/share/sounds/gnome/default/alerts/", NULL); g_print ("\nGot %d entries: \n---\n", g_list_length(list)); for (l = list, i = 0; l; l = l->next, i++) { entry = (AlarmListEntry *)l->data; g_print ("#%2d: ", i); entry_dump (entry); } alarm_list_entry_list_free (&list); g_print ("After list_free: %p\n", list); return 0; } alarm-clock-applet-0.3.3/src/tests/test_libnotify.c0000644000175000017500000000353611344340333017246 00000000000000/* * test_libnotify.c -- Test libnotify * * Copyright (C) 2010 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include #include /* #include #include #include */ GMainLoop *loop; NotifyNotification *n; gboolean close_notify (gpointer data) { g_debug("CLOSE NOTIFY: %d", notify_notification_close (n, NULL)); return FALSE; } int main(int argc, char *argv[]) { gtk_init(&argc, &argv); if (!notify_init("Alarm Clock")) return 1; GtkStatusIcon *si = gtk_status_icon_new_from_icon_name ("alarm-clock"); /* Stock icon */ n = notify_notification_new_with_status_icon("Alarm & Test", "Click the alarm icon to snooze", "alarm-timer", si); if (!notify_notification_show(n, NULL)) { fprintf(stderr, "failed to send notification\n"); return 1; } g_timeout_add_seconds (1, close_notify, NULL); gtk_main (); return 0; } alarm-clock-applet-0.3.3/src/alarm.c0000644000175000017500000013634211731401466014151 00000000000000/* * alarm.c -- Core alarm functionality * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include #include "alarm.h" G_DEFINE_TYPE (Alarm, alarm, G_TYPE_OBJECT); /* Prototypes and constants for property manipulation */ static void alarm_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void alarm_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void alarm_constructed (GObject *object); static void alarm_dispose (GObject *object); static void alarm_gconf_associate_schemas (Alarm *alarm); static void alarm_gconf_connect (Alarm *alarm); static void alarm_gconf_disconnect (Alarm *alarm); static void alarm_gconf_dir_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer data); static void alarm_timer_start (Alarm *alarm); static void alarm_timer_remove (Alarm *alarm); static gboolean alarm_timer_is_started (Alarm *alarm); static void alarm_player_start (Alarm *alarm); static void alarm_player_stop (Alarm *alarm); static void alarm_command_run (Alarm *alarm); #define ALARM_PRIVATE(o) \ (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ALARM, AlarmPrivate)) typedef struct _AlarmPrivate AlarmPrivate; struct _AlarmPrivate { GConfClient *gconf_client; guint gconf_listener; guint timer_id; MediaPlayer *player; guint player_timer_id; }; static GConfEnumStringPair alarm_type_enum_map [] = { { ALARM_TYPE_CLOCK, "clock" }, { ALARM_TYPE_TIMER, "timer" }, { 0, NULL } }; static GConfEnumStringPair alarm_repeat_enum_map [] = { { ALARM_REPEAT_SUN, "sun" }, { ALARM_REPEAT_MON, "mon" }, { ALARM_REPEAT_TUE, "tue" }, { ALARM_REPEAT_WED, "wed" }, { ALARM_REPEAT_THU, "thu" }, { ALARM_REPEAT_FRI, "fri" }, { ALARM_REPEAT_SAT, "sat" }, { 0, NULL } }; static GConfEnumStringPair alarm_notify_type_enum_map [] = { { ALARM_NOTIFY_SOUND, "sound" }, { ALARM_NOTIFY_COMMAND, "command" }, { 0, NULL } }; /* Property indexes */ enum { PROP_ALARM_0, PROP_DIR, PROP_ID, PROP_TRIGGERED, PROP_TYPE, PROP_TIME, PROP_TIMESTAMP, PROP_ACTIVE, PROP_MESSAGE, PROP_REPEAT, PROP_NOTIFY_TYPE, PROP_SOUND_FILE, PROP_SOUND_LOOP, PROP_COMMAND }; #define PROP_NAME_DIR "gconf-dir" #define PROP_NAME_ID "id" #define PROP_NAME_TRIGGERED "triggered" #define PROP_NAME_TYPE "type" #define PROP_NAME_TIME "time" #define PROP_NAME_TIMESTAMP "timestamp" #define PROP_NAME_ACTIVE "active" #define PROP_NAME_MESSAGE "message" #define PROP_NAME_REPEAT "repeat" #define PROP_NAME_NOTIFY_TYPE "notify-type" #define PROP_NAME_SOUND_FILE "sound-file" #define PROP_NAME_SOUND_LOOP "sound-repeat" #define PROP_NAME_COMMAND "command" /* Signal indexes */ enum { SIGNAL_ALARM, SIGNAL_CLEARED, SIGNAL_ERROR, SIGNAL_PLAYER, LAST_SIGNAL }; /* Signal identifier map */ static guint alarm_signal[LAST_SIGNAL] = {0, 0, 0, 0}; /* Prototypes for signal handlers */ static void alarm_alarm (Alarm *alarm); static void alarm_cleared (Alarm *alarm); static void alarm_error (Alarm *alarm, GError *err); static void alarm_player_changed (Alarm *alarm, MediaPlayerState state); /* Initialize the Alarm class */ static void alarm_class_init (AlarmClass *class) { GParamSpec *dir_param; GParamSpec *id_param; GParamSpec *triggered_param; GParamSpec *type_param; GParamSpec *time_param; GParamSpec *timestamp_param; GParamSpec *active_param; GParamSpec *message_param; GParamSpec *repeat_param; GParamSpec *notify_type_param; GParamSpec *sound_file_param; GParamSpec *sound_loop_param; GParamSpec *command_param; GObjectClass *g_object_class; /* get handle to base object */ g_object_class = G_OBJECT_CLASS (class); /* << miscellaneous initialization >> */ /* create GParamSpec descriptions for properties */ dir_param = g_param_spec_string (PROP_NAME_DIR, "GConf dir", "GConf base directory", NULL, G_PARAM_CONSTRUCT | G_PARAM_READWRITE); id_param = g_param_spec_uint (PROP_NAME_ID, "alarm id", "id of the alarm", 0, /* min */ UINT_MAX, /* max */ 0, /* default */ G_PARAM_CONSTRUCT | G_PARAM_READWRITE); triggered_param = g_param_spec_boolean (PROP_NAME_TRIGGERED, "alarm triggered", "triggered flag of the alarm", FALSE, G_PARAM_READABLE); type_param = g_param_spec_uint (PROP_NAME_TYPE, "alarm type", "type of the alarm", ALARM_TYPE_CLOCK, ALARM_TYPE_TIMER, ALARM_DEFAULT_TYPE, G_PARAM_READWRITE); time_param = g_param_spec_uint (PROP_NAME_TIME, "alarm time", "time when the alarm should trigger", 0, /* min */ UINT_MAX, /* max */ ALARM_DEFAULT_TIME, /* default */ G_PARAM_READWRITE); timestamp_param = g_param_spec_uint (PROP_NAME_TIMESTAMP, "alarm timestamp", "UNIX timestamp when the alarm should trigger", 0, /* min */ UINT_MAX, /* max */ ALARM_DEFAULT_TIME, /* default */ G_PARAM_READWRITE); active_param = g_param_spec_boolean (PROP_NAME_ACTIVE, "active alarm", "whether the alarm is on or not", ALARM_DEFAULT_ACTIVE, G_PARAM_READWRITE); message_param = g_param_spec_string (PROP_NAME_MESSAGE, "alarm message", "message which describes this alarm", ALARM_DEFAULT_MESSAGE, G_PARAM_READWRITE); repeat_param = g_param_spec_uint (PROP_NAME_REPEAT, "repeat", "repeat the alarm", ALARM_REPEAT_NONE, /* min */ ALARM_REPEAT_ALL, /* max */ ALARM_DEFAULT_REPEAT, /* default */ G_PARAM_READWRITE); notify_type_param = g_param_spec_uint (PROP_NAME_NOTIFY_TYPE, "notification type", "what kind of notification should be used", ALARM_NOTIFY_SOUND, ALARM_NOTIFY_COMMAND, ALARM_DEFAULT_NOTIFY_TYPE, G_PARAM_READWRITE); sound_file_param = g_param_spec_string (PROP_NAME_SOUND_FILE, "sound file", "sound file to play", ALARM_DEFAULT_SOUND_FILE, G_PARAM_READWRITE); sound_loop_param = g_param_spec_boolean (PROP_NAME_SOUND_LOOP, "sound loop", "whether the sound should be looped", ALARM_DEFAULT_SOUND_LOOP, G_PARAM_READWRITE); command_param = g_param_spec_string (PROP_NAME_COMMAND, "command", "command to run", ALARM_DEFAULT_COMMAND, G_PARAM_READWRITE); /* override base object methods */ g_object_class->set_property = alarm_set_property; g_object_class->get_property = alarm_get_property; g_object_class->constructed = alarm_constructed; g_object_class->dispose = alarm_dispose; /* install properties */ g_object_class_install_property (g_object_class, PROP_DIR, dir_param); g_object_class_install_property (g_object_class, PROP_ID, id_param); g_object_class_install_property (g_object_class, PROP_TRIGGERED, triggered_param); g_object_class_install_property (g_object_class, PROP_TYPE, type_param); g_object_class_install_property (g_object_class, PROP_TIME, time_param); g_object_class_install_property (g_object_class, PROP_TIMESTAMP, timestamp_param); g_object_class_install_property (g_object_class, PROP_ACTIVE, active_param); g_object_class_install_property (g_object_class, PROP_MESSAGE, message_param); g_object_class_install_property (g_object_class, PROP_REPEAT, repeat_param); g_object_class_install_property (g_object_class, PROP_NOTIFY_TYPE, notify_type_param); g_object_class_install_property (g_object_class, PROP_SOUND_FILE, sound_file_param); g_object_class_install_property (g_object_class, PROP_SOUND_LOOP, sound_loop_param); g_object_class_install_property (g_object_class, PROP_COMMAND, command_param); g_type_class_add_private (class, sizeof (AlarmPrivate)); /* set signal handlers */ class->alarm = alarm_alarm; class->cleared = alarm_cleared; class->error = alarm_error; class->player_changed = alarm_player_changed; /* install signals and default handlers */ alarm_signal[SIGNAL_ALARM] = g_signal_new ("alarm", /* name */ TYPE_ALARM, /* class type identifier */ G_SIGNAL_RUN_FIRST, /* options */ G_STRUCT_OFFSET (AlarmClass, alarm), /* handler offset */ NULL, /* accumulator function */ NULL, /* accumulator data */ g_cclosure_marshal_VOID__VOID, /* marshaller */ G_TYPE_NONE, /* type of return value */ 0); alarm_signal[SIGNAL_CLEARED] = g_signal_new ("cleared", TYPE_ALARM, G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (AlarmClass, cleared), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); alarm_signal[SIGNAL_ERROR] = g_signal_new ("error", TYPE_ALARM, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (AlarmClass, error), NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); alarm_signal[SIGNAL_PLAYER] = g_signal_new ("player_changed", /* name */ TYPE_ALARM, /* class type identifier */ G_SIGNAL_RUN_LAST, /* options */ G_STRUCT_OFFSET (AlarmClass, player_changed), /* handler offset */ NULL, /* accumulator function */ NULL, /* accumulator data */ g_cclosure_marshal_VOID__UINT, /* marshaller */ G_TYPE_NONE, /* type of return value */ 1, G_TYPE_UINT); } /* * Utility function for extracting the strings out of a GConfValue of type * GCONF_VALUE_LIST and placing them in a plan GSList of strings. * * Note: You should free the GSList returned but NOT the string contents. */ static GSList * alarm_gconf_extract_list_string (GConfValue *val) { GSList *list, *new_list, *l; g_assert (GCONF_VALUE_STRING == gconf_value_get_list_type (val)); /* Fetch GSList of GConfValues. Extract them and put into a plain list of strings. * Note that the returned string from gconf_value_get_string() is owned by the GConfValue * and should thus NOT be freed. */ list = gconf_value_get_list (val); new_list = NULL; for (l = list; l; l = l->next) { new_list = g_slist_append (new_list, (gpointer) gconf_value_get_string ((GConfValue *)l->data)); } return new_list; } static void alarm_gconf_load (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE (alarm); GConfClient *client = priv->gconf_client; GConfValue *val; gchar *key, *tmp; GSList *list; guint i; /* * TYPE */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_TYPE); tmp = gconf_client_get_string (client, key, NULL); g_free (key); i = alarm_type_from_string (tmp); if (i > 0) { alarm->type = i; } else { // Not found in GConf, fall back to defaults alarm->type = ALARM_DEFAULT_TYPE; g_object_set (alarm, PROP_NAME_TYPE, ALARM_DEFAULT_TYPE, NULL); } if (tmp) g_free (tmp); /* * TIME */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_TIME); val = gconf_client_get (client, key, NULL); g_free (key); if (val) { alarm->time = (time_t)gconf_value_get_int (val); gconf_value_free (val); } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_TIME, ALARM_DEFAULT_TIME, NULL); } /* * TIMESTAMP */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_TIMESTAMP); val = gconf_client_get (client, key, NULL); g_free (key); if (val) { alarm->timestamp = (time_t)gconf_value_get_int (val); gconf_value_free (val); } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_TIMESTAMP, ALARM_DEFAULT_TIMESTAMP, NULL); } /* * ACTIVE */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_ACTIVE); val = gconf_client_get (client, key, NULL); g_free (key); if (val) { // We g_object_set here so the timer will be started for // active alarms g_object_set (alarm, "active", gconf_value_get_bool (val), NULL); gconf_value_free (val); } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_ACTIVE, ALARM_DEFAULT_ACTIVE, NULL); } /* * MESSAGE */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_MESSAGE); tmp = gconf_client_get_string (client, key, NULL); g_free (key); if (tmp) { alarm->message = tmp; } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_MESSAGE, ALARM_DEFAULT_MESSAGE, NULL); } /* * REPEAT */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_REPEAT); val = gconf_client_get (client, key, NULL); g_free (key); if (val) { list = alarm_gconf_extract_list_string (val); alarm->repeat = alarm_repeat_from_list (list); g_slist_free (list); gconf_value_free (val); } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_REPEAT, ALARM_DEFAULT_REPEAT, NULL); } /* * NOTIFY TYPE */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_NOTIFY_TYPE); tmp = gconf_client_get_string (client, key, NULL); g_free (key); i = alarm_notify_type_from_string (tmp); if (i > 0) { alarm->notify_type = i; } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_NOTIFY_TYPE, ALARM_DEFAULT_NOTIFY_TYPE, NULL); } if (tmp) g_free (tmp); /* * SOUND FILE */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_SOUND_FILE); tmp = gconf_client_get_string (client, key, NULL); g_free (key); if (tmp) { alarm->sound_file = tmp; } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_SOUND_FILE, ALARM_DEFAULT_SOUND_FILE, NULL); } /* * SOUND LOOP */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_SOUND_LOOP); val = gconf_client_get (client, key, NULL); g_free (key); if (val) { alarm->sound_loop = gconf_value_get_bool (val); gconf_value_free (val); } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_SOUND_LOOP, ALARM_DEFAULT_SOUND_LOOP, NULL); } /* * COMMAND */ key = alarm_gconf_get_full_key (alarm, PROP_NAME_COMMAND); tmp = gconf_client_get_string (client, key, NULL); g_free (key); if (tmp) { alarm->command = tmp; } else { // Not found in GConf, fall back to defaults g_object_set (alarm, PROP_NAME_COMMAND, ALARM_DEFAULT_COMMAND, NULL); } } static void alarm_init (Alarm *self) { AlarmPrivate *priv = ALARM_PRIVATE (self); self->gconf_dir = NULL; self->id = -1; priv->gconf_listener = 0; priv->gconf_client = gconf_client_get_default (); } static void alarm_constructed (GObject *object) { Alarm *alarm = ALARM (object); // Load gconf settings alarm_gconf_load (alarm); // Connect gconf listener //alarm_gconf_connect (alarm); } /* set an Alarm property */ static void alarm_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { Alarm *alarm; AlarmPrivate *priv = ALARM_PRIVATE (object); GConfClient *client; GError *err = NULL; const gchar *str; guint d; gboolean b; GSList *list; gchar *key, *tmp; alarm = ALARM (object); client = priv->gconf_client; // DEBUGGING INFO GValue strval = {0}; g_value_init (&strval, G_TYPE_STRING); g_value_transform (value, &strval); g_debug ("Alarm(%p) #%d: set %s=%s", alarm, alarm->id, pspec->name, g_value_get_string(&strval)); switch (prop_id) { case PROP_DIR: str = g_value_get_string (value); /* Validate */ if (!str) { g_critical ("Invalid gconf-dir value: \"%s\": NULL", str); return; } if (!gconf_valid_key (str, &tmp)) { g_critical ("Invalid gconf-dir value: \"%s\": %s", str, tmp); g_free (tmp); return; } if (!alarm->gconf_dir || strcmp (str, alarm->gconf_dir) != 0) { // Changed, remove old gconf listeners alarm_gconf_disconnect (alarm); if (alarm->gconf_dir != NULL) g_free (alarm->gconf_dir); alarm->gconf_dir = g_strdup (str); // Associate schemas alarm_gconf_associate_schemas (alarm); alarm_gconf_connect (alarm); } break; case PROP_ID: d = g_value_get_uint (value); if (d != alarm->id) { alarm_gconf_disconnect (alarm); alarm->id = d; alarm_gconf_associate_schemas (alarm); alarm_gconf_load (alarm); alarm_gconf_connect (alarm); } break; case PROP_TRIGGERED: // TODO: Should we map this to a GConf value? // The only case where this might be useful is where the program // is restarted while having a triggered alarm so that we could // re-trigger it when the program starts again... b = g_value_get_boolean (value); if (b != alarm->triggered) { alarm->triggered = b; } case PROP_TYPE: alarm->type = g_value_get_uint (value); if (alarm->active) { // Update timestamp alarm_update_timestamp (alarm); } key = alarm_gconf_get_full_key (alarm, PROP_NAME_TYPE); if (!gconf_client_set_string (client, key, alarm_type_to_string (alarm->type), &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_TIME: alarm->time = g_value_get_uint (value); if (alarm->active) { // Update timestamp alarm_update_timestamp (alarm); } key = alarm_gconf_get_full_key (alarm, PROP_NAME_TIME); if (!gconf_client_set_int (client, key, alarm->time, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_TIMESTAMP: alarm->timestamp = g_value_get_uint (value); key = alarm_gconf_get_full_key (alarm, PROP_NAME_TIMESTAMP); if (!gconf_client_set_int (client, key, alarm->timestamp, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_ACTIVE: b = alarm->active; alarm->active = g_value_get_boolean (value); //g_debug ("[%p] #%d ACTIVE: old=%d new=%d", alarm, alarm->id, b, alarm->active); if (alarm->active && !alarm_timer_is_started(alarm)) { // Start timer alarm_timer_start (alarm); } else if (!alarm->active && alarm_timer_is_started(alarm)) { // Stop timer alarm_timer_remove (alarm); } key = alarm_gconf_get_full_key (alarm, PROP_NAME_ACTIVE); if (!gconf_client_set_bool (client, key, alarm->active, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_MESSAGE: if (alarm->message) g_free (alarm->message); alarm->message = g_strdup (g_value_get_string (value)); key = alarm_gconf_get_full_key (alarm, PROP_NAME_MESSAGE); if (!gconf_client_set_string (client, key, alarm->message, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_REPEAT: alarm->repeat = g_value_get_uint (value); if (alarm->active) { alarm_update_timestamp (alarm); } key = alarm_gconf_get_full_key (alarm, PROP_NAME_REPEAT); list = alarm_repeat_to_list (alarm->repeat); if (!gconf_client_set_list(client, key, GCONF_VALUE_STRING, list, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_slist_free (list); g_free (key); break; case PROP_NOTIFY_TYPE: alarm->notify_type = g_value_get_uint (value); key = alarm_gconf_get_full_key (alarm, PROP_NAME_NOTIFY_TYPE); if (!gconf_client_set_string (client, key, alarm_notify_type_to_string (alarm->notify_type), &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_SOUND_FILE: alarm->sound_file = g_strdup (g_value_get_string (value)); key = alarm_gconf_get_full_key (alarm, PROP_NAME_SOUND_FILE); if (!gconf_client_set_string (client, key, alarm->sound_file, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_SOUND_LOOP: alarm->sound_loop = g_value_get_boolean (value); key = alarm_gconf_get_full_key (alarm, PROP_NAME_SOUND_LOOP); if (!gconf_client_set_bool (client, key, alarm->sound_loop, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; case PROP_COMMAND: alarm->command = g_strdup (g_value_get_string (value)); key = alarm_gconf_get_full_key (alarm, PROP_NAME_COMMAND); if (!gconf_client_set_string (client, key, alarm->command, &err)) { g_critical ("Could not set %s (gconf): %s", key, err->message); g_error_free (err); } g_free (key); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /* retrive an Alarm property */ static void alarm_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { Alarm *alarm = ALARM (object); switch (prop_id) { case PROP_DIR: g_value_set_string (value, alarm->gconf_dir); break; case PROP_ID: g_value_set_uint (value, alarm->id); break; case PROP_TRIGGERED: g_value_set_boolean (value, alarm->triggered); break; case PROP_TYPE: g_value_set_uint (value, alarm->type); break; case PROP_TIME: g_value_set_uint (value, alarm->time); break; case PROP_TIMESTAMP: g_value_set_uint (value, alarm->timestamp); break; case PROP_ACTIVE: g_value_set_boolean (value, alarm->active); break; case PROP_MESSAGE: g_value_set_string (value, alarm->message); break; case PROP_REPEAT: g_value_set_uint (value, alarm->repeat); break; case PROP_NOTIFY_TYPE: g_value_set_uint (value, alarm->notify_type); break; case PROP_SOUND_FILE: g_value_set_string (value, alarm->sound_file); break; case PROP_SOUND_LOOP: g_value_set_boolean (value, alarm->sound_loop); break; case PROP_COMMAND: g_value_set_string (value, alarm->command); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } /* * ERROR signal {{ */ GQuark alarm_error_quark (void) { return g_quark_from_static_string ("alarm-error-quark"); } static void alarm_error (Alarm *alarm, GError *err) { g_debug ("Alarm(%p) #%d: alarm_error: #%d: %s", alarm, alarm->id, err->code, err->message); } void alarm_error_trigger (Alarm *alarm, AlarmErrorCode code, const gchar *msg) { GError *err = g_error_new (ALARM_ERROR, code, "%s", msg); g_signal_emit (alarm, alarm_signal[SIGNAL_ERROR], 0, err, NULL); g_error_free (err); err = NULL; } /* * }} ERROR signal */ static void alarm_player_changed (Alarm *alarm, MediaPlayerState state) { g_debug ("Alarm(%p) #%d: player_changed to %d", alarm, alarm->id, state); } /* * ALARM signal {{ */ static void alarm_alarm (Alarm *alarm) { g_debug ("Alarm(%p) #%d: alarm() DING!", alarm, alarm->id); // Clear first, if needed alarm_clear (alarm); // Update triggered flag alarm->triggered = TRUE; // Do we want to repeat this alarm? if (alarm_should_repeat (alarm)) { g_debug ("Alarm(%p) #%d: alarm() Repeating...", alarm, alarm->id); alarm_update_timestamp_full (alarm, FALSE); } else { alarm_disable (alarm); } switch (alarm->notify_type) { case ALARM_NOTIFY_SOUND: // Start sound playback g_debug("Alarm(%p) #%d: alarm() Start player", alarm, alarm->id); alarm_player_start (alarm); break; case ALARM_NOTIFY_COMMAND: // Start app g_debug("Alarm(%p) #%d: alarm() Start command", alarm, alarm->id); alarm_command_run (alarm); break; default: g_warning ("Alarm(%p) #%d: UNKNOWN NOTIFICATION TYPE %d", alarm, alarm->id, alarm->notify_type); } } void alarm_trigger (Alarm *alarm) { g_signal_emit (alarm, alarm_signal[SIGNAL_ALARM], 0, NULL); } /* * Convenience functions for enabling/disabling the alarm. * * Will update timestamp if needed. */ void alarm_set_enabled (Alarm *alarm, gboolean enabled) { if (enabled) { alarm_update_timestamp (alarm); } g_object_set (alarm, "active", enabled, NULL); } void alarm_enable (Alarm *alarm) { alarm_set_enabled (alarm, TRUE); } void alarm_disable (Alarm *alarm) { alarm_set_enabled (alarm, FALSE); } /* * Delete alarm. This will remove all configuration * associated with this alarm. */ void alarm_delete (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE (alarm); GConfClient *client = priv->gconf_client; gchar *key; // Disconnect gconf listeners alarm_gconf_disconnect (alarm); // Remove configuration key = alarm_gconf_get_dir (alarm); g_debug ("Alarm(%p) #%d: alarm_delete() recursive unset on %s", alarm, alarm->id, key); gconf_client_recursive_unset (client, key, GCONF_UNSET_INCLUDING_SCHEMA_NAMES, NULL); gconf_client_suggest_sync (client, NULL); g_free (key); } /* * Snooze the alarm for a number of seconds. */ void alarm_snooze (Alarm *alarm, guint seconds) { g_assert (alarm->triggered); g_debug ("Alarm(%p) #%d: snooze() for %d minutes", alarm, alarm->id, seconds / 60); // Silence! alarm_clear (alarm); // Remind later time_t now = time (NULL); g_object_set (alarm, "timestamp", now + seconds, "active", TRUE, NULL); // alarm_timer_start (alarm); } /** * Alarm cleared signal */ static void alarm_cleared (Alarm *alarm) { g_debug ("Alarm(%p) #%d: cleared()", alarm, alarm->id); // Update triggered flag alarm->triggered = FALSE; // Stop player alarm_player_stop (alarm); } /* * Clear the alarm. Resets the triggered flag and emits the "cleared" signal. * This will also stop any running players. */ void alarm_clear (Alarm *alarm) { if (alarm->triggered) { g_signal_emit (alarm, alarm_signal[SIGNAL_CLEARED], 0, NULL); } } /* * Is the alarm playing? */ gboolean alarm_is_playing (Alarm *a) { AlarmPrivate *priv = ALARM_PRIVATE (a); return priv->player && priv->player->state == MEDIA_PLAYER_PLAYING; } static gboolean alarm_timer_update (Alarm *alarm) { time_t now; time (&now); if (now >= alarm->timestamp) { alarm_trigger (alarm); // Remove callback only if we don't intend to repeat the alarm return alarm_should_repeat (alarm); } else if (alarm->timestamp - now <= 10) { g_debug ("Alarm(%p) #%d: -%2d...", alarm, alarm->id, (int)(alarm->timestamp - now)); } // Keep callback return TRUE; } static void alarm_timer_start (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE(alarm); g_debug ("Alarm(%p) #%d: timer_start()", alarm, alarm->id); // Remove old timer, if any alarm_timer_remove (alarm); // Keep us updated every 1 second priv->timer_id = g_timeout_add_seconds (1, (GSourceFunc) alarm_timer_update, alarm); } static gboolean alarm_timer_is_started (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE(alarm); return priv->timer_id > 0; } static void alarm_timer_remove (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE(alarm); if (alarm_timer_is_started(alarm)) { g_debug ("Alarm(%p) #%d: timer_remove", alarm, alarm->id); g_source_remove (priv->timer_id); priv->timer_id = 0; } } /* * }} ALARM signal */ /* * Taken from panel-applet.c */ static void alarm_gconf_associate_schemas (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE (alarm); GConfClient *client = priv->gconf_client; GSList *list, *l; GError *error = NULL; if (alarm->id < 0) return; list = gconf_client_all_entries (client, ALARM_GCONF_SCHEMA_DIR, &error); g_return_if_fail (error == NULL); for (l = list; l; l = l->next) { GConfEntry *entry = l->data; gchar *key; gchar *tmp; tmp = g_path_get_basename (gconf_entry_get_key (entry)); if (strchr (tmp, '-')) g_warning ("Applet key '%s' contains a hyphen. Please " "use underscores in gconf keys\n", tmp); key = alarm_gconf_get_full_key (alarm, tmp); g_free (tmp); gconf_engine_associate_schema ( client->engine, key, gconf_entry_get_key (entry), &error); g_free (key); gconf_entry_free (entry); if (error) { g_slist_free (list); return; } } g_slist_free (list); } static void alarm_gconf_connect (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE (alarm); gchar *dir; GError *err = NULL; // g_debug ("gconf_connect (%p) ? %d", alarm, IS_ALARM ((gpointer)alarm)); if (alarm->id < 0) return; dir = alarm_gconf_get_dir (alarm); // g_debug ("alarm_gconf_connect (%p) to dir %s", alarm, dir); gconf_client_add_dir (priv->gconf_client, dir, GCONF_CLIENT_PRELOAD_ONELEVEL, &err); if (err) { g_warning ("alarm_gconf_connect (%p): gconf_client_add_dir (%s) failed: %s", alarm, dir, err->message); g_error_free (err); err = NULL; } priv->gconf_listener = gconf_client_notify_add ( priv->gconf_client, dir, (GConfClientNotifyFunc) alarm_gconf_dir_changed, alarm, NULL, &err); if (err) { g_warning ("alarm_gconf_connect (%p): gconf_client_notify_add (%s) failed: %s", alarm, dir, err->message); g_error_free (err); err = NULL; } // g_debug ("alarm_gconf_connect: Added listener %d to alarm #%d %p", priv->gconf_listener, alarm->id, alarm); g_free (dir); } static void alarm_gconf_disconnect (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE (alarm); gchar *dir; if (priv->gconf_listener) { //g_debug ("alarm_gconf_disconnect: Removing listener %d from alarm #%d %p", priv->gconf_listener, alarm->id, alarm); gconf_client_notify_remove (priv->gconf_client, priv->gconf_listener); priv->gconf_listener = 0; dir = alarm_gconf_get_dir (alarm); gconf_client_remove_dir (priv->gconf_client, dir, NULL); g_free (dir); } } /* * Updates the local copy with the new value if it has changed. */ static void alarm_gconf_dir_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer data) { Alarm *alarm = ALARM (data); GParamSpec *param; gchar *name; guint i; gboolean b; const gchar *str; GSList *list; name = g_path_get_basename (entry->key); param = g_object_class_find_property (G_OBJECT_GET_CLASS (alarm), name); if (!param) { g_free (name); return; } g_debug ("Alarm(%p) #%d: gconf_dir_changed(): %s", alarm, alarm->id, name); switch (param->param_id) { case PROP_TYPE: str = gconf_value_get_string (entry->value); i = alarm_type_from_string (str); if (i > 0 && i != alarm->type) g_object_set (alarm, name, i, NULL); break; case PROP_TIME: i = gconf_value_get_int (entry->value); if (i != alarm->time) g_object_set (alarm, name, i, NULL); break; case PROP_TIMESTAMP: i = gconf_value_get_int (entry->value); if (i != alarm->timestamp) g_object_set (alarm, name, i, NULL); break; case PROP_ACTIVE: b = gconf_value_get_bool (entry->value); if (b != alarm->active) { g_object_set (alarm, name, b, NULL); } break; case PROP_MESSAGE: str = gconf_value_get_string (entry->value); if (strcmp (str, alarm->message) != 0) g_object_set (alarm, name, str, NULL); break; case PROP_REPEAT: list = alarm_gconf_extract_list_string (entry->value); i = alarm_repeat_from_list (list); if (i != alarm->repeat) g_object_set (alarm, name, i, NULL); g_slist_free (list); break; case PROP_NOTIFY_TYPE: str = gconf_value_get_string (entry->value); i = alarm_notify_type_from_string (str); if (i > 0 && i != alarm->notify_type) g_object_set (alarm, name, i, NULL); break; case PROP_SOUND_FILE: str = gconf_value_get_string (entry->value); if (strcmp (str, alarm->sound_file) != 0) g_object_set (alarm, name, str, NULL); break; case PROP_SOUND_LOOP: b = gconf_value_get_bool (entry->value); if (b != alarm->sound_loop) g_object_set (alarm, name, b, NULL); break; case PROP_COMMAND: str = gconf_value_get_string (entry->value); if (strcmp (str, alarm->command) != 0) g_object_set (alarm, name, str, NULL); break; default: g_warning ("Alarm(%p) #%d: gconf_dir_changed(): Property ID %d not handled!", alarm, alarm->id, param->param_id); break; } g_free (name); } static void alarm_dispose (GObject *object) { Alarm *alarm = ALARM (object); // AlarmPrivate *priv = ALARM_PRIVATE (object); GObjectClass *parent = (GObjectClass *)alarm_parent_class; g_debug ("Alarm(%p) #%d: dispose()", alarm, alarm->id); if (parent->dispose) parent->dispose (object); alarm_gconf_disconnect (alarm); alarm_timer_remove(alarm); alarm_clear (alarm); } /* * Convenience function for creating a new alarm instance. * Passing -1 as the id will generate a new ID with alarm_gen_id */ Alarm * alarm_new (const gchar *gconf_dir, gint id) { Alarm *alarm; if (id < 0) { id = alarm_gen_id_dir (gconf_dir); } alarm = g_object_new (TYPE_ALARM, "gconf-dir", gconf_dir, "id", id, NULL); return alarm; } guint alarm_gen_id_dir (const gchar *gconf_dir) { GConfClient *client; gchar *key = NULL; gint id; client = gconf_client_get_default (); id = 0; do { if (key) g_free (key); key = g_strdup_printf("%s/" ALARM_GCONF_DIR_PREFIX "%d", gconf_dir, id); id++; } while (gconf_client_dir_exists (client, key, NULL)); g_free (key); return (guint)(id-1); } /* * Will try to find the first available ID in gconf_dir */ guint alarm_gen_id (Alarm *alarm) { return alarm_gen_id_dir (alarm->gconf_dir); } const gchar *alarm_type_to_string (AlarmType type) { return gconf_enum_to_string (alarm_type_enum_map, type); } AlarmType alarm_type_from_string (const gchar *type) { AlarmType ret = ALARM_TYPE_INVALID; if (!type) return ret; gconf_string_to_enum (alarm_type_enum_map, type, (gint *)&ret); return ret; } const gchar *alarm_notify_type_to_string (AlarmNotifyType type) { return gconf_enum_to_string (alarm_notify_type_enum_map, type); } AlarmNotifyType alarm_notify_type_from_string (const gchar *type) { AlarmNotifyType ret = ALARM_NOTIFY_INVALID; if (!type) return ret; gconf_string_to_enum (alarm_notify_type_enum_map, type, (gint *)&ret); return ret; } gchar * alarm_gconf_get_dir (Alarm *alarm) { gchar *key; g_return_val_if_fail (IS_ALARM (alarm), NULL); key = g_strdup_printf ("%s/" ALARM_GCONF_DIR_PREFIX "%d", alarm->gconf_dir, alarm->id); return key; } gchar * alarm_gconf_get_full_key (Alarm *alarm, const gchar *key) { gchar *gconf_key; gchar *full_key; g_return_val_if_fail (IS_ALARM (alarm), NULL); if (!key) return NULL; // Replace dashes with underscores gconf_key = g_strdup (key); g_strcanon (gconf_key, "abcdefghijklmnopqrstuvwxyz", '_'); full_key = g_strdup_printf ("%s/" ALARM_GCONF_DIR_PREFIX "%d/%s", alarm->gconf_dir, alarm->id, gconf_key); g_free (gconf_key); return full_key; } /** * Compare two alarms based on ID */ static gint alarm_list_item_compare (gconstpointer a, gconstpointer b) { Alarm *a1 = ALARM (a); Alarm *a2 = ALARM (b); return a1->id - a2->id; } /* * Check if a gconf directory is a valid alarm dir. * * Returns >= 0 for valid alarm directory, -1 otherwise. */ gint alarm_gconf_dir_get_id (const gchar *dir) { gint id; gchar *d; d = g_path_get_basename (dir); if (sscanf (d, ALARM_GCONF_DIR_PREFIX "%d", &id) <= 0 || id < 0) { // INVALID id = -1; } g_free (d); return id; } /* * Get list of alarms in gconf_dir */ GList * alarm_get_list (const gchar *gconf_dir) { GConfClient *client; GSList *dirs = NULL; GSList *l = NULL; gchar *tmp; GList *ret = NULL; Alarm *alarm; gint id; client = gconf_client_get_default (); dirs = gconf_client_all_dirs (client, gconf_dir, NULL); if (!dirs) return NULL; for (l = dirs; l; l = l->next) { tmp = (gchar *)l->data; id = alarm_gconf_dir_get_id (tmp); if (id >= 0) { g_debug ("Alarm: get_list() found '%s' #%d", tmp, id); alarm = alarm_new (gconf_dir, id); // g_debug ("\tref = %d", G_OBJECT (alarm)->ref_count); ret = g_list_insert_sorted (ret, alarm, alarm_list_item_compare); // g_debug ("\tappend ref = %d", G_OBJECT (alarm)->ref_count); } g_free (tmp); } g_slist_free (dirs); return ret; } /* * Connect a signal callback to all alarms in list. */ void alarm_signal_connect_list (GList *instances, const gchar *detailed_signal, GCallback c_handler, gpointer data) { GList *l; Alarm *a; g_debug ("Alarm: signal_connect_list()"); for (l = instances; l != NULL; l = l->next) { a = ALARM (l->data); g_debug ("\tconnecting Alarm(%p) #%d: %s...", a, a->id, detailed_signal); g_signal_connect (a, detailed_signal, c_handler, data); } } /** * Player error */ static void alarm_player_error_cb (MediaPlayer *player, GError *err, gpointer data) { Alarm *alarm = ALARM (data); gchar *uri; gchar *msg; uri = media_player_get_uri (player); msg = g_strdup_printf ("Could not play '%s': %s", uri, err->message); g_critical ("%s", msg); /* Emit error signal */ alarm_error_trigger (alarm, ALARM_ERROR_PLAY, msg); g_free (uri); g_free (msg); } static void alarm_player_state_cb (MediaPlayer *player, MediaPlayerState state, gpointer data) { static MediaPlayerState prev_state = MEDIA_PLAYER_INVALID; Alarm *alarm = ALARM (data); AlarmPrivate *priv = ALARM_PRIVATE (alarm); if (state != prev_state) { // Emit player_changed signal g_signal_emit (alarm, alarm_signal[SIGNAL_PLAYER], 0, state, NULL); } if (state == MEDIA_PLAYER_STOPPED) { g_debug ("Alarm(%p) #%d: Freeing media player %p", alarm, alarm->id, player); media_player_free (player); priv->player = NULL; } } static gboolean alarm_player_timeout (gpointer data) { Alarm *alarm = ALARM (data); g_debug ("Alarm(%p) #%d: player_timeout", alarm, alarm->id); alarm_player_stop (alarm); return FALSE; } /** * Play sound via gstreamer */ static void alarm_player_start (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE (alarm); if (priv->player == NULL) { priv->player = media_player_new (alarm->sound_file, alarm->sound_loop, alarm_player_state_cb, alarm, alarm_player_error_cb, alarm); if (priv->player == NULL) { // Unable to create player alarm_error_trigger (alarm, ALARM_ERROR_PLAY, _("Could not create player! Please check your sound settings.")); return; } } else { media_player_set_uri (priv->player, alarm->sound_file); } media_player_start (priv->player); g_debug ("Alarm(%p) #%d: player_start...", alarm, alarm->id); /* * Add stop timeout */ priv->player_timer_id = g_timeout_add_seconds(ALARM_SOUND_TIMEOUT, alarm_player_timeout, alarm); } /** * Stop player */ static void alarm_player_stop (Alarm *alarm) { AlarmPrivate *priv = ALARM_PRIVATE (alarm); if (priv->player != NULL) { media_player_stop (priv->player); if (priv->player_timer_id > 0) { g_source_remove (priv->player_timer_id); priv->player_timer_id = 0; } } } /* * Run Command */ static void alarm_command_run (Alarm *alarm) { GError *err = NULL; gchar *msg; if (!g_spawn_command_line_async (alarm->command, &err)) { msg = g_strdup_printf ("Could not launch `%s': %s", alarm->command, err->message); g_critical ("%s", msg); /* Emit error signal */ alarm_error_trigger (alarm, ALARM_ERROR_COMMAND, msg); g_free (msg); g_error_free (err); } } /* * Set time according to hour, min, sec */ void alarm_set_time (Alarm *alarm, guint hour, guint minute, guint second) { g_debug ("Alarm(%p) #%d: set_time (%d:%d:%d)", alarm, alarm->id, hour, minute, second); g_object_set (alarm, "time", second + minute * 60 + hour * 60 * 60, NULL); } /* * Calculates the distance from wday1 to wday2 */ gint alarm_wday_distance (gint wday1, gint wday2) { gint d; d = wday2 - wday1; if (d < 0) d += 7; return d; } static gboolean alarm_time_is_future (struct tm *tm, guint hour, guint minute, guint second) { return (hour > tm->tm_hour || (hour == tm->tm_hour && minute > tm->tm_min) || (hour == tm->tm_hour && minute == tm->tm_min && second > tm->tm_sec)); } /* * Set time according to hour, min, sec and alarm->repeat */ static void alarm_set_timestamp (Alarm *alarm, guint hour, guint minute, guint second, gboolean include_today) { time_t now, new; gint i, d, wday; AlarmRepeat rep; struct tm *tm; g_debug ("Alarm(%p) #%d: set_timestamp (%d, %d, %d, %d)", alarm, alarm->id, hour, minute, second, include_today); time (&now); tm = localtime (&now); // Automatically detect Daylight Savings Time (DST) tm->tm_isdst = -1; //i = (today == 6) ? 0 : today + 1; //today--; if (alarm->repeat == ALARM_REPEAT_NONE) { // Check if the alarm is for tomorrow if (!alarm_time_is_future (tm, hour, minute, second)) { //if (wday < 0) { g_debug("\tAlarm is for tomorrow."); tm->tm_mday++; /*} else { // wday == tm->tm_wday g_debug("alarm_set_time_full: Alarm is in 1 week."); tm->tm_mday += 7; }*/ } } else { // REPEAT SET: Find the closest repeat day wday = -1; i = tm->tm_wday; if (!include_today) i++; // Try finding a day in this week for (; i < 7; i++) { rep = 1 << i; if (alarm->repeat & rep) { if (i == tm->tm_wday && !alarm_time_is_future (tm, hour, minute, second)) continue; // FOUND! //g_debug ("\tMATCH"); wday = i; break; } } // If we haven't found a day in the current week, check next week if (wday == -1) { for (i = 0; i <= tm->tm_wday; i++) { rep = 1 << i; if (alarm->repeat & rep/* && alarm_time_is_future (tm, hour, minute, second)*/) { // FOUND! //g_debug ("\tMATCH"); wday = i; break; } } } g_debug ("Closest WDAY = %d", wday); if (wday == tm->tm_wday && (!include_today || !alarm_time_is_future (tm, hour, minute, second))) wday = 7; // Calculate distance from now to wday if (wday == 7) { g_debug("\tAlarm is in (forced) 1 week."); d = 7; } else { // g_debug ("\td = tm->tm_wday(%d) - wday(%d)", tm->tm_wday, wday); d = alarm_wday_distance (tm->tm_wday, wday); } g_debug ("\tAlarm is in %d days.", d); tm->tm_mday += d; } tm->tm_hour = hour; tm->tm_min = minute; tm->tm_sec = second; // DEBUG: char tmp[512]; strftime (tmp, sizeof (tmp), "%c", tm); g_debug ("\tAlarm will trigger at %s", tmp); new = mktime (tm); g_debug ("\tSetting to %d", (gint) new); g_object_set (alarm, "timestamp", new, NULL); } /* * Update the alarm timestamp to point to the nearest future * hour/min/sec according to the time value. */ void alarm_update_timestamp_full (Alarm *alarm, gboolean include_today) { if (alarm->type == ALARM_TYPE_CLOCK) { struct tm *tm = alarm_get_time (alarm); g_debug ("Alarm(%p) #%d: update_timestamp_full: %d:%d:%d", alarm, alarm->id, tm->tm_hour, tm->tm_min, tm->tm_sec); alarm_set_timestamp (alarm, tm->tm_hour, tm->tm_min, tm->tm_sec, include_today); } else { /* ALARM_TYPE_TIMER */ g_object_set (alarm, "timestamp", time(NULL) + alarm->time, NULL); } } /* * Update the alarm timestamp to point to the nearest future * hour/min/sec according to the time value. * * Equivalent to alarm_update_timestamp_full (alarm, TRUE) */ void alarm_update_timestamp (Alarm *alarm) { alarm_update_timestamp_full (alarm, TRUE); } /* * Get the alarm time. */ struct tm * alarm_get_time (Alarm *alarm) { return gmtime (&(alarm->time)); } static struct tm tm; /** * Get the remaining alarm time. * * The return value is a direct pointer to an internal struct and must NOT * be freed. The return value also changes for every call to alarm_get_remain, * so copy it if needed. */ struct tm * alarm_get_remain (Alarm *alarm) { time_t now; //struct tm tm; now = time (NULL); tm.tm_sec = alarm->timestamp - now; tm.tm_min = tm.tm_sec / 60; tm.tm_sec -= tm.tm_min * 60; tm.tm_hour = tm.tm_min / 60; tm.tm_min -= tm.tm_hour * 60; return &tm; } /** * Get the remaining alarm time in seconds */ time_t alarm_get_remain_seconds (Alarm *alarm) { time_t now = time (NULL); return alarm->timestamp - now; } /* * AlarmRepeat utilities {{ */ const gchar * alarm_repeat_to_string (AlarmRepeat repeat) { return gconf_enum_to_string (alarm_repeat_enum_map, repeat); } AlarmRepeat alarm_repeat_from_string (const gchar *str) { AlarmRepeat ret = ALARM_REPEAT_NONE; if (!str) return ret; gconf_string_to_enum (alarm_repeat_enum_map, str, (gint *)&ret); return ret; } AlarmRepeat alarm_repeat_from_list (GSList *list) { GSList *l; AlarmRepeat repeat = ALARM_REPEAT_NONE; for (l = list; l; l = l->next) { repeat |= alarm_repeat_from_string ((gchar *)l->data); } return repeat; } GSList * alarm_repeat_to_list (AlarmRepeat repeat) { GSList *list = NULL; AlarmRepeat r; gint i; for (r = ALARM_REPEAT_SUN, i = 0; r <= ALARM_REPEAT_SAT; r = 1 << ++i) { if (repeat & r) list = g_slist_append (list, (gpointer) alarm_repeat_to_string (r)); } return list; } gboolean alarm_should_repeat (Alarm *alarm) { return alarm->type == ALARM_TYPE_CLOCK && alarm->repeat != ALARM_REPEAT_NONE; } /* * Create a pretty string representation of AlarmRepeat * * The return value must be freed afterwards */ gchar * alarm_repeat_to_pretty (AlarmRepeat repeat) { gchar *str; GString *s; struct tm tm; gchar tmp[20]; AlarmRepeat r; gint i; switch (repeat) { case ALARM_REPEAT_NONE: str = g_strdup (_("Once")); break; case ALARM_REPEAT_WEEKDAYS: str = g_strdup (_("Weekdays")); break; case ALARM_REPEAT_WEEKENDS: str = g_strdup (_("Weekends")); break; case ALARM_REPEAT_ALL: str = g_strdup (_("Every day")); break; default: // Custom repeat, create a list of weekdays s = g_string_new (""); for (r = ALARM_REPEAT_SUN, i = 0; r <= ALARM_REPEAT_SAT; r = 1 << ++i) { if (repeat & r) { tm.tm_wday = i; strftime (tmp, sizeof(tmp), "%a", &tm); g_string_append_printf (s, "%s, ", tmp); } } g_string_truncate (s, s->len - 2); str = s->str; g_string_free (s, FALSE); break; } return str; } /* * }} AlarmRepeat utilities */ alarm-clock-applet-0.3.3/src/alarm-settings.c0000644000175000017500000006302311762712540016004 00000000000000/* * alarm-settings.c -- Alarm settings dialog * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include "alarm-settings.h" #include "alarm-applet.h" #include "alarm.h" #include "player.h" #include #include #include /* * GUI callbacks */ void alarm_settings_changed_type (GtkToggleButton *toggle, gpointer data); void alarm_settings_changed_label (GtkEditable *editable, gpointer data); void alarm_settings_changed_time (GtkSpinButton *spinbutton, gpointer data); void alarm_settings_changed_repeat (GtkToggleButton *togglebutton, gpointer data); void alarm_settings_changed_notify_type (GtkToggleButton *togglebutton, gpointer data); void alarm_settings_changed_sound (GtkComboBox *combo, gpointer data); void alarm_settings_changed_sound_repeat (GtkToggleButton *togglebutton, gpointer data); void alarm_settings_changed_app (GtkComboBox *combo, gpointer data); void alarm_settings_changed_command (GtkEditable *editable, gpointer data); static void alarm_settings_update_time (AlarmSettingsDialog *dialog); void alarm_settings_changed_sound (GtkComboBox *combo, gpointer data); void alarm_settings_changed_app (GtkComboBox *combo, gpointer data); #define REPEAT_LABEL _("_Repeat: %s") /* * Utility functions for updating various parts of the settings dialog. */ static void alarm_settings_update_type (AlarmSettingsDialog *dialog) { AlarmType type = dialog->alarm->type; gboolean clock_toggled = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->clock_toggle)); gboolean timer_toggled = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->timer_toggle)); if ((type == ALARM_TYPE_CLOCK && clock_toggled) || (type == ALARM_TYPE_TIMER && timer_toggled)) { // No change return; } g_debug ("AlarmSettingsDialog: update_type()"); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->clock_toggle), type == ALARM_TYPE_CLOCK); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->timer_toggle), type == ALARM_TYPE_TIMER); if (type == ALARM_TYPE_CLOCK) { gtk_widget_set_sensitive(dialog->repeat_expand, TRUE); } else { gtk_widget_set_sensitive(dialog->repeat_expand, FALSE); } } static void alarm_settings_update_label (AlarmSettingsDialog *dialog) { const gchar *entry_text = gtk_entry_get_text (GTK_ENTRY (dialog->label_entry)); if (g_strcmp0 (entry_text, dialog->alarm->message) == 0) { // No change return; } g_debug ("AlarmSettingsDialog: update_label()"); g_object_set (dialog->label_entry, "text", dialog->alarm->message, NULL); } static void alarm_settings_update_time (AlarmSettingsDialog *dialog) { struct tm *tm = alarm_get_time(dialog->alarm); gint hour = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (dialog->hour_spin)); gint min = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (dialog->min_spin)); gint sec = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (dialog->sec_spin)); if (tm->tm_hour == hour && tm->tm_min == min && tm->tm_sec == sec) { // No change return; } g_debug ("AlarmSettingsDialog: update_time() to %d:%d:%d", tm->tm_hour, tm->tm_min, tm->tm_sec); gtk_spin_button_set_value (GTK_SPIN_BUTTON (dialog->hour_spin), tm->tm_hour); gtk_spin_button_set_value (GTK_SPIN_BUTTON (dialog->min_spin), tm->tm_min); gtk_spin_button_set_value (GTK_SPIN_BUTTON (dialog->sec_spin), tm->tm_sec); } static void alarm_settings_update_repeat (AlarmSettingsDialog *dialog) { AlarmRepeat r; gint i; gboolean check; gchar *label, *rep; g_debug ("AlarmSettingsDialog: update_repeat()"); /* * Update check boxes */ for (r = ALARM_REPEAT_SUN, i = 0; r <= ALARM_REPEAT_SAT; r = 1 << ++i) { check = (dialog->alarm->repeat & r) != 0; // Activate the appropriate widget if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (dialog->repeat_check[i])) != check) { g_object_set (dialog->repeat_check[i], "active", check, NULL); } } /* * Update fancy expander label */ rep = alarm_repeat_to_pretty (dialog->alarm->repeat); label = g_strdup_printf (REPEAT_LABEL, rep); g_object_set (dialog->repeat_label, "label", label, NULL); g_free (label); g_free (rep); } static void alarm_settings_update_notify_type (AlarmSettingsDialog *dialog) { AlarmNotifyType type = dialog->alarm->notify_type; gboolean sound_active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->notify_app_radio)); gboolean sound_sensitive = gtk_widget_is_sensitive (dialog->notify_sound_box); gboolean app_active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->notify_app_radio)); gboolean app_sensitive = gtk_widget_is_sensitive (dialog->notify_app_box); if ((type == ALARM_NOTIFY_SOUND && sound_active && sound_sensitive && !app_sensitive) || (type == ALARM_NOTIFY_COMMAND && app_active && !sound_sensitive && app_sensitive)) { // No change return; } g_debug ("AlarmSettingsDialog: update_notify_type()"); // Enable selected switch (dialog->alarm->notify_type) { case ALARM_NOTIFY_COMMAND: g_object_set (dialog->notify_app_radio, "active", TRUE, NULL); g_object_set (dialog->notify_app_box, "sensitive", TRUE, NULL); // Disable others g_object_set (dialog->notify_sound_box, "sensitive", FALSE, NULL); if (dialog->player && dialog->player->state == MEDIA_PLAYER_PLAYING) { // Stop preview player media_player_stop (dialog->player); } break; default: // NOTIFY_SOUND g_object_set (dialog->notify_sound_radio, "active", TRUE, NULL); g_object_set (dialog->notify_sound_box, "sensitive", TRUE, NULL); // Disable others g_object_set (dialog->notify_app_box, "sensitive", FALSE, NULL); break; } } static void alarm_settings_update_sound (AlarmSettingsDialog *dialog) { AlarmListEntry *item; GList *l; gint pos; pos = gtk_combo_box_get_active (GTK_COMBO_BOX (dialog->notify_sound_combo)); item = g_list_nth_data (dialog->applet->sounds, pos); if (item && g_strcmp0 (item->data, dialog->alarm->sound_file) == 0) { // No change return; } g_debug ("AlarmSettingsDialog: update_sound()"); /* Fill sounds list */ fill_combo_box (GTK_COMBO_BOX (dialog->notify_sound_combo), dialog->applet->sounds, _("Select sound file...")); // Look for the selected sound file for (l = dialog->applet->sounds, pos = 0; l != NULL; l = l->next, pos++) { item = (AlarmListEntry *)l->data; if (strcmp (item->data, dialog->alarm->sound_file) == 0) { // Match! gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->notify_sound_combo), pos); break; } } } static void alarm_settings_update_sound_repeat (AlarmSettingsDialog *dialog) { if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (dialog->notify_sound_loop_check)) == dialog->alarm->sound_loop) { // No change return; } g_debug ("AlarmSettingsDialog: update_sound_repeat()"); g_object_set (dialog->notify_sound_loop_check, "active", dialog->alarm->sound_loop, NULL); } static void alarm_settings_update_app (AlarmSettingsDialog *dialog) { AlarmListEntry *item; GList *l; guint pos, len; gboolean custom = FALSE; pos = gtk_combo_box_get_active (GTK_COMBO_BOX (dialog->notify_app_combo)); item = g_list_nth_data (dialog->applet->apps, pos); if (item && g_strcmp0 (item->data, dialog->alarm->command) == 0) { // No change return; } g_debug ("AlarmSettingsDialog: update_app()"); // g_debug ("alarm_settings_update_app (%p): app_combo: %p, applet: %p, apps: %p", dialog, dialog->notify_app_combo, dialog->applet, dialog->applet->apps); // g_debug ("alarm_settings_update_app setting entry to %s", dialog->alarm->command); /* Fill apps list */ fill_combo_box (GTK_COMBO_BOX (dialog->notify_app_combo), dialog->applet->apps, _("Custom command...")); // Look for the selected command len = g_list_length (dialog->applet->apps); for (l = dialog->applet->apps, pos = 0; l != NULL; l = l->next, pos++) { item = (AlarmListEntry *)l->data; if (strcmp (item->data, dialog->alarm->command) == 0) { // Match! break; } } /* Only change sensitivity of the command entry if user * isn't typing a custom command there already. */ if (pos >= len) { // Custom command pos += 1; custom = TRUE; } g_debug ("CMD ENTRY HAS FOCUS? %d", GTK_WIDGET_HAS_FOCUS (dialog->notify_app_command_entry)); if (!GTK_WIDGET_HAS_FOCUS (dialog->notify_app_command_entry)) g_object_set (dialog->notify_app_command_entry, "sensitive", custom, NULL); gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->notify_app_combo), pos); } static void alarm_settings_update_app_command (AlarmSettingsDialog *dialog) { g_debug ("AlarmSettingsDialog: update_app_command()"); if (g_strcmp0 (dialog->alarm->command, gtk_entry_get_text (GTK_ENTRY (dialog->notify_app_command_entry))) == 0) { // No change return; } g_object_set (dialog->notify_app_command_entry, "text", dialog->alarm->command, NULL); } static void alarm_settings_update (AlarmSettingsDialog *dialog) { alarm_settings_update_type (dialog); alarm_settings_update_label (dialog); alarm_settings_update_time (dialog); alarm_settings_update_repeat (dialog); alarm_settings_update_notify_type (dialog); alarm_settings_update_sound (dialog); alarm_settings_update_sound_repeat (dialog); alarm_settings_update_app (dialog); alarm_settings_update_app_command (dialog); } /* * Alarm object callbacks */ static void alarm_changed (GObject *object, GParamSpec *param, gpointer data) { AlarmSettingsDialog *dialog = (AlarmSettingsDialog *)data; const gchar *name = param->name; g_debug("AlarmSettingsDialog: alarm_changed: %s", name); // alarm_settings_update (dialog); // return; if (g_strcmp0 (name, "type") == 0) { alarm_settings_update_type (dialog); } if (g_strcmp0 (name, "message") == 0) { alarm_settings_update_label (dialog); } if (g_strcmp0 (name, "time") == 0) { alarm_settings_update_time (dialog); } if (g_strcmp0 (name, "repeat") == 0) { alarm_settings_update_repeat (dialog); } if (g_strcmp0 (name, "notify-type") == 0) { alarm_settings_update_notify_type (dialog); } if (g_strcmp0 (name, "sound-file") == 0) { alarm_settings_update_sound (dialog); } if (g_strcmp0 (name, "sound-repeat") == 0) { g_object_set (dialog->notify_sound_loop_check, "active", dialog->alarm->sound_loop, NULL); } if (g_strcmp0 (name, "command") == 0) { alarm_settings_update_app (dialog); alarm_settings_update_app_command (dialog); } /* if (g_strcmp0 (name, "") == 0) { } if (g_strcmp0 (name, "") == 0) { } */ } /* * GUI utils */ static void open_sound_file_chooser (AlarmSettingsDialog *dialog) { GtkWidget *chooser; chooser = gtk_file_chooser_dialog_new (_("Select sound file..."), GTK_WINDOW (dialog->dialog), GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_uri (GTK_FILE_CHOOSER (chooser), dialog->alarm->sound_file); if (gtk_dialog_run (GTK_DIALOG (chooser)) == GTK_RESPONSE_ACCEPT) { gchar *uri; uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (chooser)); g_debug ("RESPONSE ACCEPT: %s", uri); g_object_set (dialog->alarm, "sound_file", uri, NULL); g_free (uri); } else { g_debug ("RESPONSE CANCEL"); alarm_settings_update_sound (dialog); } gtk_widget_destroy (chooser); } /* * GUI callbacks */ void alarm_settings_changed_type (GtkToggleButton *toggle, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; gboolean toggled = gtk_toggle_button_get_active(toggle); g_assert (dialog->alarm != NULL); g_debug ("alarm_settings_changed_type(%s) -> %s", gtk_buildable_get_name (GTK_BUILDABLE (toggle)), toggled ? "TRUE" : "FALSE"); if (GTK_WIDGET (toggle) == dialog->clock_toggle) { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->timer_toggle), !toggled); if (toggled) { g_debug ("alarm_settings_changed_type: clock toggled"); g_object_set (dialog->alarm, "type", ALARM_TYPE_CLOCK, NULL); gtk_widget_set_sensitive(dialog->repeat_expand, TRUE); } } else { gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->clock_toggle), !toggled); if (toggled) { g_debug ("alarm_settings_changed_type: timer toggled"); g_object_set (dialog->alarm, "type", ALARM_TYPE_TIMER, NULL); gtk_widget_set_sensitive(dialog->repeat_expand, FALSE); } } } void alarm_settings_changed_label (GtkEditable *editable, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; const gchar *text; g_assert (dialog->alarm != NULL); text = gtk_entry_get_text (GTK_ENTRY (editable)); g_debug ("label_changed: %s", text); g_object_set (dialog->alarm, "message", text, NULL); } void alarm_settings_changed_time (GtkSpinButton *spinbutton, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; guint hour, min, sec; struct tm *tm; g_assert (dialog->alarm != NULL); tm = alarm_get_time(dialog->alarm); hour = tm->tm_hour; min = tm->tm_min; sec = tm->tm_sec; // Check which spin button emitted the signal if (GTK_WIDGET (spinbutton) == dialog->hour_spin) { hour = gtk_spin_button_get_value (GTK_SPIN_BUTTON (dialog->hour_spin)); } else if (GTK_WIDGET (spinbutton) == dialog->min_spin) { min = gtk_spin_button_get_value (GTK_SPIN_BUTTON (dialog->min_spin)); } else if (GTK_WIDGET (spinbutton) == dialog->sec_spin) { sec = gtk_spin_button_get_value (GTK_SPIN_BUTTON (dialog->sec_spin)); } alarm_set_time (dialog->alarm, hour, min, sec); } /** * Use 2-digits in time spin buttons */ gboolean alarm_settings_output_time (GtkSpinButton *spin, gpointer data) { GtkAdjustment *adj; gchar *text; gint value; adj = gtk_spin_button_get_adjustment (spin); value = (gint)gtk_adjustment_get_value (adj); text = g_strdup_printf ("%02d", value); gtk_entry_set_text (GTK_ENTRY (spin), text); g_free (text); return TRUE; } void alarm_settings_changed_repeat (GtkToggleButton *togglebutton, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; g_assert (dialog->alarm != NULL); const gchar *name; AlarmRepeat rep, new_rep; gboolean active; /* The check buttons have the same name as the 3 letter * string representation of the day. */ name = gtk_buildable_get_name (GTK_BUILDABLE (togglebutton)); rep = alarm_repeat_from_string (name); active = gtk_toggle_button_get_active (togglebutton); g_debug("Changed repeat on: %s, active: %d", name, active); if (active) // Add rep new_rep = dialog->alarm->repeat | rep; else // Remove rep new_rep = dialog->alarm->repeat & ~rep; g_object_set (dialog->alarm, "repeat", new_rep, NULL); } void alarm_settings_changed_notify_type (GtkToggleButton *togglebutton, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; const gchar *name = gtk_buildable_get_name (GTK_BUILDABLE (togglebutton));; gboolean value = gtk_toggle_button_get_active (togglebutton); if (!value) { // Not checked, not interested return; } g_assert (dialog->alarm != NULL); g_debug ("notify_type_changed: %s", name); if (strcmp (name, "app-radio") == 0) { g_object_set (dialog->alarm, "notify_type", ALARM_NOTIFY_COMMAND, NULL); } else { g_object_set (dialog->alarm, "notify_type", ALARM_NOTIFY_SOUND, NULL); } alarm_settings_update_notify_type (dialog); } void alarm_settings_changed_sound (GtkComboBox *combo, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; g_debug ("SOUND Combo_changed"); g_assert (dialog->alarm != NULL); AlarmListEntry *item; guint current_index, len; current_index = gtk_combo_box_get_active (combo); len = g_list_length (dialog->applet->sounds); g_debug ("Current index: %d, n sounds: %d", current_index, len); if (current_index < 0) // None selected return; if (current_index >= len) { // Select sound file g_debug ("Open SOUND file chooser..."); open_sound_file_chooser (dialog); return; } // Valid file selected, update alarm item = (AlarmListEntry *) g_list_nth_data (dialog->applet->sounds, current_index); g_object_set (dialog->alarm, "sound_file", item->data, NULL); } void alarm_settings_changed_sound_repeat (GtkToggleButton *togglebutton, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; g_assert (dialog->alarm != NULL); g_debug("alarm_settings_changed_sound_repeat"); g_object_set (dialog->alarm, "sound-repeat", gtk_toggle_button_get_active (togglebutton), NULL); if (dialog->player && dialog->player->state == MEDIA_PLAYER_PLAYING) { // Update preview player dialog->player->loop = gtk_toggle_button_get_active (togglebutton); } } void alarm_settings_changed_app (GtkComboBox *combo, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; g_debug ("APP Combo_changed"); g_assert (dialog->alarm != NULL); if (GTK_WIDGET_HAS_FOCUS (dialog->notify_app_command_entry)) { g_debug (" ---- Skipping because command_entry has focus!"); return; } AlarmListEntry *item; guint current_index, len; current_index = gtk_combo_box_get_active (combo); len = g_list_length (dialog->applet->apps); if (current_index < 0) // None selected return; if (current_index >= len) { // Custom command g_debug ("CUSTOM command selected..."); g_object_set (dialog->notify_app_command_entry, "sensitive", TRUE, NULL); gtk_widget_grab_focus (dialog->notify_app_command_entry); return; } g_object_set (dialog->notify_app_command_entry, "sensitive", FALSE, NULL); item = (AlarmListEntry *) g_list_nth_data (dialog->applet->apps, current_index); g_object_set (dialog->alarm, "command", item->data, NULL); } void alarm_settings_changed_command (GtkEditable *editable, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; g_assert (dialog->alarm != NULL); g_object_set (dialog->alarm, "command", gtk_entry_get_text (GTK_ENTRY (editable)), NULL); } /* * Preview player {{ */ static void preview_player_state_cb (MediaPlayer *player, MediaPlayerState state, gpointer data) { AlarmSettingsDialog *dialog = (AlarmSettingsDialog *)data; const gchar *stock; if (state == MEDIA_PLAYER_PLAYING) { stock = "gtk-media-stop"; } else { stock = "gtk-media-play"; g_debug ("AlarmSettingsDialog: Freeing media player %p", player); media_player_free (player); dialog->player = NULL; } // Set stock gtk_button_set_label (GTK_BUTTON (dialog->notify_sound_preview), stock); } void alarm_settings_sound_preview (GtkButton *button, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *dialog = applet->settings_dialog; if (dialog->player && dialog->player->state == MEDIA_PLAYER_PLAYING) { // Stop preview player media_player_stop (dialog->player); } else { // Start preview player if (dialog->player == NULL) dialog->player = media_player_new (dialog->alarm->sound_file, dialog->alarm->sound_loop, preview_player_state_cb, dialog, media_player_error_cb, dialog->dialog); g_debug ("AlarmSettingsDialog: preview_start..."); media_player_start (dialog->player); } } /* * }} Preview player */ /* * Clear settings dialog for reuse * * Stops any running media players * Disassociates the dialog from any alarm */ static void alarm_settings_dialog_clear (AlarmSettingsDialog *dialog) { if (dialog->player) { if (dialog->player->state == MEDIA_PLAYER_STOPPED) { media_player_free (dialog->player); } else { media_player_stop (dialog->player); } } if (dialog->alarm) { /* Remove alarm notify handlers! */ int matched = g_signal_handlers_disconnect_matched (dialog->alarm, G_SIGNAL_MATCH_FUNC, 0, 0, NULL, alarm_changed, NULL); // int matched = g_signal_handlers_disconnect_matched (dialog->alarm, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, dialog); g_debug("settings CLEAR alarm %p: %d handlers removed", dialog->alarm, matched); dialog->alarm = NULL; /* Remove signal handlers */ //g_signal_handlers_disconnect_by_func } } void alarm_settings_dialog_close (AlarmSettingsDialog *dialog) { // g_hash_table_remove (dialog->applet->edit_alarm_dialogs, dialog->alarm->id); // gtk_widget_destroy (GTK_WIDGET (dialog->dialog)) /* Enable the alarm when closing the dialog */ alarm_enable (dialog->alarm); alarm_settings_dialog_clear (dialog); gtk_widget_hide (dialog->dialog); } void alarm_settings_dialog_response (GtkDialog *dialog, gint rid, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmSettingsDialog *settings_dialog = applet->settings_dialog; g_debug ("alarm_settings_dialog_response %d", rid); alarm_settings_dialog_close (settings_dialog); } /* * Associate a settings dialog with an alarm * * Clears any previously associated alarms */ static void alarm_settings_dialog_set_alarm (AlarmSettingsDialog *dialog, Alarm *alarm) { // Clear dialog alarm_settings_dialog_clear (dialog); // Set alarm dialog->alarm = alarm; // Populate widgets alarm_settings_update (dialog); // Notify of change to alarm g_signal_connect (alarm, "notify", G_CALLBACK (alarm_changed), dialog); } /* * Create a new settings dialog */ AlarmSettingsDialog * alarm_settings_dialog_new (AlarmApplet *applet) { AlarmSettingsDialog *dialog; AlarmRepeat r; gint i; GtkBuilder *builder = applet->ui; // Initialize struct dialog = g_new0 (AlarmSettingsDialog, 1); dialog->applet = applet; dialog->player = NULL; dialog->dialog = GTK_WIDGET (gtk_builder_get_object (builder, "alarm-settings-dialog")); // TYPE TOGGLE BUTTONS dialog->clock_toggle = GTK_WIDGET (gtk_builder_get_object (builder, "toggle-clock")); dialog->timer_toggle = GTK_WIDGET (gtk_builder_get_object (builder, "toggle-timer")); // GENERAL SETTINGS dialog->label_entry = GTK_WIDGET (gtk_builder_get_object (builder, "label-entry")); gtk_widget_grab_focus (dialog->label_entry); dialog->hour_spin = GTK_WIDGET (gtk_builder_get_object (builder, "hour-spin")); dialog->min_spin = GTK_WIDGET (gtk_builder_get_object (builder, "minute-spin")); dialog->sec_spin = GTK_WIDGET (gtk_builder_get_object (builder, "second-spin")); // REPEAT SETTINGS dialog->repeat_expand = GTK_WIDGET (gtk_builder_get_object (builder, "repeat-expand")); dialog->repeat_label = GTK_WIDGET (gtk_builder_get_object (builder, "repeat-label")); // The check buttons have the same name as the 3 letter // string representation of the day. for (r = ALARM_REPEAT_SUN, i = 0; r <= ALARM_REPEAT_SAT; r = 1 << ++i) { dialog->repeat_check[i] = GTK_WIDGET (gtk_builder_get_object (builder, alarm_repeat_to_string (r))); } // NOTIFY SETTINGS dialog->notify_sound_radio = GTK_WIDGET (gtk_builder_get_object (builder, "sound-radio")); dialog->notify_sound_box = GTK_WIDGET (gtk_builder_get_object (builder, "sound-box")); dialog->notify_sound_combo = GTK_WIDGET (gtk_builder_get_object (builder, "sound-combo")); dialog->notify_sound_preview = GTK_WIDGET (gtk_builder_get_object (builder, "sound-play")); dialog->notify_sound_loop_check = GTK_WIDGET (gtk_builder_get_object (builder, "sound-loop-check")); dialog->notify_app_radio = GTK_WIDGET (gtk_builder_get_object (builder, "app-radio")); dialog->notify_app_box = GTK_WIDGET (gtk_builder_get_object (builder, "app-box")); dialog->notify_app_combo = GTK_WIDGET (gtk_builder_get_object (builder, "app-combo")); dialog->notify_app_command_box = GTK_WIDGET (gtk_builder_get_object (builder, "app-command-box")); dialog->notify_app_command_entry = GTK_WIDGET (gtk_builder_get_object (builder, "app-command-entry")); // Load apps list alarm_applet_apps_load (applet); return dialog; } void alarm_settings_dialog_show (AlarmSettingsDialog *dialog, Alarm *alarm) { alarm_settings_dialog_set_alarm (dialog, alarm); gtk_widget_show_all (dialog->dialog); gtk_window_present (GTK_WINDOW (dialog->dialog)); } alarm-clock-applet-0.3.3/src/prefs.c0000644000175000017500000003303311730466474014176 00000000000000/* * prefs.c -- Alarm Clock global preferences * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include #include "prefs.h" void prefs_autostart_init (AlarmApplet *applet); void prefs_autostart_update (AlarmApplet *applet); void autostart_monitor_changed(GFileMonitor *monitor, GFile *file, GFile *other_file, GFileMonitorEvent event_type, gpointer user_data); void prefs_show_label_init (AlarmApplet *applet); void prefs_show_label_update (AlarmApplet *applet); void prefs_show_label_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, AlarmApplet *applet); /** * Initialize preferences dialog and friends */ void prefs_init (AlarmApplet *applet) { applet->prefs_dialog = GTK_DIALOG (gtk_builder_get_object(applet->ui, "preferences")); applet->prefs_autostart_check = GTK_WIDGET (gtk_builder_get_object (applet->ui, "autostart-check")); prefs_autostart_init (applet); prefs_show_label_init (applet); } // Ordered list of autostart files we watch for GFile *autostart_user_file = NULL; GList *autostart_files = NULL; /** * Initialize autostart preference */ void prefs_autostart_init (AlarmApplet *applet) { // Initialize autostart files // We monitor: // ~/.config/autostart/PACKAGE.desktop // /etc/xdg/autostart/PACKAGE.desktop // ... gchar *filename; GFile *file; GFileMonitor *monitor; GList *l = NULL; // Add user-specific autostart: ~/.config/autostart/PACKAGE.desktop filename = g_build_filename (g_get_user_config_dir (), "autostart", PACKAGE ".desktop", NULL); autostart_user_file = g_file_new_for_path (filename); autostart_files = g_list_append (autostart_files, autostart_user_file); g_free(filename); // Add global autostart(s): /etc/xdg/autostart/PACKAGE.desktop const gchar* const *sys_cfg_dirs = g_get_system_config_dirs(); gint i; for (i = 0; sys_cfg_dirs[i] != NULL; i++) { filename = g_build_filename (sys_cfg_dirs[i], "autostart", PACKAGE ".desktop", NULL); file = g_file_new_for_path (filename); autostart_files = g_list_append (autostart_files, file); g_free(filename); } // // Update autostart state // prefs_autostart_update (applet); // // Monitor the autostart files // for (l = autostart_files; l != NULL; l = l->next) { file = G_FILE (l->data); monitor = g_file_monitor (file, G_FILE_MONITOR_NONE, NULL, NULL); g_signal_connect (monitor, "changed", G_CALLBACK (autostart_monitor_changed), applet); filename = g_file_get_path (file); g_debug ("Preferences: Autostart watching %s", filename); g_free(filename); } } /** * Get the current most important autostart desktop file * * Returns NULL if no autostart desktop files were found */ static GFile * prefs_autostart_get_current () { GFile *f; GList *l = NULL; for (l = autostart_files; l != NULL; l = l->next) { f = G_FILE (l->data); if (g_file_query_exists (f, NULL)) { return f; } } return NULL; } /** * Get the current autostart state */ gboolean prefs_autostart_get_state () { GFile *file = prefs_autostart_get_current (); gchar *filename; GKeyFile *kf; GError *err = NULL; gboolean b; g_debug ("Preferences: Autostart get_state for file %p", file); if (file) { // An autostart file exists, open it and check for Hidden=true and X-GNOME-Autostart-enabled=false kf = g_key_file_new (); filename = g_file_get_path (file); g_debug ("Preferences: Autostart get_state: %s", filename); if (g_key_file_load_from_file(kf, filename, G_KEY_FILE_NONE, &err)) { g_free (filename); // Check for Hidden=true b = g_key_file_get_boolean(kf, "Desktop Entry", "Hidden", &err); if (!err && b) { // Hidden is true, autostart is FALSE g_debug ("Preferences: Autostart Hidden=true"); g_key_file_free (kf); return FALSE; } if (err) { g_error_free (err); err = NULL; } // Check for X-GNOME-Autostart-enabled=false b = g_key_file_get_boolean(kf, "Desktop Entry", "X-GNOME-Autostart-enabled", &err); if (!err && !b) { // X-GNOME-Autostart-enabled is false, autostart is FALSE g_debug ("Preferences: Autostart X-GNOME-Autostart-enabled=false"); g_key_file_free (kf); return FALSE; } if (err) { g_error_free (err); err = NULL; } g_key_file_free (kf); } else { g_warning ("Preferences: Could not load autostart-file '%s': %s", filename, err->message); g_error_free (err); err = NULL; g_free(filename); } // File exists and none of the keys have been set to disable it => assume autostart is active g_debug ("Preferences: Autostart is TRUE"); return TRUE; } return FALSE; } /** * Create the ~/.config/autostart/alarm-clock-applet.desktop file */ static gboolean prefs_create_autostart_user_file() { GFile *f; GError *err = NULL; gchar *filename; // Create ~/.config/autostart if it doesn't exist f = g_file_get_parent (autostart_user_file); if (!g_file_query_exists (f, NULL)) { g_debug ("Preferences: creating user autostart dir..."); if (!g_file_make_directory_with_parents (f, NULL, &err)) { filename = g_file_get_path (f); g_warning ("Preferences: Could not mkdir '%s': %s", filename, err->message); g_free (filename); g_object_unref (f); return FALSE; } } // Copy .desktop to autostart_user_file filename = g_build_filename (ALARM_CLOCK_DATADIR, "applications", PACKAGE ".desktop", NULL); f = g_file_new_for_path (filename); if (!g_file_copy (f, autostart_user_file, G_FILE_COPY_NONE, NULL, NULL, NULL, &err)) { g_warning ("Preferences: Could not copy '%s' to user config dir: %s", filename, err->message); g_error_free (err); err = NULL; g_free (filename); return FALSE; } g_free (filename); return TRUE; } /** * Enable / disable autostart */ void prefs_autostart_set_state (gboolean state) { gboolean current_state = prefs_autostart_get_state(); if (current_state == state) { // No change return; } GFile *file = prefs_autostart_get_current (); gchar *filename, *str; gsize length; GKeyFile *kf; GFileOutputStream *fstream; GError *err = NULL; if (state) { // Enable g_debug ("Preferences: Autostart ENABLE!"); if (file != autostart_user_file) { if ( ! prefs_create_autostart_user_file() ) return; } // Unset Hidden and X-GNOME-Autostart-enabled kf = g_key_file_new (); filename = g_file_get_path (autostart_user_file); if (g_key_file_load_from_file(kf, filename, G_KEY_FILE_NONE, &err)) { g_key_file_remove_key (kf, "Desktop Entry", "Hidden", NULL); g_key_file_remove_key (kf, "Desktop Entry", "X-GNOME-Autostart-enabled", NULL); // Start hidden on autostart g_key_file_set_string (kf, "Desktop Entry", "Exec", PACKAGE " --hidden"); // Write out results fstream = g_file_replace (autostart_user_file, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &err); if (fstream) { str = g_key_file_to_data (kf, &length, NULL); g_print ("Writing str: %s", str); g_output_stream_write_all (G_OUTPUT_STREAM (fstream), str, length, NULL, NULL, &err); g_output_stream_close (G_OUTPUT_STREAM (fstream), NULL, &err); g_free (str); } } g_key_file_free (kf); if (err) { g_warning ("Preferences: Error when enabling autostart-file '%s': %s", filename, err->message); g_error_free (err); err = NULL; } g_free(filename); } else { // Disable g_debug ("Preferences: Autostart DISABLE!"); if (file) { if (file != autostart_user_file) { if ( ! prefs_create_autostart_user_file() ) return; } // Set Hidden=true kf = g_key_file_new (); filename = g_file_get_path (autostart_user_file); if (g_key_file_load_from_file(kf, filename, G_KEY_FILE_NONE, &err)) { g_key_file_set_boolean(kf, "Desktop Entry", "Hidden", TRUE); // Write out results fstream = g_file_replace (autostart_user_file, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &err); if (fstream) { str = g_key_file_to_data (kf, &length, NULL); g_print ("Writing str: %s", str); g_output_stream_write_all (G_OUTPUT_STREAM (fstream), str, length, NULL, NULL, &err); g_output_stream_close (G_OUTPUT_STREAM (fstream), NULL, &err); g_free (str); } } g_key_file_free (kf); if (err) { g_warning ("Preferences: Error when disabling autostart-file '%s': %s", filename, err->message); g_error_free (err); err = NULL; } } else { // Disabled already, should not happen g_warning ("Preferences: Autostart is already disabled!?!?"); } } // // Enabling: // 1. get_current? // no: copy .desktop to ~/.config/autostart, finished // yes: is in user cfg? // no: copy .desktop to ~/.config/autostart, finished // yes: unset Hidden and X-GNOME-Autostart-enabled // // Disabling: // 1. get_current? // no: disabled already, finished // yes: is in user cfg? // no: copy .desktop to ~/.config/autostart, set Hidden=true // yes: set Hidden=true // } /** * Update autostart state */ void prefs_autostart_update (AlarmApplet *applet) { gboolean state = gtk_toggle_action_get_active (applet->action_toggle_autostart); gboolean new_state = prefs_autostart_get_state(); g_debug ("Preferences: Autostart update: new state: %d", new_state); if (state != new_state) { gtk_toggle_action_set_active (applet->action_toggle_autostart, new_state); } } /** * Initialize show_label preference */ void prefs_show_label_init (AlarmApplet *applet) { #ifdef HAVE_APP_INDICATOR GConfClient *client = gconf_client_get_default (); // Monitor gconf key gconf_client_notify_add ( client, ALARM_GCONF_DIR "/show_label", (GConfClientNotifyFunc) prefs_show_label_changed, applet, NULL, NULL); // Update state prefs_show_label_update (applet); #else // No AppIndicator support, disable option GtkWidget *show_label_check = GTK_WIDGET (gtk_builder_get_object (applet->ui, "show-label-check")); gtk_widget_set_sensitive (show_label_check, FALSE); gtk_widget_set_tooltip_text (show_label_check, _("Requires application indicators")); gtk_toggle_action_set_active (applet->action_toggle_show_label, FALSE); #endif } /** * Get the current show_label state from GConf */ gboolean prefs_show_label_get (AlarmApplet *applet) { GConfClient *client = gconf_client_get_default (); GConfValue *value; gboolean state; // Get config value value = gconf_client_get(client, ALARM_GCONF_DIR "/show_label", NULL); if (value == NULL) { g_warning ("Get %s failed", ALARM_GCONF_DIR "/show_label"); return gtk_toggle_action_get_active (applet->action_toggle_show_label); } state = gconf_value_get_bool (value); gconf_value_free (value); return state; } /** * Set show_label state in GConf */ void prefs_show_label_set (AlarmApplet *applet, gboolean state) { GConfClient *client = gconf_client_get_default (); gboolean current_state = prefs_show_label_get (applet); if (current_state == state) { // No change return; } // Set config value gconf_client_set_bool (client, ALARM_GCONF_DIR "/show_label", state, NULL); } /** * Update show_label state */ void prefs_show_label_update (AlarmApplet *applet) { gboolean state = gtk_toggle_action_get_active (applet->action_toggle_show_label); gboolean new_state = prefs_show_label_get (applet); g_debug ("Preferences: Show_label update: new state: %d", new_state); if (state != new_state) { gtk_toggle_action_set_active (applet->action_toggle_show_label, new_state); } } void prefs_show_label_changed (GConfClient *client, guint cnxn_id, GConfEntry *entry, AlarmApplet *applet) { g_debug ("show_label_changed"); prefs_show_label_update (applet); } /** * Show preferences dialog */ void prefs_dialog_show (AlarmApplet *applet) { if (GTK_WIDGET_VISIBLE(applet->prefs_dialog)) { gtk_window_present_with_time (GTK_WINDOW (applet->prefs_dialog), gtk_get_current_event_time()); } else { gtk_dialog_run (applet->prefs_dialog); } } void autostart_monitor_changed (GFileMonitor *monitor, GFile *file, GFile *other_file, GFileMonitorEvent event_type, gpointer user_data) { AlarmApplet *applet = (AlarmApplet *)user_data; gchar *s = g_file_get_path (file); g_print ("Monitor changed on %s: ", s); switch (event_type) { case G_FILE_MONITOR_EVENT_CHANGED: g_print ("CHANGED"); break; case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: g_print ("CHANGES_DONE_HINT"); break; case G_FILE_MONITOR_EVENT_DELETED: g_print ("DELETED"); break; case G_FILE_MONITOR_EVENT_CREATED: g_print ("CREATED"); break; case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: g_print ("ATTRIBUTE_CHANGED"); break; case G_FILE_MONITOR_EVENT_PRE_UNMOUNT: g_print ("PRE_UNMOUNT"); break; case G_FILE_MONITOR_EVENT_UNMOUNTED: g_print ("UNMOUNTED"); break; default: g_print ("UNKNOWN (%d)", event_type); break; } g_print ("\n"); g_free (s); prefs_autostart_update (applet); } alarm-clock-applet-0.3.3/src/list-entry.c0000644000175000017500000001043411336057335015163 00000000000000/* * list-entry.c -- Simple data structure to hold name, data and icon. * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include #include "list-entry.h" #include "util.h" /* * Creates a new AlarmListEntry. */ AlarmListEntry * alarm_list_entry_new (const gchar *name, const gchar *data, const gchar *icon) { AlarmListEntry *entry; entry = g_new (AlarmListEntry, 1); entry->name = NULL; entry->data = NULL; entry->icon = NULL; if (name) entry->name = g_strdup (name); if (data) entry->data = g_strdup (data); if (icon) entry->icon = g_strdup (icon); return entry; } void alarm_list_entry_free (AlarmListEntry *e) { g_free (e->data); g_free (e->name); g_free (e->icon); g_free (e); } AlarmListEntry * alarm_list_entry_new_file (const gchar *uri, gchar **mime_ret, GError **error) { AlarmListEntry *entry; GError *new_error = NULL; GFileInfo *info; GFile *file; file = g_file_new_for_uri (uri); info = g_file_query_info (file, "standard::content-type,standard::icon", G_FILE_QUERY_INFO_NONE, NULL, &new_error); if (new_error != NULL) { //g_warning ("Could not open uri: %s", uri); if (error) *error = new_error; else g_error_free (new_error); return NULL; } entry = g_new (AlarmListEntry, 1); entry->data = g_strdup (uri); entry->name = g_file_get_basename (file); entry->icon = g_icon_to_string (g_file_info_get_icon (info)); if (mime_ret != NULL) *mime_ret = g_strdup (g_file_info_get_content_type (info)); g_object_unref (info); g_object_unref (file); return entry; } GList * alarm_list_entry_list_new (const gchar *dir_uri, const gchar *supported_types[]) { GError *error = NULL; GFile *dir; GFileEnumerator *result; GFileInfo *info; GList *flist; AlarmListEntry *entry; const gchar *mime; gboolean valid; gint i; dir = g_file_new_for_uri (dir_uri); result = g_file_enumerate_children (dir, "standard::type,standard::content-type," "standard::icon,standard::name", G_FILE_QUERY_INFO_NONE, NULL, &error); if (error) { g_critical ("Could not open directory: %s", dir_uri); g_error_free (error); return NULL; } g_debug ("Loading files in %s ...", dir_uri); flist = NULL; while ((info = g_file_enumerator_next_file (result, NULL, NULL))) { //g_debug ("-- %s", g_file_info_get_name (info)); if (g_file_info_get_file_type (info) == G_FILE_TYPE_REGULAR) { mime = g_file_info_get_content_type (info); //g_debug (" [ regular file: MIME: %s ]", mime); valid = TRUE; if (supported_types != NULL) { valid = FALSE; for (i = 0; supported_types[i] != NULL; i++) { if (strstr (mime, supported_types[i]) != NULL) { // MATCH //g_debug (" [ MATCH ]"); valid = TRUE; break; } } } if (valid) { entry = g_new (AlarmListEntry, 1); entry->name = g_strdup (g_file_info_get_name (info)); entry->data = g_strdup_printf ("%s/%s", dir_uri, entry->name); entry->icon = g_icon_to_string (g_file_info_get_icon (info)); //g_debug ("Icon found: %s", entry->icon); flist = g_list_append (flist, entry); } } } g_file_enumerator_close (result, NULL, NULL); return flist; } void alarm_list_entry_list_free (GList **list) { GList *l; AlarmListEntry *e; g_debug ("Alarm_file_entry_list_free (%p => %p)", list, *list); // Free data for (l = *list; l; l = l->next) { e = (AlarmListEntry *)l->data; alarm_list_entry_free (e); } g_list_free (*list); *list = NULL; } alarm-clock-applet-0.3.3/src/util.c0000644000175000017500000001104411343250200014004 00000000000000/* * util.c -- Misc utilities * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include #include #include "util.h" /** * Calculates the alarm timestamp given hour, min and secs. */ time_t get_alarm_timestamp (guint hour, guint minute, guint second) { time_t now; struct tm *tm; time (&now); tm = localtime (&now); // Check if the alarm is for tomorrow if (hour < tm->tm_hour || (hour == tm->tm_hour && minute < tm->tm_min) || (hour == tm->tm_hour && minute == tm->tm_min && second < tm->tm_sec)) { g_debug("Alarm is for tomorrow."); tm->tm_mday++; } tm->tm_hour = hour; tm->tm_min = minute; tm->tm_sec = second; // DEBUG: char tmp[512]; strftime (tmp, sizeof (tmp), "%c", tm); g_debug ("Alarm will trigger at %s", tmp); return mktime (tm); } /** * Construct a Uppercased name of filename without the extension. */ gchar * to_basename (const gchar *filename) { gint i, len; gchar *result; len = strlen (filename); // Remove extension for (i = len-1; i > 0; i--) { if (filename[i] == '.') { break; } } if (i == 0) // Extension not found i = len; result = g_strndup (filename, i); // Make first character Uppercase result[0] = g_utf8_strup (result, 1)[0]; return result; } /* * Run Command */ gboolean command_run (const gchar *command) { GError *err = NULL; if (!g_spawn_command_line_async (command, &err)) { g_critical ("Could not launch `%s': %s", command, err->message); g_error_free (err); return FALSE; } return TRUE; } gboolean is_executable_valid (gchar *executable) { gchar *path; path = g_find_program_in_path (executable); if (path) { g_free (path); return TRUE; } return FALSE; } /* * Get full path to a data file */ char * alarm_applet_get_data_path (const char *name) { char *filename; #ifdef ALARM_CLOCK_RUN_IN_SOURCE_TREE /* Try the file in the source tree first */ filename = g_build_filename ("..", "data", name, NULL); g_debug("filename: %s", filename); if (g_file_test (filename, G_FILE_TEST_EXISTS) == FALSE) { g_free (filename); /* Try the local file */ filename = g_build_filename (ALARM_CLOCK_PKGDATADIR, name, NULL); if (g_file_test (filename, G_FILE_TEST_EXISTS) == FALSE) { g_free (filename); return NULL; } } #else filename = g_build_filename (ALARM_CLOCK_PKGDATADIR, name, NULL); #endif return filename; } /** * Block signal handlers by signal name */ guint block_signal_handlers_by_name (gpointer instance, const gchar *signal_name) { guint signal_id; signal_id = g_signal_lookup (signal_name, G_OBJECT_TYPE (instance)); g_warn_if_fail (signal_id); g_return_val_if_fail (signal_id, 0); return g_signal_handlers_block_matched (instance, G_SIGNAL_MATCH_ID, signal_id, 0, NULL, NULL, NULL); } /** * Unblock signal handlers by signal name */ guint unblock_signal_handlers_by_name (gpointer instance, const gchar *signal_name) { guint signal_id; signal_id = g_signal_lookup (signal_name, G_OBJECT_TYPE (instance)); g_warn_if_fail (signal_id); g_return_val_if_fail (signal_id, 0); return g_signal_handlers_unblock_matched (instance, G_SIGNAL_MATCH_ID, signal_id, 0, NULL, NULL, NULL); } guint block_list (GList *instances, gpointer func) { guint blocked = 0; GList *l = NULL; for (l = instances; l != NULL; l = l->next) { blocked += BLOCK (l->data, func); } return blocked; } guint unblock_list (GList *instances, gpointer func) { guint unblocked = 0; GList *l = NULL; for (l = instances; l != NULL; l = l->next) { unblocked += UNBLOCK (l->data, func); } return unblocked; } alarm-clock-applet-0.3.3/src/alarm-gconf.h0000644000175000017500000000220511730466474015247 00000000000000/* * alarm-gconf.h -- GConf routines * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef ALARM_GCONF_H_ #define ALARM_GCONF_H_ #include #include "alarm-applet.h" G_BEGIN_DECLS void alarm_applet_gconf_init (AlarmApplet *applet); void alarm_applet_gconf_load (AlarmApplet *applet); G_END_DECLS #endif /*ALARM_GCONF_H_*/ alarm-clock-applet-0.3.3/src/alarm.h0000644000175000017500000001446711336057335014164 00000000000000/* * alarm.h -- Core alarm functionality * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef ALARM_H_ #define ALARM_H_ #include #include #include #include #include "player.h" G_BEGIN_DECLS /* * Utility macros */ #define TYPE_ALARM (alarm_get_type()) #define ALARM(object) \ (G_TYPE_CHECK_INSTANCE_CAST((object), TYPE_ALARM, Alarm)) #define ALARM_CLASS(klass) \ (G_TYPE_CHECK_CLASS_CAST((klass), TYPE_ALARM, AlarmClass)) #define IS_ALARM(object) \ (G_TYPE_CHECK_INSTANCE_TYPE((object), TYPE_ALARM)) #define IS_ALARM_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass), TYPE_ALARM)) #define ALARM_GET_CLASS(object) \ (G_TYPE_INSTANCE_GET_CLASS((object), TYPE_ALARM, AlarmClass)) /* * Structure definitions */ typedef enum { ALARM_TYPE_INVALID = 0, ALARM_TYPE_CLOCK, /* Alarm at specific time */ ALARM_TYPE_TIMER /* Alarm in X mins */ } AlarmType; typedef enum { ALARM_REPEAT_NONE = 0, ALARM_REPEAT_SUN = 1 << 0, ALARM_REPEAT_MON = 1 << 1, ALARM_REPEAT_TUE = 1 << 2, ALARM_REPEAT_WED = 1 << 3, ALARM_REPEAT_THU = 1 << 4, ALARM_REPEAT_FRI = 1 << 5, ALARM_REPEAT_SAT = 1 << 6, } AlarmRepeat; #define ALARM_REPEAT_WEEKDAYS (ALARM_REPEAT_MON | ALARM_REPEAT_TUE | ALARM_REPEAT_WED | ALARM_REPEAT_THU | ALARM_REPEAT_FRI) #define ALARM_REPEAT_WEEKENDS (ALARM_REPEAT_SAT | ALARM_REPEAT_SUN) #define ALARM_REPEAT_ALL (ALARM_REPEAT_WEEKDAYS | ALARM_REPEAT_WEEKENDS) typedef enum { ALARM_NOTIFY_INVALID = 0, ALARM_NOTIFY_SOUND, /* Notification by sound */ ALARM_NOTIFY_COMMAND, /* Notification by command */ } AlarmNotifyType; typedef struct _Alarm Alarm; typedef struct _AlarmClass AlarmClass; struct _Alarm { GObject parent; gchar *gconf_dir; /* GConf directory */ gint id; /* Alarm ID */ gboolean triggered; // Whether the alarm has been triggered /* GConf mapped values */ AlarmType type; time_t time; /* Time for alarm */ time_t timestamp; /* UNIX timestamp (local time) for running alarms */ gboolean active; gchar *message; AlarmRepeat repeat; AlarmNotifyType notify_type; gchar *sound_file; gboolean sound_loop; gchar *command; }; struct _AlarmClass { GObjectClass parent; /* Signals */ void (*alarm)(Alarm *alarm); // Alarm triggered! void (*cleared)(Alarm *alarm); // Alarm cleared void (*error)(Alarm *alarm, GError *err); // An error occured void (*player_changed)(Alarm *alarm, MediaPlayerState state); /* Media player state changed */ }; /* * Error codes */ #define ALARM_ERROR alarm_error_quark () typedef enum { ALARM_ERROR_NONE, ALARM_ERROR_PLAY, /* Error playing sound */ ALARM_ERROR_COMMAND /* Error launching command */ } AlarmErrorCode; /* * Failsafe defaults for the GConf-mapped properties for * use when the schema isn't found or doesn't provide * sensible defaults. */ #define ALARM_DEFAULT_TYPE ALARM_TYPE_CLOCK #define ALARM_DEFAULT_TIME 0 #define ALARM_DEFAULT_TIMESTAMP 0 #define ALARM_DEFAULT_ACTIVE FALSE #define ALARM_DEFAULT_MESSAGE "Alarm!" #define ALARM_DEFAULT_REPEAT ALARM_REPEAT_NONE #define ALARM_DEFAULT_NOTIFY_TYPE ALARM_NOTIFY_SOUND #define ALARM_DEFAULT_SOUND_FILE "" // Should default to first in stock sound list #define ALARM_DEFAULT_SOUND_LOOP TRUE #define ALARM_DEFAULT_COMMAND "" // Should default to first in app list /* * GConf settings */ #define ALARM_GCONF_DIR_PREFIX "alarm" #define ALARM_GCONF_SCHEMA_DIR "/schemas/apps/alarm-clock/alarm" /* * Player backoff timeout. * We will stop the player automatically after 20 minutes. */ #define ALARM_SOUND_TIMEOUT (60 * 20) /* * Function prototypes. */ /* used by ALARM_TYPE */ GType alarm_get_type (void); Alarm * alarm_new (const gchar *gconf_dir, gint id); guint alarm_gen_id_dir (const gchar *gconf_dir); guint alarm_gen_id (Alarm *alarm); gchar * alarm_gconf_get_dir (Alarm *alarm); gint alarm_gconf_dir_get_id (const gchar *dir); gchar * alarm_gconf_get_full_key (Alarm *alarm, const gchar *key); const gchar * alarm_type_to_string (AlarmType type); AlarmType alarm_type_from_string (const gchar *type); const gchar * alarm_notify_type_to_string (AlarmNotifyType type); AlarmNotifyType alarm_notify_type_from_string (const gchar *type); GList * alarm_get_list (const gchar *gconf_dir); void alarm_signal_connect_list (GList *instances, const gchar *detailed_signal, GCallback c_handler, gpointer data); void alarm_trigger (Alarm *alarm); void alarm_set_enabled (Alarm *alarm, gboolean enabled); void alarm_enable (Alarm *alarm); void alarm_clear (Alarm *alarm); void alarm_disable (Alarm *alarm); void alarm_delete (Alarm *alarm); void alarm_snooze (Alarm *alarm, guint seconds); gboolean alarm_is_playing (Alarm *alarm); void alarm_set_time (Alarm *alarm, guint hour, guint minute, guint second); void alarm_update_timestamp (Alarm *alarm); void alarm_update_timestamp_full (Alarm *alarm, gboolean include_today); GQuark alarm_error_quark (void); void alarm_error_trigger (Alarm *alarm, AlarmErrorCode code, const gchar *msg); struct tm * alarm_get_time (Alarm *alarm); struct tm * alarm_get_remain (Alarm *alarm); time_t alarm_get_remain_seconds (Alarm *alarm); const gchar *alarm_repeat_to_string (AlarmRepeat repeat); AlarmRepeat alarm_repeat_from_string (const gchar *str); AlarmRepeat alarm_repeat_from_list (GSList *list); GSList *alarm_repeat_to_list (AlarmRepeat repeat); gint alarm_wday_distance (gint wday1, gint wday2); gboolean alarm_should_repeat (Alarm *alarm); gchar *alarm_repeat_to_pretty (AlarmRepeat repeat); G_END_DECLS #endif /*ALARM_H_*/ alarm-clock-applet-0.3.3/src/player.c0000644000175000017500000001532411760720141014341 00000000000000/* * player.c - Simple media player based on GStreamer * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include "player.h" /** * Create a new media player. * * @uri The file to play. * @loop Wether to loop or not. * @state_callback An optional #MediaPlayerStateChangeCallback which will be * notified when the state of the player changes. * @data Data for the state_callback * @error_handler An optional #MediaPlayerErrorHandler which will be notified * if an error occurs. * @error_data Data for the error_handler. */ MediaPlayer * media_player_new (const gchar *uri, gboolean loop, MediaPlayerStateChangeCallback state_callback, gpointer data, MediaPlayerErrorHandler error_handler, gpointer error_data) { MediaPlayer *player; GstElement *audiosink, *videosink; // Initialize struct player = g_new (MediaPlayer, 1); player->loop = loop; player->state = MEDIA_PLAYER_STOPPED; player->watch_id = 0; player->state_changed = state_callback; player->state_changed_data = data; player->error_handler = error_handler; player->error_handler_data = error_data; // Initialize GStreamer gst_init (NULL, NULL); /* Set up player */ player->player = gst_element_factory_make ("playbin2", "player"); audiosink = gst_element_factory_make ("gconfaudiosink", "player-audiosink"); videosink = gst_element_factory_make ("gconfvideosink", "player-videosink"); if (!player->player || !audiosink || !videosink) { g_critical ("Could not create player."); return NULL; } // Set uri and sinks g_object_set (player->player, "uri", uri, "audio-sink", audiosink, "video-sink", videosink, NULL); return player; } /** * Free a media player. */ void media_player_free (MediaPlayer *player) { if (player->player) gst_object_unref (GST_OBJECT (player->player)); g_free (player); } /** * Set the uri of player. */ void media_player_set_uri (MediaPlayer *player, const gchar *uri) { g_object_set (player->player, "uri", uri, NULL); } /** * Get the uri of player. * * Free with g_free() */ gchar * media_player_get_uri (MediaPlayer *player) { gchar *uri; g_object_get (player->player, "uri", &uri, NULL); return uri; } /** * Set media player state. */ void media_player_set_state (MediaPlayer *player, MediaPlayerState state) { MediaPlayerState old = player->state; player->state = state; // Notify state change handler if (old != state && player->state_changed) player->state_changed(player, player->state, player->state_changed_data); } /** * Check for errors & call error handler */ static gboolean media_player_bus_check_errors (MediaPlayer *player, GstMessage *message) { // g_debug ("Got %s message\n", GST_MESSAGE_TYPE_NAME (message)); switch (GST_MESSAGE_TYPE (message)) { case GST_MESSAGE_ERROR: { GError *err; gchar *debug; gst_message_parse_error (message, &err, &debug); if (player->error_handler) player->error_handler (player, err, player->error_handler_data); g_error_free (err); g_free (debug); return FALSE; break; } default: break; } // No errors return TRUE; } /** * GST bus callback. */ static gboolean media_player_bus_cb (GstBus *bus, GstMessage *message, MediaPlayer *player) { GstState state; // g_debug ("Got %s message\n", GST_MESSAGE_TYPE_NAME (message)); if (!media_player_bus_check_errors (player, message)) { // There were errors media_player_stop (player); return FALSE; } switch (GST_MESSAGE_TYPE(message)) { case GST_MESSAGE_ASYNC_DONE: g_debug("GST_MESSAGE_ASYNC_DONE"); gst_element_get_state(player->player, &state, NULL, GST_CLOCK_TIME_NONE); if (state == GST_STATE_PAUSED) { gst_element_seek (player->player, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_SEGMENT, GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE); gst_element_set_state (player->player, GST_STATE_PLAYING); } break; case GST_MESSAGE_SEGMENT_DONE: g_debug("GST_MESSAGE_SEGMENT_DONE"); // End of segment. Do we loop? if (player->loop) { // Perform a segment seek to the beginning of the stream gst_element_seek (player->player, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_SEGMENT, GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE); } else { // Perform a normal seek so we reach EOS gst_element_seek (player->player, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_NONE, GST_SEEK_TYPE_NONE, 0, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE); } break; case GST_MESSAGE_EOS: g_debug("GST_MESSAGE_EOS"); media_player_stop (player); break; default: break; } return TRUE; } /** * Start media player */ void media_player_start (MediaPlayer *player) { GstBus *bus; // Attach bus watcher bus = gst_pipeline_get_bus (GST_PIPELINE (player->player)); player->watch_id = gst_bus_add_watch (bus, (GstBusFunc) media_player_bus_cb, player); gst_object_unref (bus); gst_element_set_state (player->player, GST_STATE_PAUSED); media_player_set_state (player, MEDIA_PLAYER_PLAYING); } /** * Stop player */ void media_player_stop (MediaPlayer *player) { if (player->watch_id) { g_source_remove (player->watch_id); player->watch_id = 0; } if (player->player != NULL) { gst_element_set_state (player->player, GST_STATE_NULL); } media_player_set_state (player, MEDIA_PLAYER_STOPPED); } /* * }} Media player */ alarm-clock-applet-0.3.3/src/Makefile.in0000664000175000017500000006360511762720131014756 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Alarm Clock VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/Makefile.decl bin_PROGRAMS = alarm-clock-applet$(EXEEXT) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_alarm_clock_applet_OBJECTS = alarm-applet.$(OBJEXT) \ player.$(OBJEXT) util.$(OBJEXT) list-entry.$(OBJEXT) \ alarm.$(OBJEXT) alarm-gconf.$(OBJEXT) ui.$(OBJEXT) \ alarm-actions.$(OBJEXT) alarm-list-window.$(OBJEXT) \ alarm-settings.$(OBJEXT) prefs.$(OBJEXT) alarm_clock_applet_OBJECTS = $(am_alarm_clock_applet_OBJECTS) alarm_clock_applet_LDADD = $(LDADD) alarm_clock_applet_DEPENDENCIES = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; SOURCES = $(alarm_clock_applet_SOURCES) DIST_SOURCES = $(alarm_clock_applet_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ ALARM_CLOCK_MAJOR_VERSION = @ALARM_CLOCK_MAJOR_VERSION@ ALARM_CLOCK_MICRO_VERSION = @ALARM_CLOCK_MICRO_VERSION@ ALARM_CLOCK_MINOR_VERSION = @ALARM_CLOCK_MINOR_VERSION@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APP_INDICATOR_CFLAGS = @APP_INDICATOR_CFLAGS@ APP_INDICATOR_LIBS = @APP_INDICATOR_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BASE_CFLAGS = @BASE_CFLAGS@ BASE_LIBS = @BASE_LIBS@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ GSTREAMER_LIBS = @GSTREAMER_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBNOTIFY_0_7_CFLAGS = @LIBNOTIFY_0_7_CFLAGS@ LIBNOTIFY_0_7_LIBS = @LIBNOTIFY_0_7_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ GTESTER = gtester # for non-GLIB packages GTESTER_REPORT = gtester-report # for non-GLIB package # initialize variables for unconditional += appending EXTRA_DIST = TEST_PROGS = soundsdir = $(datadir)/sounds gladedir = $(pkgdatadir)/glade SUBDIRS = tests AM_CFLAGS = \ -DALARM_CLOCK_DATADIR=\"$(datadir)\" \ -DALARM_CLOCK_PKGDATADIR=\"$(pkgdatadir)\" \ @BASE_CFLAGS@ @GTK_CFLAGS@ @GSTREAMER_CFLAGS@ \ @GNOME_CFLAGS@ @APP_INDICATOR_CFLAGS@ @WARN_CFLAGS@ LDADD = \ @BASE_LIBS@ @GTK_LIBS@ @GSTREAMER_LIBS@ \ @GNOME_LIBS@ @APP_INDICATOR_LIBS@ alarm_clock_applet_SOURCES = alarm-applet.c alarm-applet.h \ player.c player.h \ util.c util.h \ list-entry.c list-entry.h \ alarm.c alarm.h \ alarm-gconf.c alarm-gconf.h \ ui.c ui.h \ alarm-actions.c alarm-actions.h \ alarm-list-window.c alarm-list-window.h \ alarm-settings.c alarm-settings.h \ prefs.c prefs.h all: all-recursive .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) alarm-clock-applet$(EXEEXT): $(alarm_clock_applet_OBJECTS) $(alarm_clock_applet_DEPENDENCIES) $(EXTRA_alarm_clock_applet_DEPENDENCIES) @rm -f alarm-clock-applet$(EXEEXT) $(AM_V_CCLD)$(LINK) $(alarm_clock_applet_OBJECTS) $(alarm_clock_applet_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm-actions.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm-applet.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm-gconf.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm-list-window.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm-settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list-entry.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prefs.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ui.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-local check: check-recursive all-am: Makefile $(PROGRAMS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ ctags-recursive install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am check-local clean clean-binPROGRAMS \ clean-generic ctags ctags-recursive distclean \ distclean-compile distclean-generic distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binPROGRAMS install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-binPROGRAMS ### testing rules # test: run all tests in cwd and subdirs test: ${TEST_PROGS} @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} @ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done # test-report: run tests in subdirs and generate report # perf-report: run tests in subdirs with -m perf and generate report # full-report: like test-report: with -m perf and -m slow test-report perf-report full-report: ${TEST_PROGS} @test -z "${TEST_PROGS}" || { \ case $@ in \ test-report) test_options="-k";; \ perf-report) test_options="-k -m=perf";; \ full-report) test_options="-k -m=perf -m=slow";; \ esac ; \ if test -z "$$GTESTER_LOGDIR" ; then \ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ elif test -n "${TEST_PROGS}" ; then \ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ fi ; \ } @ ignore_logdir=true ; \ if test -z "$$GTESTER_LOGDIR" ; then \ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ ignore_logdir=false ; \ fi ; \ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done ; \ $$ignore_logdir || { \ echo '' > $@.xml ; \ echo '' >> $@.xml ; \ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ done ; \ echo >> $@.xml ; \ echo '' >> $@.xml ; \ rm -rf "$$GTESTER_LOGDIR"/ ; \ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ } .PHONY: test test-report perf-report full-report # run make test as part of make check check-local: test # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: alarm-clock-applet-0.3.3/src/alarm-list-window.h0000644000175000017500000000676011374032006016425 00000000000000/* * alarms-list.h -- Alarm list window * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef ALARM_LIST_WINDOW_H_ #define ALARM_LIST_WINDOW_H_ #include typedef struct _AlarmListWindow AlarmListWindow; #include "alarm-applet.h" #include "alarm.h" typedef enum { COLUMN_ALARM = 0, COLUMN_TYPE, COLUMN_TIME, COLUMN_LABEL, COLUMN_ACTIVE, COLUMN_TRIGGERED, COLUMN_SHOW_ICON, ALARMS_N_COLUMNS } AlarmListColumn; typedef enum { SORTID_TIME_REMAINING = 0, } AlarmSortID; struct _AlarmListWindow { AlarmApplet *applet; Alarm *selected_alarm; gboolean reordered; // Indicates that rows have just been reordered gboolean toggled; // Indicates that an alarm has just been toggled GtkWindow *window; GtkListStore *model; GtkTreeView *tree_view; GtkWidget *new_button; GtkWidget *edit_button; GtkWidget *delete_button; GtkWidget *enable_button; GtkWidget *stop_button; GtkWidget *snooze_button; GtkWidget *snooze_menu; GtkAccelGroup *accel_group; gint window_pos_x; gint window_pos_y; }; //#define TIME_COL_FORMAT "%H:%M:%S" // TODO: Does fixing the font size give a11y problems? #define TIME_COL_CLOCK_FORMAT " %H:%M:%S" #define TIME_COL_TIMER_FORMAT "-%H:%M:%S" #define TIME_COL_REPEAT_FORMAT "\n %s" #define LABEL_COL_FORMAT "%s" #define LABEL_COL_TRIGGERED_FORMAT "%s" #define CLOCK_FORMAT "%H:%M" #define TIMER_FORMAT "-%H:%M" #define DELETE_DIALOG_TITLE _("Delete %s?") #define DELETE_DIALOG_TEXT _("Delete %s %s?") #define DELETE_DIALOG_SECONDARY _("Are you sure you want to delete the %s labeled %s scheduled at %s? This action cannot be undone.") AlarmListWindow * alarm_list_window_new (AlarmApplet *applet); void alarm_list_window_show (AlarmListWindow *list_window); void alarm_list_window_hide (AlarmListWindow *list_window); void alarm_list_window_toggle (AlarmListWindow *list_window); void alarm_list_window_alarm_add (AlarmListWindow *list_window, Alarm *alarm); void alarm_list_window_alarm_update (AlarmListWindow *list_window, Alarm *alarm); void alarm_list_window_alarm_remove (AlarmListWindow *list_window, Alarm *alarm); void alarm_list_window_alarms_add (AlarmListWindow *list_window, GList *alarms); gboolean alarm_list_window_find_alarm (GtkTreeModel *model, Alarm *alarm, GtkTreeIter *iter); gboolean alarm_list_window_contains (AlarmListWindow *list_window, Alarm *alarm); Alarm * alarm_list_window_get_selected_alarm (AlarmListWindow *list_window); #endif /*ALARM_LIST_WINDOW_H_*/ alarm-clock-applet-0.3.3/src/Makefile.am0000644000175000017500000000211711730466474014746 00000000000000include $(top_srcdir)/Makefile.decl soundsdir= $(datadir)/sounds gladedir = $(pkgdatadir)/glade SUBDIRS = tests AM_CFLAGS = \ -DALARM_CLOCK_DATADIR=\"$(datadir)\" \ -DALARM_CLOCK_PKGDATADIR=\"$(pkgdatadir)\" \ @BASE_CFLAGS@ @GTK_CFLAGS@ @GSTREAMER_CFLAGS@ \ @GNOME_CFLAGS@ @APP_INDICATOR_CFLAGS@ @WARN_CFLAGS@ LDADD = \ @BASE_LIBS@ @GTK_LIBS@ @GSTREAMER_LIBS@ \ @GNOME_LIBS@ @APP_INDICATOR_LIBS@ # # alarm-clock-applet binary # bin_PROGRAMS = alarm-clock-applet alarm_clock_applet_SOURCES = alarm-applet.c alarm-applet.h \ player.c player.h \ util.c util.h \ list-entry.c list-entry.h \ alarm.c alarm.h \ alarm-gconf.c alarm-gconf.h \ ui.c ui.h \ alarm-actions.c alarm-actions.h \ alarm-list-window.c alarm-list-window.h \ alarm-settings.c alarm-settings.h \ prefs.c prefs.h alarm-clock-applet-0.3.3/src/player.h0000644000175000017500000000600711030467333014345 00000000000000/* * player.h - Simple media player based on GStreamer * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef PLAYER_H_ #define PLAYER_H_ #include G_BEGIN_DECLS typedef enum { MEDIA_PLAYER_INVALID = 0, MEDIA_PLAYER_STOPPED, MEDIA_PLAYER_PLAYING, MEDIA_PLAYER_ERROR } MediaPlayerState; typedef struct _MediaPlayer MediaPlayer; /* * Callback for when the media player's state changes. */ typedef void (*MediaPlayerStateChangeCallback) (MediaPlayer *player, MediaPlayerState state, gpointer data); /* * Callback for when an error occurs in the media player. * The error details is put in the error argument. This value * should _never_ be freed in the callback! */ typedef void (*MediaPlayerErrorHandler) (MediaPlayer *player, GError *error, gpointer data); struct _MediaPlayer { GstElement *player; gboolean loop; MediaPlayerState state; guint watch_id; MediaPlayerStateChangeCallback state_changed; MediaPlayerErrorHandler error_handler; gpointer state_changed_data; gpointer error_handler_data; }; /** * Create a new media player. * * @uri The file to play. * @loop Wether to loop or not. * @state_callback An optional #MediaPlayerStateChangeCallback which will be * notified when the state of the player changes. * @data Data for the state_callback * @error_handler An optional #MediaPlayerErrorHandler which will be notified * if an error occurs. * @error_data Data for the error_handler. */ MediaPlayer * media_player_new (const gchar *uri, gboolean loop, MediaPlayerStateChangeCallback state_callback, gpointer data, MediaPlayerErrorHandler error_handler, gpointer error_data); /** * Free a media player. */ void media_player_free (MediaPlayer *player); /** * Set the uri of player. */ void media_player_set_uri (MediaPlayer *player, const gchar *uri); /** * Get the uri of player. * * Free with g_free() */ gchar * media_player_get_uri (MediaPlayer *player); /** * Set media player state. */ void media_player_set_state (MediaPlayer *player, MediaPlayerState state); /** * Start media player */ void media_player_start (MediaPlayer *player); /** * Stop player */ void media_player_stop (MediaPlayer *player); G_END_DECLS #endif /*PLAYER_H_*/ alarm-clock-applet-0.3.3/src/ui.h0000644000175000017500000000520711730466474013503 00000000000000/* * ui.h - Alarm Clock applet UI routines * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef UI_H_ #define UI_H_ #include "alarm-applet.h" #include "alarm-list-window.h" #include "alarm-settings.h" void display_error_dialog (const gchar *message, const gchar *secondary_text, GtkWindow *parent); void alarm_applet_label_update (AlarmApplet *applet); void alarm_applet_update_tooltip (AlarmApplet *applet); void alarm_applet_icon_update (AlarmApplet *applet); /* * Shamelessly stolen from gnome-da-capplet.c */ void fill_combo_box (GtkComboBox *combo_box, GList *list, const gchar *custom_label); void alarm_applet_notification_show (AlarmApplet *applet, const gchar *summary, const gchar *body, const gchar *icon); void alarm_applet_ui_init (AlarmApplet *applet); GtkBuilder * alarm_applet_ui_load (const char *name, AlarmApplet *applet); void alarm_applet_alarm_changed (GObject *object, GParamSpec *pspec, gpointer data); void alarm_applet_alarm_triggered (Alarm *alarm, gpointer data); void alarm_applet_alarm_cleared (Alarm *alarm, gpointer data); void alarm_applet_status_update (AlarmApplet *applet); void alarm_applet_menu_init (AlarmApplet *applet); void media_player_error_cb (MediaPlayer *player, GError *err, gpointer data); void alarm_applet_status_activate (GtkStatusIcon *status_icon, gpointer user_data); void alarm_applet_status_popup (GtkStatusIcon *status_icon, guint button, guint activate_time, gpointer user_data); void alarm_applet_status_menu_edit_cb (GtkMenuItem *menuitem, gpointer user_data); void alarm_applet_status_menu_prefs_cb (GtkMenuItem *menuitem, gpointer user_data); void alarm_applet_status_menu_about_cb (GtkMenuItem *menuitem, gpointer user_data); #endif /*UI_H_*/ alarm-clock-applet-0.3.3/src/prefs.h0000644000175000017500000000242111730466474014200 00000000000000/* * prefs.h -- Alarm Clock global preferences * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef PREFS_H_ #define PREFS_H_ #include "alarm-applet.h" void prefs_init (AlarmApplet *applet); void prefs_dialog_show (AlarmApplet *applet); gboolean prefs_autostart_get_state (void); void prefs_autostart_set_state (gboolean state); gboolean prefs_show_label_get (AlarmApplet *applet); void prefs_show_label_set (AlarmApplet *applet, gboolean state); #endif /*PREFS_H_*/ alarm-clock-applet-0.3.3/src/alarm-settings.h0000644000175000017500000000454211344471712016011 00000000000000/* * alarm-settings.h -- Alarm settings dialog * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef EDITALARM_H_ #define EDITALARM_H_ #include "alarm.h" #include "player.h" typedef struct _AlarmSettingsDialog AlarmSettingsDialog; #include "alarm-applet.h" struct _AlarmSettingsDialog { AlarmApplet *applet; Alarm *alarm; /* Media player for previews */ MediaPlayer *player; GtkWidget *dialog; GtkWidget *clock_toggle, *timer_toggle; GtkWidget *label_entry; GtkWidget *hour_spin, *min_spin, *sec_spin; /* Repeat */ GtkWidget *repeat_expand; GtkWidget *repeat_label; GtkWidget *repeat_check[7]; /* Mon, tue, ..., sun check boxes */ /* Notification */ GtkWidget *notify_sound_radio; GtkWidget *notify_sound_box; GtkWidget *notify_sound_stock; GtkWidget *notify_sound_combo; GtkWidget *notify_sound_loop_check; GtkWidget *notify_sound_preview; GtkWidget *notify_app_radio; GtkWidget *notify_app_box; GtkWidget *notify_app_combo; GtkWidget *notify_app_command_box; GtkWidget *notify_app_command_entry; }; AlarmSettingsDialog * alarm_settings_dialog_new (AlarmApplet *applet); void alarm_settings_dialog_show (AlarmSettingsDialog *dialog, Alarm *alarm); void display_edit_alarm_dialog (AlarmApplet *applet, Alarm *alarm); void alarm_settings_dialog_close (AlarmSettingsDialog *dialog); gboolean alarm_settings_output_time (GtkSpinButton *spin, gpointer data); void alarm_settings_sound_preview (GtkButton *button, gpointer data); void alarm_settings_dialog_response (GtkDialog *dialog, gint rid, gpointer data); #endif /*EDITALARM_H_*/ alarm-clock-applet-0.3.3/src/alarm-applet.c0000644000175000017500000004054211731377072015435 00000000000000/* * alarm-applet.c -- Alarm Clock applet bootstrap * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include "alarm-applet.h" #include "alarm.h" #include "alarm-settings.h" /* * DEFINTIIONS {{ */ static const gchar *supported_sound_mime_types [] = { "audio", "video", "application/ogg", NULL }; GHashTable *app_command_map = NULL; /* * }} DEFINTIIONS */ /* * Snooze any triggered alarms. * * Returns the number of snoozed alarms */ guint alarm_applet_alarms_snooze (AlarmApplet *applet) { GList *l; Alarm *a; guint n_snoozed = 0; g_debug ("Snoozing alarms..."); // Loop through alarms and snooze all triggered ones for (l = applet->alarms; l; l = l->next) { a = ALARM (l->data); if (a->triggered) { alarm_applet_alarm_snooze (applet, a); n_snoozed++; } } // Reset the triggered counter applet->n_triggered = 0; // Update status icon alarm_applet_status_update (applet); return n_snoozed; } /* * Stop any running (read: playing sound) alarms. */ guint alarm_applet_alarms_stop (AlarmApplet *applet) { GList *l; Alarm *a; guint n_stopped = 0; g_debug ("Stopping alarms..."); // Loop through alarms and clear all of 'em for (l = applet->alarms; l; l = l->next) { a = ALARM (l->data); if (a->triggered) { alarm_clear (a); n_stopped++; } } // Reset the triggered counter applet->n_triggered = 0; // Update status icon alarm_applet_status_update (applet); return n_stopped; } /** * Snooze an alarm, according to UI settings */ void alarm_applet_alarm_snooze (AlarmApplet *applet, Alarm *alarm) { guint mins = applet->snooze_mins; if (alarm->type == ALARM_TYPE_CLOCK) { // Clocks always snooze for 9 minutes mins = ALARM_STD_SNOOZE; } g_debug ("AlarmApplet: snooze '%s' for %d minutes", alarm->message, mins); alarm_snooze (alarm, mins * 60); // Update status icon alarm_applet_status_update (applet); } /** * Stop an alarm, keeping UI consistent */ void alarm_applet_alarm_stop (AlarmApplet *applet, Alarm *alarm) { g_debug ("Stopping alarm #%d...", alarm->id); // Stop the alarm alarm_clear (alarm); // Update status icon alarm_applet_status_update (applet); } /* * Sounds list {{ */ // Load sounds into list // TODO: Refactor to use a GHashTable with string hash void alarm_applet_sounds_load (AlarmApplet *applet) { Alarm *alarm; AlarmListEntry *entry; GList *l, *l2; gboolean found; const gchar* const *sysdirs; gchar *sounds_dir = NULL; gchar *tmp; gint i; //g_assert (applet->alarms); // Free old list if (applet->sounds != NULL) alarm_list_entry_list_free (&(applet->sounds)); // Locate gnome sounds sysdirs = g_get_system_data_dirs (); for (i = 0; !sounds_dir && sysdirs[i] != NULL; i++) { tmp = g_build_filename(sysdirs[i], "sounds/gnome/default/alerts", NULL); if (g_file_test (tmp, G_FILE_TEST_IS_DIR)) { // Load stock sounds g_debug ("AlarmApplet: sounds_load: Found %s!", tmp); sounds_dir = g_strdup_printf ("file://%s", tmp); applet->sounds = alarm_list_entry_list_new (sounds_dir, supported_sound_mime_types); g_free (sounds_dir); } g_free(tmp); } if (!sounds_dir) { g_warning ("AlarmApplet: Could not locate sounds!"); } // Load custom sounds from alarms for (l = applet->alarms; l != NULL; l = l->next) { alarm = ALARM (l->data); found = FALSE; for (l2 = applet->sounds; l2 != NULL; l2 = l2->next) { entry = (AlarmListEntry *)l2->data; if (strcmp (alarm->sound_file, entry->data) == 0) { // FOUND found = TRUE; break; } } if (!found) { // Add to list entry = alarm_list_entry_new_file (alarm->sound_file, NULL, NULL); if (entry) { applet->sounds = g_list_append (applet->sounds, entry); } } } } // Notify callback for changes to an alarm's sound_file static void alarm_sound_file_changed (GObject *object, GParamSpec *param, gpointer data) { Alarm *alarm = ALARM (object); AlarmApplet *applet = (AlarmApplet *)data; g_debug ("alarm_sound_file_changed: #%d", alarm->id); // Reload sounds list alarm_applet_sounds_load (applet); } /* * }} Sounds list */ /* * Apps list {{ */ static gchar * gnome_da_xml_get_string (const xmlNode *parent, const gchar *val_name) { const gchar * const *sys_langs; xmlChar *node_lang; xmlNode *element; gchar *ret_val = NULL; xmlChar *xml_val_name; gint len; gint i; g_return_val_if_fail (parent != NULL, ret_val); g_return_val_if_fail (parent->children != NULL, ret_val); g_return_val_if_fail (val_name != NULL, ret_val); #if GLIB_CHECK_VERSION (2, 6, 0) sys_langs = g_get_language_names (); #endif xml_val_name = xmlCharStrdup (val_name); len = xmlStrlen (xml_val_name); for (element = parent->children; element != NULL; element = element->next) { if (!xmlStrncmp (element->name, xml_val_name, len)) { node_lang = xmlNodeGetLang (element); if (node_lang == NULL) { ret_val = (gchar *) xmlNodeGetContent (element); } else { for (i = 0; sys_langs[i] != NULL; i++) { if (!strcmp (sys_langs[i], (const char *)node_lang)) { ret_val = (gchar *) xmlNodeGetContent (element); // since sys_langs is sorted from most desirable to // least desirable, exit at first match break; } } } xmlFree (node_lang); } } xmlFree (xml_val_name); return ret_val; } static const gchar * get_app_command (const gchar *app) { // TODO: Shouldn't be a global variable if (app_command_map == NULL) { app_command_map = g_hash_table_new (g_str_hash, g_str_equal); // `rhythmbox-client --play' doesn't actually start playing unless // Rhythmbox is already running. Sounds like a Bug. g_hash_table_insert (app_command_map, "rhythmbox", "rhythmbox-client --play"); g_hash_table_insert (app_command_map, "banshee", "banshee --play"); // Note that totem should already be open with a file for this to work. g_hash_table_insert (app_command_map, "totem", "totem --play"); // Muine crashes and doesn't seem to have any play command /*g_hash_table_insert (app_command_map, "muine", "muine");*/ } return g_hash_table_lookup (app_command_map, app); } // Load stock apps into list void alarm_applet_apps_load (AlarmApplet *applet) { AlarmListEntry *entry; gchar *filename, *name, *icon, *command; xmlDoc *xml_doc; xmlNode *root, *section, *element; gchar *executable; const gchar *tmp; const gchar* const *sysdirs; gint i; if (applet->apps != NULL) alarm_list_entry_list_free (&(applet->apps)); // Locate g-d-a.xml sysdirs = g_get_system_data_dirs (); for (i = 0; sysdirs[i] != NULL; i++) { // We'll get the default media players from g-d-a.xml // from gnome-control-center filename = g_build_filename (sysdirs[i], "gnome-control-center", "default-apps", "gnome-default-applications.xml", NULL); if (g_file_test (filename, G_FILE_TEST_EXISTS)) { xml_doc = xmlParseFile (filename); if (!xml_doc) { g_warning ("Could not load %s.", filename); continue; } root = xmlDocGetRootElement (xml_doc); for (section = root->children; section != NULL; section = section->next) { if (!xmlStrncmp (section->name, (const xmlChar *)"media-players", 13)) { for (element = section->children; element != NULL; element = element->next) { if (!xmlStrncmp (element->name, (const xmlChar *)"media-player", 12)) { executable = gnome_da_xml_get_string (element, "executable"); if (is_executable_valid (executable)) { name = gnome_da_xml_get_string (element, "name"); icon = gnome_da_xml_get_string (element, "icon-name"); // Lookup executable in app command map tmp = get_app_command (executable); if (tmp) command = g_strdup (tmp); else { // Fall back to command specified in XML command = gnome_da_xml_get_string (element, "command"); } g_debug ("LOAD-APPS: Adding '%s': %s [%s]", name, command, icon); entry = alarm_list_entry_new (name, command, icon); g_free (name); g_free (command); g_free (icon); applet->apps = g_list_append (applet->apps, entry); } if (executable) g_free (executable); } } } } g_free(filename); break; } g_free(filename); } // entry = alarm_list_entry_new("Rhythmbox Music Player", "rhythmbox", "rhythmbox"); // applet->apps = g_list_append (applet->apps, entry); } /* * Alarms list {{ */ // TODO: Refactor to use a GHashTable instead? void alarm_applet_alarms_load (AlarmApplet *applet) { GList *list = NULL; GList *l = NULL; if (applet->alarms != NULL) { // Free old alarm objects for (l = applet->alarms; l != NULL; l = l->next) { g_object_unref (ALARM (l->data)); } // Free list g_list_free (applet->alarms); } // Fetch list of alarms and add them applet->alarms = NULL; list = alarm_get_list (ALARM_GCONF_DIR); for (l = list; l != NULL; l = l->next) { alarm_applet_alarms_add (applet, ALARM (l->data)); } } void alarm_applet_alarms_add (AlarmApplet *applet, Alarm *alarm) { applet->alarms = g_list_append (applet->alarms, alarm); g_signal_connect (alarm, "notify", G_CALLBACK (alarm_applet_alarm_changed), applet); g_signal_connect (alarm, "notify::sound-file", G_CALLBACK (alarm_sound_file_changed), applet); g_signal_connect (alarm, "alarm", G_CALLBACK (alarm_applet_alarm_triggered), applet); g_signal_connect (alarm, "cleared", G_CALLBACK (alarm_applet_alarm_cleared), applet); // Update alarm list window model if (applet->list_window) { alarm_list_window_alarm_add (applet->list_window, alarm); } } void alarm_applet_alarms_remove (AlarmApplet *applet, Alarm *alarm) { // Remove from list applet->alarms = g_list_remove (applet->alarms, alarm); // Clear list store. This will decrease the refcount of our alarms by 1. /*if (applet->list_alarms_store) gtk_list_store_clear (applet->list_alarms_store);*/ g_debug ("alarm_applet_alarms_remove (..., %p): refcount = %d", alarm, G_OBJECT (alarm)->ref_count); // Remove any signal handlers for this alarm instance. g_signal_handlers_disconnect_matched (alarm, 0, 0, 0, NULL, NULL, NULL); // Update alarm list window model if (applet->list_window) { alarm_list_window_alarm_remove (applet->list_window, alarm); } // Dereference alarm g_object_unref (alarm); } /* * }} Alarms list */ // TODO: Is this function needed? /*void alarm_applet_destroy (AlarmApplet *applet) { GList *l; Alarm *a; AlarmSettingsDialog *dialog; g_debug ("AlarmApplet DESTROY"); // TODO: Destroy alarms list // if (applet->list_alarms_dialog) { // list_alarms_dialog_close (applet); // } // Destroy preferences dialog if (applet->prefs_dialog) { gtk_widget_destroy (GTK_WIDGET (applet->prefs_dialog)); } // Loop through all alarms and free like a mad man! for (l = applet->alarms; l; l = l->next) { a = ALARM (l->data); // Check if a dialog is open for this alarm //dialog = (AlarmSettingsDialog *)g_hash_table_lookup (applet->edit_alarm_dialogs, (gconstpointer)a->id); g_object_unref (a); } // Remove sounds list if (applet->sounds) { alarm_list_entry_list_free(&(applet->sounds)); } // Remove apps list if (applet->apps) { alarm_list_entry_list_free(&(applet->apps)); } if (app_command_map) { g_hash_table_destroy (app_command_map); app_command_map = NULL; } // Free GConf dir //g_free (applet->gconf_dir); // Finally free the AlarmApplet struct itself g_free (applet); }*/ static UniqueResponse unique_app_message_cb (UniqueApp *app, UniqueCommand command, UniqueMessageData *message, guint time_, gpointer user_data) { AlarmApplet *applet = (AlarmApplet *)user_data; UniqueResponse res; switch (command) { case UNIQUE_ACTIVATE: g_debug ("AlarmApplet: unique_app_message: ACTIVATE"); if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (applet->action_toggle_list_win))) { // Already visible, present to user alarm_list_window_show (applet->list_window); } else { // Toggle list window visibility gtk_action_activate (GTK_ACTION (applet->action_toggle_list_win)); } res = UNIQUE_RESPONSE_OK; break; default: g_warning ("AlarmApplet: unique_app_message: Unknown command %d", command); res = UNIQUE_RESPONSE_INVALID; break; } return res; } /* * INIT {{ */ static AlarmApplet* alarm_applet_init (int *argc, char ***argv) { AlarmApplet *applet; UniqueApp *unique_app; GError *error = NULL; GOptionContext *context; gboolean hidden = FALSE; // Start hidden // Command line options GOptionEntry entries[] = { { "hidden", 0, 0, G_OPTION_ARG_NONE, &hidden, "Start hidden", NULL }, { NULL } }; // Initialize unique app unique_app = unique_app_new ("com.pseudoberries.AlarmClock", NULL); // Check if we're already running if (unique_app_is_running (unique_app)) { g_printerr(_("%s is already running, exiting...\n"), PACKAGE); // Send activate message UniqueMessageData *message = unique_message_data_new (); unique_app_send_message (unique_app, UNIQUE_ACTIVATE, message); unique_message_data_free (message); g_object_unref (unique_app); exit (EXIT_SUCCESS); } // Parse command-line arguments context = g_option_context_new (NULL); g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE); g_option_context_add_group (context, gtk_get_option_group (TRUE)); if (!g_option_context_parse (context, argc, argv, &error)) { g_printerr ("%s\n", error->message); exit (EXIT_FAILURE); } // Initialize applet struct applet = g_new0 (AlarmApplet, 1); // Set up unique app applet->unique_app = unique_app; g_signal_connect (unique_app, "message-received", G_CALLBACK (unique_app_message_cb), applet); //applet->edit_alarm_dialogs = g_hash_table_new (NULL, NULL); // Preferences (defaults). // ...gconf_get_string can return NULL if the key is not found. We can't // assume the schema provides the default values for strings. // TODO: Add to gconf applet->snooze_mins = 5; // Initialize gconf alarm_applet_gconf_init (applet); // Load alarms alarm_applet_alarms_load (applet); // Load sounds from alarms alarm_applet_sounds_load (applet); // Load apps for alarms alarm_applet_apps_load (applet); // Set up applet UI alarm_applet_ui_init (applet); // Show alarms window, unless --hidden if (!hidden) { gtk_action_activate (GTK_ACTION (applet->action_toggle_list_win)); } return applet; } /** * Cleanup */ static void alarm_applet_quit (AlarmApplet *applet) { g_debug ("AlarmApplet: Quitting..."); g_object_unref (applet->unique_app); } /** * Alarm Clock main() */ int main (int argc, char *argv[]) { AlarmApplet *applet; // Internationalization bindtextdomain (GETTEXT_PACKAGE, ALARM_CLOCK_DATADIR "/locale"); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); // Terminate on critical errors //g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL); // Initialize GTK+ gtk_init (&argc, &argv); // Initialize applet applet = alarm_applet_init (&argc, &argv); // Start main loop gtk_main (); // Clean up alarm_applet_quit (applet); return 0; } /* * }} INIT */ alarm-clock-applet-0.3.3/src/alarm-actions.c0000644000175000017500000002561711730466474015622 00000000000000/* * alarm-actions.h -- Alarm actions * * Copyright (C) 2010 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include "alarm-actions.h" #include "alarm-applet.h" #include "alarm-list-window.h" #define GET_ACTION(name) GTK_ACTION (gtk_builder_get_object (builder, (name))) /** * Initialize the various actions */ void alarm_applet_actions_init (AlarmApplet *applet) { GtkBuilder *builder = applet->ui; // Actions on one alarm applet->actions_alarm = gtk_action_group_new ("alarm"); applet->action_edit = GET_ACTION ("edit-action"); applet->action_delete = GET_ACTION ("delete-action"); applet->action_enabled = GTK_TOGGLE_ACTION (GET_ACTION ("enabled-action")); applet->action_stop = GET_ACTION ("stop-action"); applet->action_snooze = GET_ACTION ("snooze-action"); gtk_action_group_add_action (applet->actions_alarm, applet->action_edit); gtk_action_group_add_action (applet->actions_alarm, applet->action_delete); gtk_action_group_add_action (applet->actions_alarm, GTK_ACTION (applet->action_enabled)); gtk_action_group_add_action (applet->actions_alarm, applet->action_stop); gtk_action_group_add_action (applet->actions_alarm, applet->action_snooze); // Global actions applet->actions_global = gtk_action_group_new ("global"); applet->action_new = GET_ACTION ("new-action"); applet->action_stop_all = GET_ACTION ("stop-all-action"); applet->action_snooze_all = GET_ACTION ("snooze-all-action"); applet->action_toggle_list_win = GTK_TOGGLE_ACTION (GET_ACTION ("toggle-list-win-action")); gtk_action_set_accel_group (GTK_ACTION (applet->action_toggle_list_win), applet->list_window->accel_group); applet->action_toggle_autostart = GTK_TOGGLE_ACTION (GET_ACTION ("autostart-action")); applet->action_toggle_show_label = GTK_TOGGLE_ACTION (GET_ACTION ("show-label-action")); gtk_action_group_add_action (applet->actions_global, applet->action_new); gtk_action_group_add_action (applet->actions_global, applet->action_stop_all); gtk_action_group_add_action (applet->actions_global, applet->action_snooze_all); gtk_action_group_add_action_with_accel (applet->actions_global, GTK_ACTION (applet->action_toggle_list_win), "Escape"); gtk_action_group_add_action (applet->actions_global, GTK_ACTION (applet->action_toggle_autostart)); gtk_action_group_add_action (applet->actions_global, GTK_ACTION (applet->action_toggle_show_label)); gtk_action_connect_accelerator (GTK_ACTION (applet->action_toggle_list_win)); // Update actions alarm_applet_actions_update_sensitive (applet); } // // SINGLE ALARM ACTIONS: // /** * Edit alarm action */ void alarm_action_edit (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; Alarm *a = alarm_list_window_get_selected_alarm (list_window); if (!a) { // No alarms selected return; } g_debug ("AlarmAction: edit '%s'", a->message); // Stop alarm alarm_clear (a); // Show settings dialog for alarm alarm_settings_dialog_show (applet->settings_dialog, a); } /** * Delete alarm action */ void alarm_action_delete (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; AlarmSettingsDialog *sdialog = applet->settings_dialog; Alarm *a = alarm_list_window_get_selected_alarm (list_window); if (!a) { // No alarms selected return; } g_debug ("AlarmAction: delete '%s'", a->message); // If there's a settings dialog open for this alarm, close it. if (sdialog->alarm == a) { alarm_settings_dialog_close (sdialog); } // Disable, clear and delete alarm alarm_disable (a); alarm_clear (a); alarm_delete (a); // Remove from applet list alarm_applet_alarms_remove (applet, a); } /** * Enable alarm action */ void alarm_action_enabled (GtkToggleAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; Alarm *a = alarm_list_window_get_selected_alarm (list_window); gboolean active = gtk_toggle_action_get_active(action); if (!a || a->active == active) { // No alarms selected or no change return; } g_debug ("AlarmAction: enabled(%d) '%s'", active, a->message); alarm_set_enabled (a, active); } /** * Update enabled action state */ void alarm_action_update_enabled (AlarmApplet *applet) { Alarm *a = alarm_list_window_get_selected_alarm (applet->list_window); gboolean active = gtk_toggle_action_get_active(applet->action_enabled); if (!a || a->active == active) { // No alarms selected or no change return; } gtk_toggle_action_set_active (applet->action_enabled, a->active); } /** * Stop alarm action */ void alarm_action_stop (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; Alarm *a; if ((a = alarm_list_window_get_selected_alarm (list_window))) { g_debug ("AlarmAction: stop '%s'", a->message); alarm_clear (a); } } /** * Snooze alarm action */ void alarm_action_snooze (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; Alarm *a; if ((a = alarm_list_window_get_selected_alarm (list_window))) { g_debug ("AlarmAction: snooze '%s'", a->message); alarm_applet_alarm_snooze (applet, a); } } // // GLOBAL ACTIONS // /** * New alarm action */ void alarm_action_new (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; Alarm *alarm; AlarmListEntry *entry; GtkTreeIter iter; GtkTreeSelection *selection; g_debug ("AlarmAction: new"); // Create new alarm, will fall back to defaults. alarm = alarm_new (ALARM_GCONF_DIR, -1); // Set first sound / app in list if (applet->sounds != NULL) { entry = (AlarmListEntry *)applet->sounds->data; g_object_set (alarm, "sound-file", entry->data, NULL); } if (applet->apps != NULL) { entry = (AlarmListEntry *)applet->apps->data; g_object_set (alarm, "command", entry->data, NULL); } // Add alarm to list of alarms // This will indirectly add the alarm to the model alarm_applet_alarms_add (applet, alarm); // Select the new alarm in the list if (alarm_list_window_find_alarm (GTK_TREE_MODEL (list_window->model), alarm, &iter)) { selection = gtk_tree_view_get_selection (list_window->tree_view); gtk_tree_selection_select_iter (selection, &iter); } // Show edit alarm dialog alarm_settings_dialog_show (applet->settings_dialog, alarm); } /** * Stop all alarms action */ void alarm_action_stop_all (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; g_debug ("AlarmAction: stop all"); alarm_applet_alarms_stop (applet); } /** * Snooze all alarms action */ void alarm_action_snooze_all (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; g_debug ("AlarmAction: snooze all"); alarm_applet_alarms_snooze (applet); } /** * Toggle list window action */ void alarm_action_toggle_list_win (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); g_debug ("AlarmAction: toggle list window"); /* if (!a || a->active == active) { // No alarms selected or no change return; } */ if (active) { alarm_list_window_show (list_window); } else { alarm_list_window_hide (list_window); } } /** * Quit action */ void alarm_action_quit (GtkAction *action, gpointer data) { // AlarmApplet *applet = (AlarmApplet *)data; g_debug ("AlarmAction: Quit!"); // TODO: Free up resources - maybe use gtk_quit_add() & friends gtk_main_quit (); } /* * Toggle autostart action */ void alarm_action_toggle_autostart (GtkAction *action, gpointer data) { gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); gboolean autostart_state = prefs_autostart_get_state(); //gboolean check_active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (applet->pref_autostart_check)); g_debug ("AlarmAction: toggle autostart to %d", active); if (active != autostart_state) { g_debug ("AlarmAction: set autostart to %d!", active); prefs_autostart_set_state (active); } } /* * Toggle show_label action */ void alarm_action_toggle_show_label (GtkAction *action, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); gboolean show_label_state = prefs_show_label_get(applet); //gboolean check_active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (applet->pref_autostart_check)); g_debug ("AlarmAction: toggle show_label to %d", active); if (active != show_label_state) { g_debug ("AlarmAction: set show_label to %d!", active); prefs_show_label_set (applet, active); } } /** * Update actions to a consistent state */ void alarm_applet_actions_update_sensitive (AlarmApplet *applet) { // // Update single alarm actions: // // Determine whether there is a selected alarm Alarm *a = alarm_list_window_get_selected_alarm (applet->list_window); gboolean selected = (a != NULL); g_object_set (applet->actions_alarm, "sensitive", selected, NULL); g_object_set (applet->action_stop, "sensitive", selected && a->triggered, NULL); g_object_set (applet->action_snooze, "sensitive", selected && a->triggered, NULL); // // Update global actions // // If there are alarms triggered, snooze_all and stop_all should be sensitive g_object_set (applet->action_stop_all, "sensitive", applet->n_triggered > 0, NULL); g_object_set (applet->action_snooze_all, "sensitive", applet->n_triggered > 0, NULL); } alarm-clock-applet-0.3.3/src/alarm-gconf.c0000644000175000017500000000710311730466474015244 00000000000000/* * alarm-gconf.c -- GConf routines * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include "alarm-applet.h" #include "alarm-gconf.h" #include "alarm-settings.h" #include "alarm.h" /** * Triggered on global changes to our gconf preference dir. * We do this because we're interested in the events where * an alarm directory is either added or deleted externally. * * When this happens we update our list of alarms. */ static void alarm_applet_gconf_global_change (GConfClient *client, guint cnxn_id, GConfEntry *entry, AlarmApplet *applet) { Alarm *a; GString *str; GList *l; gchar *dir; gint id, i, len; gboolean found = FALSE; g_debug ("GLOBAL_change: %s", entry->key); /* * We're only interested in the first part of the key matching * {applet_gconf_pref_dir}/{something} * * Here we extract {something} */ dir = ALARM_GCONF_DIR; len = strlen (entry->key); str = g_string_new (""); for (i = strlen(dir) + 1; i < len; i++) { if (entry->key[i] == '/') break; str = g_string_append_c (str, entry->key[i]); } //g_debug ("\tEXTRACTED: %s", str->str); // Check if the key is valid id = alarm_gconf_dir_get_id (str->str); if (id >= 0) { // Valid, probably an alarm which has been removed g_debug ("GLOBAL change ON alarm #%d", id); // Check if the alarm exists in our alarms list for (l = applet->alarms; l != NULL; l = l->next) { a = ALARM (l->data); if (a->id == id) { // FOUND found = TRUE; break; } } if (found && entry->value == NULL) { // DELETED ALARM g_debug ("\tDELETE alarm #%d %p", id, a); /* If there's a settings dialog open for this * alarm, close it. */ if (applet->settings_dialog->alarm == a) { alarm_settings_dialog_close (applet->settings_dialog); } /* * Remove from list */ alarm_applet_alarms_remove (applet, a); } else if (!found && entry->value != NULL) { // ADDED ALARM /* * Add to list */ a = alarm_new (ALARM_GCONF_DIR, id); g_debug ("\tADD alarm #%d %p", id, a); alarm_applet_alarms_add (applet, a); } else if (found) { //alarm_list_window_alarm_update (applet->list_window, a); } } g_string_free (str, TRUE); } /* * }} GCONF CALLBACKS */ /* * Init */ void alarm_applet_gconf_init (AlarmApplet *applet) { GConfClient *client = gconf_client_get_default (); gconf_client_add_dir (client, ALARM_GCONF_DIR, GCONF_CLIENT_PRELOAD_RECURSIVE, NULL); /* * Listen for changes to the alarms. * We want to know when an alarm is added and removed. */ gconf_client_notify_add ( client, ALARM_GCONF_DIR, (GConfClientNotifyFunc) alarm_applet_gconf_global_change, applet, NULL, NULL); } alarm-clock-applet-0.3.3/src/util.h0000644000175000017500000000423411336057335014034 00000000000000/* * util.h -- Misc utilities * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef UTIL_H_ #define UTIL_H_ #include #include #include /** * Calculates the alarm timestamp given hour, min and secs. */ time_t get_alarm_timestamp (guint hour, guint minute, guint second); /** * Construct a Uppercased name of filename without the extension. */ gchar * to_basename (const gchar *filename); /* * Run Command */ gboolean command_run (const gchar *command); gboolean is_executable_valid (gchar *executable); /* Get full path of a data file */ char * alarm_applet_get_data_path (const char *name); guint block_signal_handlers_by_name (gpointer instance, const gchar *signal_name); guint unblock_signal_handlers_by_name (gpointer instance, const gchar *signal_name); guint block_list (GList *instances, gpointer func); guint unblock_list (GList *instances, gpointer func); #define BLOCK(instance, func) \ g_signal_handlers_block_matched ((instance), \ G_SIGNAL_MATCH_FUNC, \ 0, 0, NULL, (func), NULL) #define UNBLOCK(instance, func) \ g_signal_handlers_unblock_matched ((instance), \ G_SIGNAL_MATCH_FUNC, \ 0, 0, NULL, (func), NULL) #endif /*UTIL_H_*/ alarm-clock-applet-0.3.3/src/alarm-list-window.c0000644000175000017500000005102011731404703016411 00000000000000/* * alarms-list.d -- Alarm list window * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include "alarm-list-window.h" #include "alarm-settings.h" #include "alarm-actions.h" gboolean alarm_list_window_delete_event (GtkWidget *window, GdkEvent *event, gpointer data); static void alarm_list_window_selection_changed (GtkTreeSelection *, gpointer); static gboolean alarm_list_window_update_timer (gpointer); static gint alarm_list_window_sort_iter_compare (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer data); void alarm_list_window_rows_reordered (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer arg3, gpointer data); void alarm_list_window_enable_toggled (GtkCellRendererToggle *cell_renderer, gchar *path, gpointer data); void alarm_list_window_snooze_menu_activated (GtkMenuItem *item, gpointer data); void alarm_list_window_snooze_menu_custom_activated (GtkMenuItem *menuitem, gpointer data); void alarm_list_window_snooze_menu_update (AlarmListWindow *list_window); static void alarm_list_window_update_row (AlarmListWindow *list_window, GtkTreeIter *iter); /** * Create a new Alarm List Window */ AlarmListWindow * alarm_list_window_new (AlarmApplet *applet) { AlarmListWindow *list_window; GtkBuilder *builder = applet->ui; GtkTreeSelection *selection; GtkTreeSortable *sortable; // Initialize struct list_window = g_new0 (AlarmListWindow, 1); list_window->applet = applet; // Widgets list_window->window = GTK_WINDOW (gtk_builder_get_object (builder, "alarm-list-window")); list_window->model = GTK_LIST_STORE (gtk_builder_get_object (builder, "alarms-liststore")); list_window->tree_view = GTK_TREE_VIEW (gtk_builder_get_object (builder, "alarm-list-view")); list_window->new_button = GTK_WIDGET (gtk_builder_get_object (builder, "new-button")); list_window->edit_button = GTK_WIDGET (gtk_builder_get_object (builder, "edit-button")); list_window->delete_button = GTK_WIDGET (gtk_builder_get_object (builder, "delete-button")); list_window->enable_button = GTK_WIDGET (gtk_builder_get_object (builder, "enable-button")); list_window->stop_button = GTK_WIDGET (gtk_builder_get_object (builder, "stop-button")); list_window->snooze_button = GTK_WIDGET (gtk_builder_get_object (builder, "snooze-button")); list_window->snooze_menu = GTK_WIDGET (gtk_builder_get_object (builder, "snooze-menu")); // Set up window accelerator group list_window->accel_group = gtk_accel_group_new (); gtk_window_add_accel_group (list_window->window, list_window->accel_group); // Connect some signals selection = gtk_tree_view_get_selection (list_window->tree_view); g_signal_connect (selection, "changed", G_CALLBACK (alarm_list_window_selection_changed), applet); // Update view every second for pretty countdowns g_timeout_add (500, (GSourceFunc) alarm_list_window_update_timer, applet); // Set up sorting sortable = GTK_TREE_SORTABLE (list_window->model); gtk_tree_sortable_set_sort_func (sortable, SORTID_TIME_REMAINING, alarm_list_window_sort_iter_compare, GINT_TO_POINTER (SORTID_TIME_REMAINING), NULL); // Set initial sort order gtk_tree_sortable_set_sort_column_id (sortable, SORTID_TIME_REMAINING, GTK_SORT_ASCENDING); // Populate with alarms alarm_list_window_alarms_add (list_window, applet->alarms); // Update snooze menu alarm_list_window_snooze_menu_update (list_window); return list_window; } /** * Show and present list window */ void alarm_list_window_show (AlarmListWindow *list_window) { // Let the WM decide the initial position of the window (probably not 0,0) gboolean first_time = !gtk_widget_get_realized (GTK_WIDGET (list_window->window)); gtk_window_present_with_time (list_window->window, gtk_get_current_event_time()); if (!first_time) { gtk_window_move (list_window->window, list_window->window_pos_x, list_window->window_pos_y); } } /** * Hide list window */ void alarm_list_window_hide (AlarmListWindow *list_window) { gtk_window_get_position (list_window->window, &(list_window->window_pos_x), &(list_window->window_pos_y)); gtk_widget_hide (GTK_WIDGET (list_window->window)); } /** * Toggle visibility of list window */ void alarm_list_window_toggle (AlarmListWindow *list_window) { if (GTK_WIDGET_VISIBLE (list_window->window)) { alarm_list_window_hide (list_window); } else { alarm_list_window_show (list_window); } } /** * Delete-event handler for list-window */ gboolean alarm_list_window_delete_event (GtkWidget *window, GdkEvent *event, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; gtk_action_activate (GTK_ACTION (applet->action_toggle_list_win)); return TRUE; } // // ALARM LIST MODEL: // /** * Find alarm in the model * * Returns TRUE if found and sets iter to the location * Returns FALSE otherwise */ gboolean alarm_list_window_find_alarm (GtkTreeModel *model, Alarm *alarm, GtkTreeIter *iter) { GtkTreeIter it; Alarm *a; gboolean valid; valid = gtk_tree_model_get_iter_first (model, &it); while (valid) { gtk_tree_model_get (model, &it, COLUMN_ALARM, &a, -1); if (a == alarm) { if (iter) { *iter = it; } return TRUE; } valid = gtk_tree_model_iter_next(model, &it); } return FALSE; } /** * Check whether the list window contains an alarm */ gboolean alarm_list_window_contains (AlarmListWindow *list_window, Alarm *alarm) { return alarm_list_window_find_alarm (GTK_TREE_MODEL (list_window->model), alarm, NULL); } /** * Update the row in the list at the position specified by iter */ static void alarm_list_window_update_row (AlarmListWindow *list_window, GtkTreeIter *iter) { GtkTreeModel *model = GTK_TREE_MODEL (list_window->model); Alarm *a; gchar tmp[200]; gchar *tmp2; struct tm *tm; const gchar *type_col; const gchar *time_format; GString *time_col; gchar *label_col; // Get the alarm at iter gtk_tree_model_get (GTK_TREE_MODEL (model), iter, COLUMN_ALARM, &a, -1); // If alarm is running (active), show remaining time if (a->active) { tm = alarm_get_remain (a); } else { tm = alarm_get_time (a); } if (a->type == ALARM_TYPE_CLOCK) { type_col = ALARM_ICON; time_format = TIME_COL_CLOCK_FORMAT; } else { type_col = TIMER_ICON; time_format = TIME_COL_TIMER_FORMAT; } // Create time column strftime(tmp, sizeof(tmp), time_format, tm); time_col = g_string_new (tmp); if (a->type == ALARM_TYPE_CLOCK && a->repeat != ALARM_REPEAT_NONE) { tmp2 = alarm_repeat_to_pretty (a->repeat); g_string_append_printf (time_col, TIME_COL_REPEAT_FORMAT, tmp2); g_free (tmp2); } // Create label column tmp2 = g_markup_escape_text (a->message, -1); if (a->triggered) { label_col = g_strdup_printf (LABEL_COL_TRIGGERED_FORMAT, tmp2); } else { label_col = g_strdup_printf (LABEL_COL_FORMAT, tmp2); } g_free (tmp2); gtk_list_store_set (GTK_LIST_STORE (model), iter, COLUMN_TYPE, type_col, COLUMN_TIME, time_col->str, COLUMN_LABEL, label_col, COLUMN_ACTIVE, a->active, COLUMN_TRIGGERED, a->triggered, -1); // Restore icon visibility when an alarm is cleared / snoozed if (!a->triggered) { gtk_list_store_set (GTK_LIST_STORE (model), iter, COLUMN_SHOW_ICON, TRUE, -1); } g_string_free (time_col, TRUE); g_free (label_col); } /** * Add alarm to the list window */ void alarm_list_window_alarm_add (AlarmListWindow *list_window, Alarm *alarm) { GtkListStore *store = list_window->model; GtkTreeIter iter; gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, COLUMN_ALARM, alarm, -1); alarm_list_window_update_row (list_window, &iter); } /** * Update alarm in the list window */ void alarm_list_window_alarm_update (AlarmListWindow *list_window, Alarm *alarm) { GtkTreeIter iter; g_debug ("AlarmListWindow alarm_update: %p (%s)", alarm, alarm->message); if (alarm_list_window_find_alarm (GTK_TREE_MODEL (list_window->model), alarm, &iter)) { alarm_list_window_update_row (list_window, &iter); } else { g_warning ("AlarmListWindow alarm_update: Could not find alarm %p", alarm); } } /** * Remove alarm from the list window */ void alarm_list_window_alarm_remove (AlarmListWindow *list_window, Alarm *alarm) { GtkTreeIter iter; if (alarm_list_window_find_alarm (GTK_TREE_MODEL (list_window->model), alarm, &iter)) { gtk_list_store_remove (list_window->model, &iter); } else { g_warning ("AlarmListWindow alarm_remove: Could not find alarm %p", alarm); } } /** * Add several alarms to the list window */ void alarm_list_window_alarms_add (AlarmListWindow *list_window, GList *alarms) { AlarmApplet *applet = list_window->applet; GList *l = NULL; Alarm *a; for (l = applet->alarms; l; l = l->next) { a = ALARM (l->data); alarm_list_window_alarm_add (list_window, a); } } /** * Update the alarm view every second */ static gboolean alarm_list_window_update_timer (gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; GtkTreeModel *model = GTK_TREE_MODEL (applet->list_window->model); GtkTreeIter iter; Alarm *a; gboolean show_icon; gboolean valid; valid = gtk_tree_model_get_iter_first (model, &iter); while (valid) { alarm_list_window_update_row (applet->list_window, &iter); gtk_tree_model_get (model, &iter, COLUMN_ALARM, &a, COLUMN_SHOW_ICON, &show_icon, -1); // Blink icon on triggered alarms if (a->triggered) { gtk_list_store_set (GTK_LIST_STORE (model), &iter, COLUMN_SHOW_ICON, !show_icon, -1); } valid = gtk_tree_model_iter_next(model, &iter); } // Keep updating return TRUE; } /** * Sort compare function */ static gint alarm_list_window_sort_iter_compare (GtkTreeModel *model, GtkTreeIter *i1, GtkTreeIter *i2, gpointer data) { gint sortcol = GPOINTER_TO_INT (data); Alarm *a1, *a2; gint ret = 0; // Fetch ze alarms gtk_tree_model_get (model, i1, COLUMN_ALARM, &a1, -1); gtk_tree_model_get (model, i2, COLUMN_ALARM, &a2, -1); switch (sortcol) { case SORTID_TIME_REMAINING: { // Sort by remaining time time_t t1, t2; // Show active alarms first if (a1->active && a2->active) { t1 = alarm_get_remain_seconds (a1); t2 = alarm_get_remain_seconds (a2); } else if (a1->active && !a2->active) { t1 = 0; t2 = 1; } else if (!a1->active && a2->active) { t1 = 1; t2 = 0; } else { // Both inactive, sort by time t1 = a1->time; t2 = a2->time; } ret = t1 - t2; } break; default: g_return_val_if_reached (0); } return ret; } // // TREE VIEW: // /** * Get the selected alarm */ Alarm * alarm_list_window_get_selected_alarm (AlarmListWindow *list_window) { GtkTreeModel *model; GtkTreeSelection *selection; GtkTreeIter iter; Alarm *a; g_assert (list_window); // Fetch selection selection = gtk_tree_view_get_selection (list_window->tree_view); if (!gtk_tree_selection_get_selected(selection, &model, &iter)) { // No alarms selected //g_debug ("get_selected_alarm: No alarms selected!"); return NULL; } gtk_tree_model_get (model, &iter, COLUMN_ALARM, &a, -1); // gtk_tree_model_get () will increase the reference count // of the alarms each time it's called. We dereference it // here so they can be properly freed later with g_object_unref() // Ugh, we use gtk_tree_model_get a lot, is there no other way? //g_object_unref (a); return a; } /** * Set the selected alarm */ static void alarm_list_window_select_alarm (AlarmListWindow *list_window, Alarm *alarm) { GtkTreeModel *model = GTK_TREE_MODEL (list_window->model); GtkTreeSelection *selection; GtkTreeIter iter; if (!alarm_list_window_find_alarm (model, alarm, &iter)) { g_warning ("AlarmListWindow select_alarm: Alarm %p not found!", alarm); return; } selection = gtk_tree_view_get_selection (list_window->tree_view); gtk_tree_selection_select_iter (selection, &iter); } /** * Selection changed in tree view * * Here we update the associated actions */ void alarm_list_window_selection_changed (GtkTreeSelection *selection, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; Alarm *a = list_window->selected_alarm; // If rows have just been reordered, retain the selected row // But only if the reordering was triggered by a click on the toggle cell if (list_window->reordered && list_window->toggled) { list_window->reordered = FALSE; list_window->toggled = FALSE; alarm_list_window_select_alarm (list_window, list_window->selected_alarm); return; } // Reset reordered and toggled flags list_window->reordered = FALSE; list_window->toggled = FALSE; // Update actions alarm_applet_actions_update_sensitive (applet); alarm_action_update_enabled (applet); // Update selected alarm (might be NULL) list_window->selected_alarm = alarm_list_window_get_selected_alarm (list_window); if (list_window->selected_alarm) { // Update snooze button menu if (list_window->selected_alarm->type == ALARM_TYPE_CLOCK) { // We always snooze for 9 mins on alarm clocks gtk_menu_tool_button_set_menu (GTK_MENU_TOOL_BUTTON (list_window->snooze_button), NULL); } else { // Allow custom snooze mins gtk_menu_tool_button_set_menu (GTK_MENU_TOOL_BUTTON (list_window->snooze_button), list_window->snooze_menu); } } g_debug ("AlarmListWindow: selection-changed from %s (%p) to %s (%p)", (a) ? a->message : "", a, (list_window->selected_alarm) ? list_window->selected_alarm->message : "", list_window->selected_alarm); } /** * Toggle cell changed */ void alarm_list_window_enable_toggled (GtkCellRendererToggle *cell_renderer, gchar *path, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; GtkTreeModel *model = GTK_TREE_MODEL (list_window->model); GtkTreeIter iter; Alarm *a; if (gtk_tree_model_get_iter_from_string (model, &iter, path)) { gtk_tree_model_get (model, &iter, COLUMN_ALARM, &a, -1); g_debug ("AlarmListWindow enable toggled on %p", a); // Reset reordered flag list_window->reordered = FALSE; // Select the toggled alarm alarm_list_window_select_alarm (list_window, a); // Let selection_changed know an alarm was just toggled so // this alarm is re-selected if the rows are reordered list_window->toggled = TRUE; // Activate the enabled action gtk_action_activate (GTK_ACTION (applet->action_enabled)); } } /** * Rows reordered callback */ void alarm_list_window_rows_reordered (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer arg3, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; // Return if list_window is not set. This happens during initialization. if (!list_window) return; // Signal to selection_changed that the rows have been reordered. list_window->reordered = TRUE; } // // TOOLBAR: // /** * Snooze menu item activated */ void alarm_list_window_snooze_menu_activated (GtkMenuItem *menuitem, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; gchar **parts; guint i; guint mins; // g_debug ("AlarmListWindow: snooze-menu activated %s to %d", // gtk_menu_item_get_label (menuitem), gtk_check_menu_item_get_active (menuitem)); if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (menuitem))) { // Determine #mins from the name of the menu item (hackish) // Assumes name follows the format {foo}-{mins} parts = g_strsplit (gtk_buildable_get_name (GTK_BUILDABLE (menuitem)), "-", 0); for (i = 0; parts[i] != NULL; i++) // Loop to the last element ; mins = g_strtod (parts[i-1], NULL); g_debug ("AlarmListWindow: snooze-menu activated: Snooze for %d mins!", mins); applet->snooze_mins = mins; gtk_action_activate (applet->action_snooze); } } /** * Snooze menu custom item activated */ void alarm_list_window_snooze_menu_custom_activated (GtkMenuItem *menuitem, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; AlarmListWindow *list_window = applet->list_window; GtkWidget *dialog, *spin; gint response; Alarm *a; guint mins; g_debug ("AlarmListWindow: snooze-menu custom activated"); dialog = GTK_WIDGET (gtk_builder_get_object (applet->ui, "snooze-dialog")); spin = GTK_WIDGET (gtk_builder_get_object (applet->ui, "snooze-spin")); // Run dialog, hide for later use response = gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_hide (GTK_WIDGET (dialog)); if (response == GTK_RESPONSE_OK) { mins = (gint) gtk_spin_button_get_value (GTK_SPIN_BUTTON (spin)); if ((a = alarm_list_window_get_selected_alarm (list_window))) { g_debug ("AlarmListWindow: Snooze Custom: %s for %d mins", a->message, mins); alarm_snooze (a, mins * 60); } } } /** * Update the snooze menu according to the applet's snooze_mins property */ void alarm_list_window_snooze_menu_update (AlarmListWindow *list_window) { AlarmApplet *applet = (AlarmApplet *)list_window->applet; GtkMenuShell *menu = GTK_MENU_SHELL(list_window->snooze_menu); gchar *target_name = g_strdup_printf ("snooze-menu-%d", applet->snooze_mins); const gchar *name; GtkMenuItem *item; GList *l = NULL; g_debug ("AlarmListWindow: menu_update to %d", applet->snooze_mins); block_list (menu->children, alarm_list_window_snooze_menu_activated); for (l = menu->children; l != NULL; l = l->next) { item = GTK_MENU_ITEM (l->data); name = gtk_buildable_get_name (GTK_BUILDABLE (item)); if (g_strcmp0 (name, target_name) == 0) { g_object_set (item, "active", TRUE, NULL); g_debug ("AlarmListWindow: menu_update to %s", name); } } unblock_list (menu->children, alarm_list_window_snooze_menu_activated); g_free (target_name); } alarm-clock-applet-0.3.3/src/list-entry.h0000644000175000017500000000302411336057335015165 00000000000000/* * list-entry.h -- Simple data structure to hold name, data and icon. * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef LISTENTRY_H_ #define LISTENTRY_H_ #include #include #include "util.h" G_BEGIN_DECLS typedef struct { gchar *name; gchar *data; gchar *icon; } AlarmListEntry; AlarmListEntry * alarm_list_entry_new (const gchar *name, const gchar *data, const gchar *icon); void alarm_list_entry_free (AlarmListEntry *e); AlarmListEntry * alarm_list_entry_new_file (const gchar *uri, gchar **mime_ret, GError **error); GList * alarm_list_entry_list_new (const gchar *dir_uri, const gchar *supported_types[]); void alarm_list_entry_list_free (GList **list); G_END_DECLS #endif /*LISTENTRY_H_*/ alarm-clock-applet-0.3.3/src/alarm-applet.h0000644000175000017500000000734111730466474015446 00000000000000/* * alarm-applet.h -- Alarm Clock applet bootstrap * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef ALARMAPPLET_H_ #define ALARMAPPLET_H_ #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_APP_INDICATOR #include #endif G_BEGIN_DECLS typedef struct _AlarmApplet AlarmApplet; GHashTable *app_command_map; void alarm_applet_label_update (AlarmApplet *applet); void alarm_applet_clear_alarms (AlarmApplet *applet); #include "alarm.h" #include "prefs.h" #include "alarm-gconf.h" #include "player.h" #include "util.h" #include "list-entry.h" #include "ui.h" #define ALARM_NAME "Alarm Clock" #define ALARM_ICON "alarm-clock" #define TIMER_ICON "alarm-timer" #define TRIGGERED_ICON "alarm-clock-triggered" #define ALARM_GCONF_DIR "/apps/alarm-clock" #define ALARM_STD_SNOOZE 9 typedef enum { LABEL_TYPE_INVALID = 0, LABEL_TYPE_TIME, LABEL_TYPE_REMAIN, } LabelType; struct _AlarmApplet { /* Unique app */ UniqueApp *unique_app; /* User Interface */ GtkBuilder *ui; #ifdef HAVE_APP_INDICATOR /* App Indicator */ AppIndicator *app_indicator; #else /* Status Icon */ GtkStatusIcon *status_icon; #endif /* Status menu */ GtkWidget *status_menu; /* Alarms */ GList *alarms; guint n_triggered; // Number of triggered alarms /* Sounds & apps list */ GList *sounds; GList *apps; /* List-alarms UI */ AlarmListWindow *list_window; /* Alarm settings dialog */ AlarmSettingsDialog *settings_dialog; /* Preferences */ GtkDialog *prefs_dialog; GtkWidget *prefs_autostart_check; guint snooze_mins; // Actions on one alarm GtkActionGroup *actions_alarm; GtkAction *action_edit; GtkAction *action_delete; GtkToggleAction *action_enabled; GtkAction *action_stop; GtkAction *action_snooze; // Global actions GtkActionGroup *actions_global; GtkAction *action_new; GtkAction *action_stop_all; GtkAction *action_snooze_all; GtkToggleAction *action_toggle_list_win; GtkToggleAction *action_toggle_autostart; GtkToggleAction *action_toggle_show_label; }; void alarm_applet_sounds_load (AlarmApplet *applet); void alarm_applet_apps_load (AlarmApplet *applet); void alarm_applet_alarms_load (AlarmApplet *applet); void alarm_applet_alarms_add (AlarmApplet *applet, Alarm *alarm); void alarm_applet_alarms_remove (AlarmApplet *applet, Alarm *alarm); guint alarm_applet_alarms_snooze (AlarmApplet *applet); guint alarm_applet_alarms_stop (AlarmApplet *applet); void alarm_applet_alarm_snooze (AlarmApplet *applet, Alarm *alarm); void alarm_applet_alarm_stop (AlarmApplet *applet, Alarm *alarm); void alarm_applet_destroy (AlarmApplet *applet); G_END_DECLS #endif /*ALARMAPPLET_H_*/ alarm-clock-applet-0.3.3/src/alarm-actions.h0000644000175000017500000000365211730466474015622 00000000000000/* * alarm-actions.h -- Alarm actions * * Copyright (C) 2010 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #ifndef ALARM_ACTIONS_H_ #define ALARM_ACTIONS_H_ #include "alarm-applet.h" void alarm_applet_actions_init (AlarmApplet *applet); void alarm_applet_actions_update_sensitive (AlarmApplet *applet); void alarm_action_update_enabled (AlarmApplet *applet); void alarm_action_edit (GtkAction *action, gpointer data); void alarm_action_delete (GtkAction *action, gpointer data); void alarm_action_enabled (GtkToggleAction *action, gpointer data); void alarm_action_stop (GtkAction *action, gpointer data); void alarm_action_stop_all (GtkAction *action, gpointer data); void alarm_action_new (GtkAction *action, gpointer data); void alarm_action_snooze (GtkAction *action, gpointer data); void alarm_action_snooze_all (GtkAction *action, gpointer data); void alarm_action_toggle_list_win (GtkAction *action, gpointer data); void alarm_action_quit (GtkAction *action, gpointer data); void alarm_action_toggle_autostart (GtkAction *action, gpointer data); void alarm_action_toggle_show_label (GtkAction *action, gpointer data); #endif // ALARM_ACTIONS_H alarm-clock-applet-0.3.3/src/ui.c0000644000175000017500000003404311751514021013457 00000000000000/* * ui.c - Alarm Clock applet UI routines * * Copyright (C) 2007-2008 Johannes H. Jensen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Authors: * Johannes H. Jensen */ #include #include #include #include "alarm-applet.h" #include "alarm-actions.h" #include "ui.h" enum { GICON_COL, TEXT_COL, N_COLUMNS }; static void alarm_applet_status_init (AlarmApplet *applet); /* * Load a user interface by name */ GtkBuilder * alarm_applet_ui_load (const char *name, AlarmApplet *applet) { GtkBuilder *builder = NULL; GError *error = NULL; char *filename; filename = alarm_applet_get_data_path (name); g_assert(filename != NULL); builder = gtk_builder_new(); g_debug ("Loading UI from %s...", filename); if (gtk_builder_add_from_file (builder, filename, &error)) { /* Connect signals */ gtk_builder_connect_signals (builder, applet); } else { g_critical("Couldn't load the interface '%s'. %s", filename, error->message); g_error_free (error); } g_free (filename); return builder; } void display_error_dialog (const gchar *message, const gchar *secondary_text, GtkWindow *parent) { GtkWidget *dialog; dialog = gtk_message_dialog_new (parent, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", message); if (secondary_text != NULL) { gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", secondary_text); } gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_destroy (dialog); } static gboolean is_separator (GtkTreeModel *model, GtkTreeIter *iter, gpointer sep_index) { GtkTreePath *path; gboolean result; path = gtk_tree_model_get_path (model, iter); result = gtk_tree_path_get_indices (path)[0] == GPOINTER_TO_INT (sep_index); gtk_tree_path_free (path); return result; } /* * Shamelessly stolen from gnome-da-capplet.c */ void fill_combo_box (GtkComboBox *combo_box, GList *list, const gchar *custom_label) { GList *l; GtkTreeModel *model; GtkCellRenderer *renderer; GtkTreeIter iter; AlarmListEntry *entry; g_debug ("fill_combo_box... %d", g_list_length (list)); gtk_combo_box_set_row_separator_func (combo_box, is_separator, GINT_TO_POINTER (g_list_length (list)), NULL); model = GTK_TREE_MODEL (gtk_list_store_new (2, G_TYPE_ICON, G_TYPE_STRING)); gtk_combo_box_set_model (combo_box, model); gtk_cell_layout_clear (GTK_CELL_LAYOUT (combo_box)); renderer = gtk_cell_renderer_pixbuf_new (); /* not all cells have a pixbuf, this prevents the combo box to shrink */ gtk_cell_renderer_set_fixed_size (renderer, -1, 22); gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, FALSE); gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer, "gicon", GICON_COL, NULL); renderer = gtk_cell_renderer_text_new (); gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo_box), renderer, TRUE); gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer, "text", TEXT_COL, NULL); for (l = list; l != NULL; l = g_list_next (l)) { GIcon *icon; entry = (AlarmListEntry *) l->data; icon = g_icon_new_for_string (entry->icon, NULL); gtk_list_store_append (GTK_LIST_STORE (model), &iter); gtk_list_store_set (GTK_LIST_STORE (model), &iter, GICON_COL, icon, TEXT_COL, entry->name, -1); g_object_unref (icon); } gtk_list_store_append (GTK_LIST_STORE (model), &iter); gtk_list_store_set (GTK_LIST_STORE (model), &iter, -1); gtk_list_store_append (GTK_LIST_STORE (model), &iter); gtk_list_store_set (GTK_LIST_STORE (model), &iter, GICON_COL, NULL, TEXT_COL, custom_label, -1); } /** * Show a notification */ void alarm_applet_notification_show (AlarmApplet *applet, const gchar *summary, const gchar *body, const gchar *icon) { NotifyNotification *n; GError *error = NULL; // Gotta love API breakage... #ifdef HAVE_LIBNOTIFY_0_7 n = notify_notification_new (summary, body, icon); #else n = notify_notification_new (summary, body, icon, NULL); #endif if (!notify_notification_show (n, &error)) { g_warning ("Failed to send notification: %s", error->message); g_error_free (error); } g_object_unref(G_OBJECT(n)); } void alarm_applet_label_update (AlarmApplet *applet) { #ifdef HAVE_APP_INDICATOR GList *l; Alarm *a; Alarm *next_alarm = NULL; struct tm *tm; gchar *tmp; gboolean show_label = gtk_toggle_action_get_active (applet->action_toggle_show_label); if (!show_label) { app_indicator_set_label (applet->app_indicator, NULL, NULL); return; } // // Show countdown // for (l = applet->alarms; l; l = l->next) { a = ALARM (l->data); if (!a->active) continue; if (!next_alarm || a->timestamp < next_alarm->timestamp) { next_alarm = a; } } if (!next_alarm) { // No upcoming alarms app_indicator_set_label (applet->app_indicator, NULL, NULL); return; } tm = alarm_get_remain (next_alarm); tmp = g_strdup_printf("%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec); app_indicator_set_label (applet->app_indicator, tmp, NULL); g_free(tmp); #endif } /* * Updates label etc */ static gboolean alarm_applet_ui_update (AlarmApplet *applet) { alarm_applet_label_update (applet); //alarm_applet_update_tooltip (applet); return TRUE; } void alarm_applet_ui_init (AlarmApplet *applet) { /* Load UI with GtkBuilder */ applet->ui = alarm_applet_ui_load ("alarm-clock.ui", applet); /* Initialize status icon */ alarm_applet_status_init(applet); /* Initialize libnotify */ if (!notify_init (PACKAGE_NAME)) { g_critical ("Could not intialize libnotify!"); } /* Initialize alarm list window */ applet->list_window = alarm_list_window_new (applet); /* Initialize alarm settings dialog */ applet->settings_dialog = alarm_settings_dialog_new (applet); /* Connect signals */ //gtk_builder_connect_signals (applet->ui, applet); /* Initialize actions */ alarm_applet_actions_init (applet); /* Initialize preferences dialog */ prefs_init (applet); /* Set up UI updater */ alarm_applet_ui_update (applet); g_timeout_add_seconds (1, (GSourceFunc)alarm_applet_ui_update, applet); } /* * Initialize status icon */ static void alarm_applet_status_init (AlarmApplet *applet) { applet->status_menu = GTK_WIDGET (gtk_builder_get_object (applet->ui, "status_menu")); #ifdef HAVE_APP_INDICATOR applet->app_indicator = app_indicator_new(PACKAGE_NAME, ALARM_ICON, APP_INDICATOR_CATEGORY_APPLICATION_STATUS); # ifdef HAVE_APP_INDICATOR_0_4_90 app_indicator_set_title (applet->app_indicator, _("Alarm Clock")); # endif app_indicator_set_status (applet->app_indicator, APP_INDICATOR_STATUS_ACTIVE); app_indicator_set_attention_icon (applet->app_indicator, TRIGGERED_ICON); app_indicator_set_menu (applet->app_indicator, GTK_MENU (applet->status_menu)); #else applet->status_icon = GTK_STATUS_ICON (gtk_builder_get_object (applet->ui, "status_icon")); gtk_status_icon_set_visible (applet->status_icon, TRUE); #endif } /* * Update the status icon */ void alarm_applet_status_update (AlarmApplet *applet) { #ifdef HAVE_APP_INDICATOR if (applet->n_triggered > 0) { app_indicator_set_status (applet->app_indicator, APP_INDICATOR_STATUS_ATTENTION); } else { app_indicator_set_status (applet->app_indicator, APP_INDICATOR_STATUS_ACTIVE); } #else if (applet->n_triggered > 0) { gtk_status_icon_set_from_icon_name (applet->status_icon, TRIGGERED_ICON); } else { gtk_status_icon_set_from_icon_name (applet->status_icon, ALARM_ICON); } gtk_status_icon_set_blinking (applet->status_icon, applet->n_triggered > 0); #endif } /* * Status icon callbacks: */ G_MODULE_EXPORT void alarm_applet_status_activate (GtkStatusIcon *status_icon, gpointer user_data) { #ifndef HAVE_APP_INDICATOR AlarmApplet *applet = (AlarmApplet *)user_data; // Toggle list window gtk_action_activate (GTK_ACTION (applet->action_toggle_list_win)); #endif } G_MODULE_EXPORT void alarm_applet_status_popup (GtkStatusIcon *status_icon, guint button, guint activate_time, gpointer user_data) { #ifndef HAVE_APP_INDICATOR AlarmApplet *applet = (AlarmApplet *)user_data; gtk_menu_popup (GTK_MENU (applet->status_menu), NULL, NULL, gtk_status_icon_position_menu, status_icon, button, activate_time); #endif } /* * Menu callbacks: */ /* G_MODULE_EXPORT void status_menu_snooze_cb (GtkMenuItem *menuitem, gpointer user_data) { AlarmApplet *applet = (AlarmApplet *)user_data; alarm_applet_alarms_snooze (applet); } G_MODULE_EXPORT void status_menu_stop_cb (GtkMenuItem *menuitem, gpointer user_data) { AlarmApplet *applet = (AlarmApplet *)user_data; alarm_applet_alarms_stop (applet); } */ void alarm_applet_status_menu_edit_cb (GtkMenuItem *menuitem, gpointer user_data) { AlarmApplet *applet = (AlarmApplet *)user_data; if (gtk_toggle_action_get_active (applet->action_toggle_list_win)) { alarm_list_window_show (applet->list_window); } else { gtk_toggle_action_set_active (applet->action_toggle_list_win, TRUE); } } void alarm_applet_status_menu_prefs_cb (GtkMenuItem *menuitem, gpointer user_data) { AlarmApplet *applet = (AlarmApplet *)user_data; prefs_dialog_show (applet); } void alarm_applet_status_menu_about_cb (GtkMenuItem *menuitem, gpointer user_data) { AlarmApplet *applet = (AlarmApplet *)user_data; gchar *title; gboolean visible; GtkAboutDialog *dialog = GTK_ABOUT_DIALOG ( gtk_builder_get_object (applet->ui, "about-dialog")); g_object_get (dialog, "visible", &visible, NULL); if (!visible) { // About Alarm Clock title = g_strdup_printf (_("About %s"), _(ALARM_NAME)); g_object_set (G_OBJECT (dialog), "program-name", _(ALARM_NAME), "title", title, "version", VERSION, NULL); g_free (title); gtk_dialog_run (GTK_DIALOG (dialog)); } else { // Already visible, present it gtk_window_present (GTK_WINDOW (dialog)); } } /* * An error callback for MediaPlayers */ void media_player_error_cb (MediaPlayer *player, GError *err, gpointer data) { GtkWindow *parent = GTK_WINDOW (data); gchar *uri, *tmp; uri = media_player_get_uri (player); tmp = g_strdup_printf ("%s: %s", uri, err->message); g_critical (_("Could not play '%s': %s"), uri, err->message); display_error_dialog (_("Could not play"), tmp, parent); g_free (tmp); g_free (uri); } /** * Alarm changed signal handler * * Here we update any actions/views, if necessary */ void alarm_applet_alarm_changed (GObject *object, GParamSpec *pspec, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; Alarm *alarm = ALARM (object); const gchar *pname = pspec->name; g_debug ("AlarmApplet: Alarm '%s' %s changed", alarm->message, pname); // Update Actions if (g_strcmp0 (pname, "active") == 0) { alarm_action_update_enabled (applet); } // Update List Window if (applet->list_window && GTK_WIDGET_VISIBLE (applet->list_window->window)) { // Should really check that the changed param is relevant... alarm_list_window_alarm_update (applet->list_window, alarm); } // Update Settings if (applet->settings_dialog && applet->settings_dialog->alarm == alarm) { g_debug ("TODO: Update settings dialog"); } } /** * Alarm 'alarm' signal handler * * Here we update any actions/views, if necessary */ void alarm_applet_alarm_triggered (Alarm *alarm, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; gchar *summary, *body; const gchar *icon; g_debug ("AlarmApplet: Alarm '%s' triggered", alarm->message); // Keep track of how many alarms have been triggered applet->n_triggered++; // Show notification summary = g_strdup_printf ("%s", alarm->message); body = g_strdup_printf (_("You can snooze or stop alarms from the Alarm Clock menu.")); icon = (alarm->type == ALARM_TYPE_TIMER) ? TIMER_ICON : ALARM_ICON; alarm_applet_notification_show (applet, summary, body, icon); g_free (summary); g_free (body); // Update status icon alarm_applet_status_update (applet); // Update actions alarm_applet_actions_update_sensitive (applet); } /** * Alarm 'cleared' signal handler * * Here we update any actions/views, if necessary */ void alarm_applet_alarm_cleared (Alarm *alarm, gpointer data) { AlarmApplet *applet = (AlarmApplet *)data; g_debug ("AlarmApplet: Alarm '%s' cleared", alarm->message); // Keep track of how many alarms have been triggered applet->n_triggered--; // Update status icon alarm_applet_status_update (applet); // Update actions alarm_applet_actions_update_sensitive (applet); } alarm-clock-applet-0.3.3/Makefile.in0000664000175000017500000006560411762720131014170 00000000000000# Makefile.in generated by automake 1.11.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Alarm Clock VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/Makefile.decl $(top_srcdir)/configure AUTHORS \ COPYING ChangeLog INSTALL NEWS compile depcomp install-sh \ missing mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@ ALARM_CLOCK_MAJOR_VERSION = @ALARM_CLOCK_MAJOR_VERSION@ ALARM_CLOCK_MICRO_VERSION = @ALARM_CLOCK_MICRO_VERSION@ ALARM_CLOCK_MINOR_VERSION = @ALARM_CLOCK_MINOR_VERSION@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ APP_INDICATOR_CFLAGS = @APP_INDICATOR_CFLAGS@ APP_INDICATOR_LIBS = @APP_INDICATOR_LIBS@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BASE_CFLAGS = @BASE_CFLAGS@ BASE_LIBS = @BASE_LIBS@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISABLE_DEPRECATED = @DISABLE_DEPRECATED@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_CFLAGS = @GNOME_CFLAGS@ GNOME_LIBS = @GNOME_LIBS@ GREP = @GREP@ GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@ GSTREAMER_LIBS = @GSTREAMER_LIBS@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LDFLAGS = @LDFLAGS@ LIBNOTIFY_0_7_CFLAGS = @LIBNOTIFY_0_7_CFLAGS@ LIBNOTIFY_0_7_LIBS = @LIBNOTIFY_0_7_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ GTESTER = gtester # for non-GLIB packages GTESTER_REPORT = gtester-report # for non-GLIB package # initialize variables for unconditional += appending EXTRA_DIST = autogen.sh intltool-extract.in intltool-merge.in \ intltool-update.in TEST_PROGS = SUBDIRS = src data po DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.decl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.decl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then rm -f stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am $(MAKE) $(AM_MAKEFLAGS) check-local check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \ ctags-recursive install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am check-local clean \ clean-generic ctags ctags-recursive dist dist-all dist-bzip2 \ dist-gzip dist-hook dist-lzip dist-lzma dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-recursive uninstall uninstall-am ### testing rules # test: run all tests in cwd and subdirs test: ${TEST_PROGS} @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS} @ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done # test-report: run tests in subdirs and generate report # perf-report: run tests in subdirs with -m perf and generate report # full-report: like test-report: with -m perf and -m slow test-report perf-report full-report: ${TEST_PROGS} @test -z "${TEST_PROGS}" || { \ case $@ in \ test-report) test_options="-k";; \ perf-report) test_options="-k -m=perf";; \ full-report) test_options="-k -m=perf -m=slow";; \ esac ; \ if test -z "$$GTESTER_LOGDIR" ; then \ ${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \ elif test -n "${TEST_PROGS}" ; then \ ${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \ fi ; \ } @ ignore_logdir=true ; \ if test -z "$$GTESTER_LOGDIR" ; then \ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \ ignore_logdir=false ; \ fi ; \ for subdir in $(SUBDIRS) . ; do \ test "$$subdir" = "." -o "$$subdir" = "po" || \ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \ done ; \ $$ignore_logdir || { \ echo '' > $@.xml ; \ echo '' >> $@.xml ; \ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \ sed '1,1s/^?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \ done ; \ echo >> $@.xml ; \ echo '' >> $@.xml ; \ rm -rf "$$GTESTER_LOGDIR"/ ; \ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \ } .PHONY: test test-report perf-report full-report # run make test as part of make check check-local: test dist-hook: gen-ChangeLog .PHONY: gen-ChangeLog gen-ChangeLog: if test -d .bzr; then \ bzr log > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: alarm-clock-applet-0.3.3/COPYING0000644000175000017500000004310310641012126013133 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. alarm-clock-applet-0.3.3/Makefile.am0000644000175000017500000000112411347776452014160 00000000000000include $(top_srcdir)/Makefile.decl SUBDIRS = src data po EXTRA_DIST += \ autogen.sh \ intltool-extract.in \ intltool-merge.in \ intltool-update.in DISTCLEANFILES = \ intltool-extract \ intltool-merge \ intltool-update dist-hook: gen-ChangeLog .PHONY: gen-ChangeLog gen-ChangeLog: if test -d .bzr; then \ bzr log > $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi alarm-clock-applet-0.3.3/depcomp0000755000175000017500000004426711751513470013504 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u="sed s,\\\\\\\\,/,g" depmode=msvisualcpp fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: alarm-clock-applet-0.3.3/intltool-extract.in0000644000175000017500000000000011642404313015736 00000000000000alarm-clock-applet-0.3.3/AUTHORS0000644000175000017500000000034411730466474013173 00000000000000Johannes H. Jensen Contributors: Arnaud Soyez Chow Loong Jin Kamal Mostafa Artwork by Lasse Gullvåg Sætre alarm-clock-applet-0.3.3/configure.ac0000644000175000017500000001116311762720044014401 00000000000000# *************************************************************************** # *** configure.ac for ALARM-CLOCK *** # *************************************************************************** m4_define([alarm_clock_major_version], [0]) m4_define([alarm_clock_minor_version], [3]) m4_define([alarm_clock_micro_version], [3]) m4_define([alarm_clock_version], [alarm_clock_major_version.alarm_clock_minor_version.alarm_clock_micro_version]) AC_INIT([alarm-clock], [alarm_clock_version], [https://bugs.launchpad.net/alarm-clock], [alarm-clock-applet]) AC_CONFIG_SRCDIR([src]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign 1.11 -Wall silent-rules]) AM_MAINTAINER_MODE([enable]) AM_SILENT_RULES([yes]) # Substitute variables ALARM_CLOCK_MAJOR_VERSION=alarm_clock_major_version ALARM_CLOCK_MINOR_VERSION=alarm_clock_minor_version ALARM_CLOCK_MICRO_VERSION=alarm_clock_micro_version AC_SUBST(ALARM_CLOCK_MAJOR_VERSION) AC_SUBST(ALARM_CLOCK_MINOR_VERSION) AC_SUBST(ALARM_CLOCK_MICRO_VERSION) PKG_PROG_PKG_CONFIG AC_PROG_CC AC_PROG_INSTALL # ***** # GNOME # ***** GNOME_COMMON_INIT GNOME_DEBUG_CHECK GNOME_COMPILE_WARNINGS([maximum]) GNOME_MAINTAINER_MODE_DEFINES # *************************** # Check for required packages # *************************** GLIB_REQUIRED=2.16.0 GTK_REQUIRED=2.12.0 PKG_CHECK_MODULES(BASE, [glib-2.0 >= $GLIB_REQUIRED gmodule-2.0]) PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= $GTK_REQUIRED]) PKG_CHECK_MODULES(GSTREAMER, [gstreamer-0.10]) PKG_CHECK_MODULES(GNOME, [gconf-2.0 gio-2.0 gnome-icon-theme libnotify >= 0.4.1 libxml-2.0 unique-1.0]) # Check for gconftool AC_PATH_PROG(GCONFTOOL, gconftool-2, no) if test x"$GCONFTOOL" = xno; then AC_MSG_ERROR([gconftool-2 executable not found in your path - is gconf installed?]) fi AM_GCONF_SOURCE_2 # # Check for libnotify 0.7 # PKG_CHECK_MODULES(LIBNOTIFY_0_7, libnotify >= 0.7, have_libnotify_0_7=yes, have_libnotify_0_7=no) if test x$have_libnotify_0_7 = xyes ; then AC_DEFINE(HAVE_LIBNOTIFY_0_7, 1, [Have libnotify 0.7]) fi AM_CONDITIONAL(HAVE_LIBNOTIFY_0_7, test x$have_libnotify_0_7 = xyes) # # Check for AppIndicator (optional) # APPINDICATOR_REQUIRED=0.0.7 AC_ARG_ENABLE(appindicator, AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators ]), [enable_appindicator=$enableval], [enable_appindicator="auto"]) if test x$enable_appindicator = xauto ; then PKG_CHECK_EXISTS([appindicator-0.1 >= $APPINDICATOR_REQUIRED], enable_appindicator="yes", enable_appindicator="no") fi if test x"$enable_appindicator" = xyes ; then PKG_CHECK_EXISTS([appindicator-0.1],, AC_MSG_ERROR([appindicator-0.1 is not installed])) PKG_CHECK_MODULES(APP_INDICATOR, [appindicator-0.1 >= 0.4.90], [have_appindicator_0_4_90=yes], [have_appindicator_0_4_90=no; PKG_CHECK_MODULES(APP_INDICATOR, [appindicator-0.1 >= $APPINDICATOR_REQUIRED])]) # AC_SUBST(APP_INDICATOR_CFLAGS) # AC_SUBST(APP_INDICATOR_LIBS) AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator]) if test "$have_appindicator_0_4_90" = "yes"; then AC_DEFINE(HAVE_APP_INDICATOR_0_4_90, 1, [Have AppIndicator 0.4.90]) fi fi AM_CONDITIONAL(HAVE_APP_INDICATOR, test x"$enable_appindicator" = xyes) # ******************** # Internationalisation # ******************** IT_PROG_INTLTOOL([0.40.0]) GETTEXT_PACKAGE=alarm-clock-applet AC_SUBST([GETTEXT_PACKAGE]) #ALL_LINGUAS="" AM_GLIB_GNU_GETTEXT AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [gettext domain]) #localedir='$(datadir)/locale' # ******************* # Run in source tree? # ******************* AC_ARG_ENABLE(run-in-source-tree, AC_HELP_STRING([--disable-run-in-source-tree], [disable search for UI files and plugins in local directory]),, enable_run_in_source_tree=yes) if test x$enable_run_in_source_tree = xyes; then AC_DEFINE(ALARM_CLOCK_RUN_IN_SOURCE_TREE, 1, [enable search for UI files and plugins in local directory]) fi # **************************** AC_CONFIG_FILES([Makefile src/Makefile src/tests/Makefile data/Makefile data/icons/Makefile po/Makefile.in]) AC_OUTPUT # **************************** echo " ************************************************* $PACKAGE_NAME $VERSION Configure summary: prefix: ${prefix} source code location: ${srcdir} application indicators: ${enable_appindicator} ************************************************* " alarm-clock-applet-0.3.3/mkinstalldirs0000755000175000017500000000672211751513470014727 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2009-04-28.21; # UTC # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' IFS=" "" $nl" errstatus=0 dirmode= usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit $? ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit $? ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do case $file in /*) pathcomp=/ ;; *) pathcomp= ;; esac oIFS=$IFS IFS=/ set fnord $file shift IFS=$oIFS for d do test "x$d" = x && continue pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr= chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp=$pathcomp/ done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: alarm-clock-applet-0.3.3/intltool-merge.in0000644000175000017500000000000011642404313015363 00000000000000alarm-clock-applet-0.3.3/NEWS0000644000175000017500000001232111762723237012616 00000000000000Overview of changes in Alarm Clock 0.3.3 "Squish" =============================================================== * Set app indicator title Bugs fixed: 290733 - Automatically detect daylight savings time 800635 - Let the WM decide the initial position of the list window 823585 - Check that media player was created successfully 908636 - Don't show notifications when alarms are stopped/snoozed 885059 - Update timestamp when type is changed for active alarms 977110 - Use segment seeks to prevent playback delays when looping 824337 - Enable alarm when closing the Edit alarm dialog Overview of changes in Alarm Clock 0.3.2 "Indicate this" =============================================================== * Add support for application indicators * Countdown label for application indicator * New status icon indicating triggered alarms Bugs fixed: 565302 - Add countdown label (for application indicator) 610632 - Create ~/.config/autostart if it doesn't exist 671962 - Add support for libnotify 0.7 682999 - Properly stop triggered alarms that are not playing sound 704956 - Add support for application indicators 706832 - Clicking on status icon should bring up list instead of snoozing New and updated translations: ar, courtesy of Ahmed Mohammed ast, courtesy of Xuacu Saturio be, courtesy of Mikola Tsekhan ca, courtesy of I. De Marchi cs, courtesy of Oliwer de, courtesy of Christoph Wickert es, courtesy of Fitoschido et, courtesy of Tarmo Ilves fi, courtesy of Jiri Grönroos fo, courtesy of Gunleif Joensen fr, courtesy of Nicolas Delvaux gl, courtesy of Miguel Anxo Bouzada he, courtesy of Yaron hu, courtesy of Papp Bence id, courtesy of Arief Setiadi Wibowo ja, courtesy of jugger Yamamoto ka, courtesy of Giorgi Maghlakelidze la, courtesy of nivek1385 nb, courtesy of Johannes H. Jensen nl, courtesy of Rachid pl, courtesy of XeonBloomfield pt_BR, courtesy of André Gondim ru, courtesy of Сергій Матрунчик (SkyMan) tr, courtesy of Burak Ilgıcıoğlu uk, courtesy of Сергій Матрунчик (SkyMan) zh_CN, courtesy of Lele Long zh_TW, courtesy of Cheng-Chia Tseng Overview of changes in Alarm Clock 0.3.1 "It's gettin' pretty" =============================================================== * Properly toggle alarm-list-window * Parse command-line options * Add --hidden command-line flag * Start --hidden on autostart Bugs fixed: 558559 - Double-clicking on alarm erratically changes alarm time/duration 559514 - The alarms list window should be shown when launching the application 559531 - Remember the alarms list window position 567564 - repeat once: checkbox does not work in gtk+ 2.20 567762 - deleting running alarm doesn't cancel them New and updated translations: be, courtesy of Mikola Tsekhan bg, courtesy of svilborg da, courtesy of nanker de, courtesy of Jakob Kramer fr, courtesy of Pierre Slamich gl, courtesy of Dario id, courtesy of Waluyo Adi Siswanto ru, courtesy of Misha Shnurapet Overview of changes in Alarm Clock 0.3.0 "Less snooze" ======================================================= * Alarm Clock has moved to the notification area and can be started as a normal application * An option to autostart Alarm Clock on log in has been added * Blink icon when an alarm is triggered * General User Interface improvements * Improvements to the alarm list window * Add sorting of the alarm list * Notify bubble improvements - remove per-alarm notify bubble settings * Snooze improvements - global snooze settings, enable snooze for timers * Add translation support - translations are now done in Launchpad Bugs fixed: 243153 - No hint bubble when there is a "&" sign in the lable 334684 - Notification needs to be improved in jaunty 421098 - Source code an Gentoo QA 490824 - Sorting alarms on time 500600 - Update countdown for active alarms in alarm list 501069 - Remove deprecated gnome-vfs dependency and use gio instead 501073 - Remove deprecated libgnomeui dependency 502230 - Properly seek player to start when looping New and updated translations: ar, courtesy of Propeng be, courtesy of Mikola Tsekhan da, courtesy of nanker de, courtesy of theunexpecteds es, courtesy of Gonzalo Testa fo, courtesy of Gunleif Joensen fr, courtesy of Pierre Slamich he, courtesy of Yaron hi, courtesy of manishmahabir hu, courtesy of Gergely Szarka ja, courtesy of Yuki Kodama ms, courtesy of Ibrahim Elias nb, courtesy of Johannes H. Jensen nn, courtesy of Håkon Sandsmark pl, courtesy of Stanisław Gackowski pt, courtesy of Renato Martins pt_BR, courtesy of Gilfran Ribeiro ru, courtesy of Oleg Koptev zh_CN, courtesy of lhquark alarm-clock-applet-0.3.3/ChangeLog0000664000175000017500000015426211762723365013710 00000000000000------------------------------------------------------------ revno: 223 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-06-03 20:03:14 +0200 message: 0.3.3 release ------------------------------------------------------------ revno: 222 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-06-03 19:33:21 +0200 message: Update translations from Launchpad ------------------------------------------------------------ revno: 221 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-06-03 19:02:33 +0200 message: Update po template ------------------------------------------------------------ revno: 220 fixes bug: https://launchpad.net/bugs/824337 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-06-03 18:49:18 +0200 message: Enable alarm when closing the Edit alarm dialog (LP: #824337) ------------------------------------------------------------ revno: 219 fixes bug: https://launchpad.net/bugs/977110 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2012-05-28 18:32:35 +0200 message: Use segment seeks to prevent playback delays when looping (LP: #977110) ------------------------------------------------------------ revno: 218 [merge] committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-05-06 17:28:08 +0200 message: Merge lp:~hyperair/alarm-clock/set-indicator-title ------------------------------------------------------------ revno: 217 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-03-18 17:28:51 +0100 message: Clean up unused variables ------------------------------------------------------------ revno: 216 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-03-18 17:06:43 +0100 message: Update timestamp when type is changed for active alarms (LP: #885059) ------------------------------------------------------------ revno: 215 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-03-18 16:31:56 +0100 message: Update po template ------------------------------------------------------------ revno: 214 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2012-03-18 16:26:53 +0100 message: Don't show notifications when alarms are stopped/snoozed from the context menu (LP: #908636) ------------------------------------------------------------ revno: 213 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2012-03-15 22:55:25 +0100 message: Check that media player was created successfully (LP: #823585) ------------------------------------------------------------ revno: 212 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2012-03-15 22:54:22 +0100 message: Let the WM decide the initial position of the list window (LP: #800635) ------------------------------------------------------------ revno: 211 fixes bug: https://launchpad.net/bugs/290733 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Fri 2011-06-24 03:31:03 +0200 message: Automatically detect daylight savings time (LP: #290733) ------------------------------------------------------------ revno: 210 tags: 0.3.2 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-03-20 18:54:35 +0100 message: 0.3.2 release ------------------------------------------------------------ revno: 209 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-03-20 18:51:46 +0100 message: Away with some compilation warnings. ------------------------------------------------------------ revno: 208 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-03-20 17:51:31 +0100 message: Update translations from Launchpad ------------------------------------------------------------ revno: 207 fixes bug: https://launchpad.net/bugs/706832 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-03-20 17:21:31 +0100 message: Clicking on status icon should bring up list instead of snoozing (LP: #706832) ------------------------------------------------------------ revno: 206 fixes bug: https://launchpad.net/bugs/704956 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-03-20 17:17:12 +0100 message: New alarm-clock-triggered status icon (LP: #704956) ------------------------------------------------------------ revno: 205 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 17:27:03 +0100 message: Add missing translation string ------------------------------------------------------------ revno: 204 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 16:53:28 +0100 message: Code cleanup ------------------------------------------------------------ revno: 203 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 16:42:05 +0100 message: Update translation template ------------------------------------------------------------ revno: 202 fixes bug: https://launchpad.net/bugs/671962 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 16:08:11 +0100 message: Add support for libnotify 0.7 ------------------------------------------------------------ revno: 201 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 14:46:38 +0100 message: Disable show_label when built without AppIndicator support ------------------------------------------------------------ revno: 200 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 13:51:41 +0100 message: Implement countdown label for application indicator ------------------------------------------------------------ revno: 199 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 13:09:35 +0100 message: Update show_label state on init ------------------------------------------------------------ revno: 198 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2011-01-23 13:06:45 +0100 message: Re-introduce show_label preference ------------------------------------------------------------ revno: 197 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2011-01-19 20:45:52 +0100 message: Credit contributors. ------------------------------------------------------------ revno: 196 [merge] committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2011-01-19 20:21:06 +0100 message: Fix disabling autostart: create ~/config/autostart directory for disable as well as for enable (LP: #610632) Patch by Kamal Mostafa ------------------------------------------------------------ revno: 195 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2011-01-19 20:13:25 +0100 message: Add preliminary support for application indicators ------------------------------------------------------------ revno: 194 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2011-01-19 16:50:39 +0100 message: Properly stop triggered alarms that are not playing sound (LP: #682999) ------------------------------------------------------------ revno: 193 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2010-09-06 12:25:34 +0200 message: Create ~/.config/autostart if it doesn't exist (LP: #610632) ------------------------------------------------------------ revno: 192 tags: 0.3.1 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2010-05-16 22:26:32 +0200 message: 0.3.1 release ------------------------------------------------------------ revno: 191 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2010-05-16 22:23:57 +0200 message: Update translations from Launchpad ------------------------------------------------------------ revno: 190 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2010-05-16 20:08:07 +0200 message: Remember window position (LP: #559531) ------------------------------------------------------------ revno: 189 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2010-05-09 19:59:45 +0200 message: Properly disable and clear alarms before deletion (LP: #567762) ------------------------------------------------------------ revno: 188 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-05-04 22:30:12 +0200 message: Start --hidden on autostart ------------------------------------------------------------ revno: 187 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-05-04 21:14:28 +0200 message: Parse command-line options Add --hidden command-line flag ------------------------------------------------------------ revno: 186 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-05-04 18:56:17 +0200 message: Hide alarm-list-window using toggle-action to ensure a consistent state. ------------------------------------------------------------ revno: 185 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-05-04 18:15:40 +0200 message: Only update time according to which spinbutton changed (LP: #558559) ------------------------------------------------------------ revno: 184 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-05-04 17:46:59 +0200 message: Use gtk_buildable_get_name() instead of gtk_widget_get_name() to identify widgets. (LP: #567564) ------------------------------------------------------------ revno: 183 tags: 0.3.0 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 23:43:56 +0100 message: 0.3.0 release ------------------------------------------------------------ revno: 182 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 23:29:31 +0100 message: Include Makefile.decls Pass distcheck ------------------------------------------------------------ revno: 181 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 22:12:28 +0100 message: Fix some build issues ------------------------------------------------------------ revno: 180 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 21:53:17 +0100 message: Use g_get_system_data_dirs() to locate stock sounds and apps ------------------------------------------------------------ revno: 179 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 21:27:27 +0100 message: Add contributors to about dialog Don't terminate on critical errors ------------------------------------------------------------ revno: 178 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 18:24:33 +0100 message: Update LINGUAS, properly clean intltool-generated files ------------------------------------------------------------ revno: 177 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 17:39:25 +0100 message: Update translations from launchpad ------------------------------------------------------------ revno: 176 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-03-16 17:26:27 +0100 message: Do not shrink type column ------------------------------------------------------------ revno: 175 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 17:18:04 +0100 message: Rename template to conform with launchpad rules. ------------------------------------------------------------ revno: 174 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 16:28:15 +0100 message: Update translation template ------------------------------------------------------------ revno: 173 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 16:27:39 +0100 message: One less warning ------------------------------------------------------------ revno: 172 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 16:26:05 +0100 message: Less compilation warnings. ------------------------------------------------------------ revno: 171 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 16:09:43 +0100 message: More helpfull translation comment ------------------------------------------------------------ revno: 170 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 15:54:43 +0100 message: Remove markup from translatable strings. ------------------------------------------------------------ revno: 169 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 04:15:49 +0100 message: Updated translation template ------------------------------------------------------------ revno: 168 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 03:42:45 +0100 message: Escape markup in alarm list ------------------------------------------------------------ revno: 167 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-03-06 03:26:25 +0100 message: Code cleanup (less compilation warnings) ------------------------------------------------------------ revno: 166 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2010-03-03 18:03:53 +0100 message: Code clean up: Don't block() ------------------------------------------------------------ revno: 165 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2010-03-03 12:56:01 +0100 message: Improve makefiles - most importantly silent-rules ------------------------------------------------------------ revno: 164 [merge] committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2010-03-03 12:35:12 +0100 message: Merge from lp ------------------------------------------------------------ revno: 163 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2010-03-03 12:33:07 +0100 message: Test program for libnotify ------------------------------------------------------------ revno: 162 committer: joh@pseudoberries.com branch nick: alarm-clock timestamp: Tue 2010-02-16 01:18:09 +0100 message: Code cleanup. ------------------------------------------------------------ revno: 161 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2010-01-24 01:06:54 +0100 message: Uniqify app using libunique ------------------------------------------------------------ revno: 160 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2010-01-20 21:38:59 +0100 message: Added translation template file ------------------------------------------------------------ revno: 159 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-19 22:36:40 +0100 message: Use snooze min setting when snoozing alarms from the status menu. ------------------------------------------------------------ revno: 158 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-19 22:30:48 +0100 message: Updated Norwegian translation ------------------------------------------------------------ revno: 157 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-19 22:29:40 +0100 message: Manually mark some strings as translatable https://bugzilla.gnome.org/show_bug.cgi?id=607348 ------------------------------------------------------------ revno: 156 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-19 00:59:34 +0100 message: Internationalization support. Norwegian bokmål translation. Still some problems with Glade and translating GtkActions. ------------------------------------------------------------ revno: 155 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Fri 2010-01-15 11:03:22 +0100 message: Blink icon and show a bold label on triggered alarms. ------------------------------------------------------------ revno: 154 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-12 23:51:28 +0100 message: Add quit action. Fix some issues with list window toggling. ------------------------------------------------------------ revno: 153 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-12 15:15:19 +0100 message: Add accelerator (Escape) to list window to close it. Toggling of the list window is now handled by a GtkAction. ------------------------------------------------------------ revno: 152 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-12 14:11:20 +0100 message: Use 'Alert' instead of 'Notification' ------------------------------------------------------------ revno: 151 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-12 11:31:17 +0100 message: Use 2 digits in time spin buttons ------------------------------------------------------------ revno: 150 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-12 00:18:48 +0100 message: Forgot to add alarm-actions Do not prompt for deleting an alarm ------------------------------------------------------------ revno: 149 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2010-01-11 23:34:11 +0100 message: Disable snooze mins selection for alarm clocks. ------------------------------------------------------------ revno: 148 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2010-01-11 20:26:46 +0100 message: Action based toolbar and menus! ------------------------------------------------------------ revno: 147 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-01-09 15:21:59 +0100 message: Add global snooze (LP: blueprint global-snooze) ------------------------------------------------------------ revno: 146 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2010-01-05 14:38:18 +0100 message: Sort alarms by remaining time. Properly retain selection when reordering is caused by click in the cell. ------------------------------------------------------------ revno: 145 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2010-01-03 16:19:50 +0100 message: Improve list view column alignment and sizing. ------------------------------------------------------------ revno: 144 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-01-02 23:46:13 +0100 message: Avoid signal loops in alarm-settings Update toolbar consistently in alarm-list-window Use underscores in gconf keys ------------------------------------------------------------ revno: 143 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-01-02 20:35:52 +0100 message: Properly seek player to start when looping (LP: #502230) ------------------------------------------------------------ revno: 142 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-01-02 05:52:31 +0100 message: Added 'triggered' property and 'cleared' signal to Alarm to determine whether the user has cleared the Alarm. Lots of other improvements to the UI. ------------------------------------------------------------ revno: 141 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2010-01-02 00:40:21 +0100 message: Much improved Alarm List Window! Still needs some work though... ------------------------------------------------------------ revno: 140 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2009-12-29 17:23:44 +0100 message: Remove deprecated libgnomeui dependency (LP: #501073) Patch by Chow Loong Jin ------------------------------------------------------------ revno: 139 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2009-12-29 17:18:14 +0100 message: Remove deprecated gnome-vfs dependency and use gio instead (LP: #501069) Patch by Chow Loong Jin ------------------------------------------------------------ revno: 138 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2009-12-28 18:30:35 +0100 message: Bump copyright to 2010 ------------------------------------------------------------ revno: 137 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2009-12-27 22:09:06 +0100 message: Use - in property names instead of _ Fix a bug because of two missing NULL's in g_object_set ------------------------------------------------------------ revno: 136 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2009-12-27 17:06:29 +0100 message: Update countdown for active alarms in alarm list (LP: #500600) Patch by Chow Loong Jin ------------------------------------------------------------ revno: 135 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2009-12-24 14:49:32 +0100 message: Updated autoconf and automake files for better control. ------------------------------------------------------------ revno: 134 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2009-11-28 15:35:29 +0530 message: Set custom toggle button content in Glade ------------------------------------------------------------ revno: 133 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2009-11-28 15:19:18 +0530 message: Working UI ------------------------------------------------------------ revno: 132 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2009-11-26 03:43:42 +0530 message: Working applet using GtkStatusIcon and GtkBuilder! Still needs a lot of improvements. ------------------------------------------------------------ revno: 131 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2009-07-08 14:20:58 +0100 message: Remove config.h as it's not needed anymore. ------------------------------------------------------------ revno: 130 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2009-06-14 00:19:56 +0200 message: Cleaned up in Makefile.am and configure.ac ------------------------------------------------------------ revno: 129 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2009-06-13 18:22:12 +0200 message: Improve schema installation. ------------------------------------------------------------ revno: 128 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2009-06-13 18:00:09 +0200 message: Moved dir config from configure.ac to src/Makefile.am Updated email in AUTHORS ------------------------------------------------------------ revno: 127 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Fri 2009-06-12 11:18:59 +0200 message: Properly substitute variables in configure.ac. ------------------------------------------------------------ revno: 126 tags: 0.2.6 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Fri 2009-06-12 10:42:53 +0200 message: Change package name to 'alarm-clock-applet' to avoid name conflicts. Update to reflect the new location of gnome-default-applications.xml. Bump to version 0.2.6. ------------------------------------------------------------ revno: 125 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2009-05-30 20:18:42 +0200 message: Use libexecdir instead of bindir. ------------------------------------------------------------ revno: 124 tags: 0.2.5 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2009-04-19 18:28:12 +0200 message: 0.2.5 release. ------------------------------------------------------------ revno: 123 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2009-02-22 22:41:10 +0100 message: Fix tests so that they succeed on intrepid. Remove non-GTest sources from TEST_PROGS. Fix bug LP:#330092. ------------------------------------------------------------ revno: 122 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2009-02-22 21:58:26 +0100 message: Stop playing preview sound when changing notification to "Start application". Patch by Arnaud Soyez . Fix bug LP:#332756. ------------------------------------------------------------ revno: 121 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sat 2008-10-04 22:36:00 +0200 message: Remove "ghost" object from alarm-clock.svg icon. ------------------------------------------------------------ revno: 120 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Fri 2008-08-29 00:49:06 +0200 message: Set page_size to 0 in edit-alarm dialog. (Workaround for GNOME bug #307963) ------------------------------------------------------------ revno: 119 tags: 0.2.4 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2008-08-28 00:51:49 +0200 message: 0.2.4 release. ------------------------------------------------------------ revno: 118 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2008-08-27 17:19:03 +0200 message: Store alarms in a global GConf directory: /apps/alarm-clock (LP: #261877) ------------------------------------------------------------ revno: 117 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2008-08-27 16:05:37 +0200 message: Remove old checkbox code. ------------------------------------------------------------ revno: 116 tags: 0.2.3 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2008-06-25 18:21:22 +0200 message: 0.2.3 bugfix release. ------------------------------------------------------------ revno: 115 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2008-06-19 01:19:59 +0200 message: When an alarm is added, connect alarm_triggered so notifications are displayed (LP: #240728) Remove timer and stop player on alarm dispose. ------------------------------------------------------------ revno: 114 tags: 0.2.2 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2008-05-12 14:33:42 +0200 message: 0.2.2 bugfix release. ------------------------------------------------------------ revno: 113 [merge] committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2008-05-12 14:06:50 +0200 message: Put tests in check_PROGRAMS to prevent compilation when invoking 'make all' (LP: #229443) ------------------------------------------------------------ revno: 112 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2008-05-12 13:52:33 +0200 message: Removed tests from 'make all'. They can still be run inside src/tests. (LP: #229443) ------------------------------------------------------------ revno: 111 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2008-05-07 15:21:34 +0200 message: Fixed a compilation bug. ------------------------------------------------------------ revno: 110 tags: 0.2.1 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2008-05-07 00:26:07 +0200 message: 0.2.1 release. ------------------------------------------------------------ revno: 109 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2008-05-07 00:12:09 +0200 message: Added copyright information to all test programs. ------------------------------------------------------------ revno: 108 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-05-06 22:59:45 +0200 message: Automatically stop the alarm sound player after 20 minutes. ------------------------------------------------------------ revno: 107 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-05-06 22:36:05 +0200 message: Set nofification bubble to never expire. ------------------------------------------------------------ revno: 106 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2008-05-05 23:31:20 +0200 message: Fixed some issues 'make distclean'. ------------------------------------------------------------ revno: 105 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Fri 2008-05-02 00:12:51 +0200 message: Set default snooze time to 9 minutes. ------------------------------------------------------------ revno: 104 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2008-05-01 19:26:13 +0200 message: Fixed title of preferences to confirm to the new name: Alarm Clock. ------------------------------------------------------------ revno: 103 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2008-05-01 19:10:39 +0200 message: Edit alarm dialog no longer resizable. ------------------------------------------------------------ revno: 102 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2008-05-01 17:39:45 +0200 message: Added copyright information at the top of each source file. ------------------------------------------------------------ revno: 101 tags: 0.2.0 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2008-05-01 17:18:57 +0200 message: At last the 0.2 release! ------------------------------------------------------------ revno: 100 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Thu 2008-05-01 16:33:59 +0200 message: New snooze icon. Thanks to Lasse Gullvåg Sætre! Panel icon now reflects the type of the upcoming alarm. ------------------------------------------------------------ revno: 99 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-04-29 23:27:55 +0200 message: Snooze icon added in code. ------------------------------------------------------------ revno: 98 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-04-29 17:56:15 +0200 message: list-alarms resizing. ------------------------------------------------------------ revno: 97 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-04-29 17:36:35 +0200 message: Clear & snooze actions added to Notification. ------------------------------------------------------------ revno: 96 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-04-29 17:04:35 +0200 message: Snooze working. Notification now displaying the proper icon according to the alarm type. ------------------------------------------------------------ revno: 95 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-04-29 09:31:05 +0200 message: Fixed a bug where the upcoming alarm would not get properly selected. ------------------------------------------------------------ revno: 94 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-04-29 01:01:57 +0200 message: Snooze working. Only the snooze UI elements remaining. ------------------------------------------------------------ revno: 93 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Tue 2008-04-29 00:08:12 +0200 message: Transition to "time". Seems to be working nicely now. ------------------------------------------------------------ revno: 92 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2008-04-28 23:50:12 +0200 message: Makefile.decl for GTest setup. ------------------------------------------------------------ revno: 91 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Mon 2008-04-28 23:47:42 +0200 message: Refactoring alarm so both clock/timers store their time in the "time" property. Replacing the "time" property with "timestamp" which enables us to update it for snoozing without affecting clock/timer settings. tests/test_alarm completely rewritten to use the new GTest API. ------------------------------------------------------------ revno: 90 committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Wed 2008-04-23 19:41:30 +0200 message: Fixed a bug where alarm_bind_weak_ref() would try to disconnect a signal handler from a finalized object. ------------------------------------------------------------ revno: 89 committer: joh branch nick: alarm-clock timestamp: Mon 2008-04-21 01:25:57 +0200 message: "More renaming to Alarm Clock.\nSchema for repeat property added." ------------------------------------------------------------ revno: 88 [merge] committer: Johannes H. Jensen branch nick: alarm-clock timestamp: Sun 2008-04-27 00:06:53 +0200 message: Renaming to Alarm Clock ------------------------------------------------------------ revno: 87 committer: joh timestamp: Sun 2008-04-20 20:09:36 +0000 message: Fixed repeat alarm system. Should work as expected now. ------------------------------------------------------------ revno: 86 committer: joh timestamp: Sun 2008-04-20 16:08:07 +0000 message: Fixed a bug with AlarmRepeat where the repeat timestamp was wrongly calculated. Week now starts on SUN=0 and ends on SAT=6 to be more compatible with mktime. ------------------------------------------------------------ revno: 85 committer: joh timestamp: Sat 2008-04-12 15:35:19 +0000 message: Alarm repetition implemented! Usability problem: What should happen if user changes repeat settings while the alarm repetition is running? ------------------------------------------------------------ revno: 84 committer: joh timestamp: Sat 2008-04-05 21:38:02 +0000 message: Fixed THE bug where the applet would segfault if the AlarmSettingsDialog was freed when the dialog was closed. This was due to the fact that the previous signal handlers (notify on alarm) were never disconnected and were passed the old dialog struct when the alarm was changed. This is now fixed both in the dialog and alarm_bind() ------------------------------------------------------------ revno: 83 committer: joh timestamp: Sat 2008-04-05 00:16:40 +0000 message: alarm.c: Alarm "repeat" property implemented. edit-alarm.c: Interface updated to handle the new "repeat" property. ------------------------------------------------------------ revno: 82 committer: joh timestamp: Thu 2008-04-03 10:56:54 +0000 message: alarm.c: Added the "player_changed" signal. alarms-list.c: Added an icon to indicate that the alarm is playing a sound. ui.c: Added a more descriptive tooltip. ------------------------------------------------------------ revno: 81 committer: joh timestamp: Wed 2008-04-02 23:40:04 +0000 message: alarm_applet_clear_alarms() implemented. ------------------------------------------------------------ revno: 80 committer: joh timestamp: Wed 2008-04-02 23:18:40 +0000 message: alarm.c: Fixed a bug where the alarm time would not get updated on TIMER alarms if the alarm was already active when the timer property got updated. alarm-applet: Added tooltips to applet. ------------------------------------------------------------ revno: 79 committer: joh timestamp: Wed 2008-04-02 22:15:07 +0000 message: alarm.c: Fixed a bug where the "time" field would not get updated if an alarm is active and the type changes from clock to timer. Added upcoming alarm feature to the alarm label. ------------------------------------------------------------ revno: 78 committer: joh timestamp: Mon 2008-03-31 22:48:00 +0000 message: Fixed a bug where associated schemas would prevent an alarm from getting deleted. ------------------------------------------------------------ revno: 77 committer: joh timestamp: Mon 2008-03-31 22:33:09 +0000 message: Schemas now applied properly to applet & alarms. ------------------------------------------------------------ revno: 76 committer: joh timestamp: Mon 2008-03-31 21:28:16 +0000 message: Applet is now properly destroyed when it is removed from the panel. The apps list is now successfully loaded at startup. AlarmApplet struct is now allocated and filled with 0's instead of assigning each field to NULL. ------------------------------------------------------------ revno: 75 committer: joh timestamp: Sun 2008-03-30 22:21:49 +0000 message: Added a destroy function for alarm_applet. Unfortunately this is never called because I can't figure out which signal is emmited when the applet is removed from the panel. ------------------------------------------------------------ revno: 74 committer: joh timestamp: Sun 2008-03-30 21:43:48 +0000 message: alarm-list: Callback args are now free'd properly ------------------------------------------------------------ revno: 73 committer: joh timestamp: Thu 2008-03-27 18:51:51 +0000 message: Fixed a bug which caused a segfault where alarm_clear() would try to free a non-existing notify object. Minor cleanups. ------------------------------------------------------------ revno: 72 committer: joh timestamp: Tue 2008-03-25 15:50:17 +0000 message: alarms-list.c: Fixed a bug where the timer callback would not get removed when the list alarms dialog closes. alarm.c: Fixed a bug where the alarm timer would not get started if the alarm was active in gconf. ------------------------------------------------------------ revno: 71 committer: joh timestamp: Tue 2008-03-25 15:27:13 +0000 message: Fixed a bug where the notification bubble object would be tried freed when it doesn't exist. ------------------------------------------------------------ revno: 70 committer: joh timestamp: Tue 2008-03-25 15:23:09 +0000 message: Renamed all GConf-mapped properties to have underscores (_) instead of dashes (-) to confirm to GConf policies. ------------------------------------------------------------ revno: 69 committer: joh timestamp: Tue 2008-03-25 15:19:05 +0000 message: Notification bubble implemented. ------------------------------------------------------------ revno: 68 committer: joh timestamp: Tue 2008-03-25 14:54:16 +0000 message: Adding an alarm now assigns the sound-file and command properties to the first one found in the stock sounds / apps list. ------------------------------------------------------------ revno: 67 committer: joh timestamp: Mon 2008-03-24 23:31:22 +0000 message: Fixed a bug where a double g_error_free() would occur. ------------------------------------------------------------ revno: 66 committer: joh timestamp: Mon 2008-03-24 23:14:43 +0000 message: MAJOR code cleanup. - Removed all old stuff - Replaced various (non-working) functions with stubs. ------------------------------------------------------------ revno: 65 committer: joh timestamp: Mon 2008-03-24 00:19:22 +0000 message: Will now close any open AlarmSettingsDialog if the referenced alarm is deleted. Will now present an already open AlarmSettingsDialog instead of creating a new one. list_alarms_update(): Fixed a bug where the alarm_changed notify handler would not get disconnected. ------------------------------------------------------------ revno: 64 committer: joh timestamp: Sun 2008-03-23 23:16:32 +0000 message: alarm-applet.glade: Set a desired width of the GtkScrolledWindow which contains the alarms list. alarms-list.c: Added notification handler for all alarms which then notifies of model change. ------------------------------------------------------------ revno: 63 committer: joh timestamp: Sun 2008-03-23 21:55:18 +0000 message: Alarm add & delete redesigned. - Delete now works properly. - External add & deletes now supported. - Alarm references controlled properly. ------------------------------------------------------------ revno: 62 committer: joh timestamp: Sat 2008-03-22 15:42:04 +0000 message: Add alarm now updates list of alarms. Delete alarm does not yet update the list properly. ------------------------------------------------------------ revno: 61 committer: joh timestamp: Thu 2008-03-20 18:22:36 +0000 message: App/command notification implemented & tested. ------------------------------------------------------------ revno: 60 committer: joh timestamp: Wed 2008-03-12 20:28:28 +0000 message: Sound notification now implemented in GUI. alarm.c: Added alarm_clear() for stopping an active MediaPlayer. ------------------------------------------------------------ revno: 59 committer: joh timestamp: Wed 2008-03-12 01:44:18 +0000 message: Getting closer. In progress: Stock sounds & sounds combo box. ------------------------------------------------------------ revno: 58 committer: joh timestamp: Wed 2008-03-12 01:40:16 +0000 message: Missing libgnomeui header inclusion which resulted in segfaults on gnome_icon_lookup on 64bit systems. ------------------------------------------------------------ revno: 57 committer: joh timestamp: Tue 2008-03-11 20:34:02 +0000 message: (no message) ------------------------------------------------------------ revno: 56 committer: joh timestamp: Mon 2008-02-25 23:02:57 +0000 message: Sometimes segfaults on alarm_time(r)_changed. - Typically when multiple settings dialogs have been created / destroyed. ------------------------------------------------------------ revno: 55 committer: joh timestamp: Mon 2008-02-25 21:46:50 +0000 message: First part of the add alarm dialog in a working state. ------------------------------------------------------------ revno: 54 committer: joh timestamp: Mon 2008-02-18 21:54:24 +0000 message: Better 16x16 icon. GLADE updated to include scrollarea and treeview. ------------------------------------------------------------ revno: 53 committer: joh timestamp: Mon 2008-02-18 20:22:07 +0000 message: New timer icon! ------------------------------------------------------------ revno: 52 committer: joh timestamp: Mon 2008-02-18 00:21:39 +0000 message: List-alarms dialog response implemented. The activate check box now only updates the alarm time if it's of type CLOCK. Setting the "active" property of a TIMER will update this automatically. - Is this what we want? What about the cases when there was a timer running while the computer shut down? ------------------------------------------------------------ revno: 51 committer: joh timestamp: Sun 2008-02-17 23:03:22 +0000 message: 2 utility functions added to Alarm: - alarm_set_time() for generating a timestamp in the future given hour, min, sec. - alarm_update_time() which updates the current time to one in the future according to the hour, min and secs in the previous one. ------------------------------------------------------------ revno: 50 committer: joh timestamp: Sun 2008-02-17 22:07:44 +0000 message: Mockup timer icon added. Alarm list dialog in the making. ------------------------------------------------------------ revno: 49 committer: joh timestamp: Mon 2008-01-28 05:23:26 +0000 message: Edit-alarm dialog in the making. glade_view tool for quickly viewing glade files. ------------------------------------------------------------ revno: 48 committer: joh timestamp: Mon 2008-01-28 03:48:15 +0000 message: Code commenting. ------------------------------------------------------------ revno: 47 committer: joh timestamp: Mon 2008-01-28 03:47:35 +0000 message: Fixed a bug where the show_label setting would not take affect on startup. ------------------------------------------------------------ revno: 46 committer: joh timestamp: Wed 2008-01-23 19:21:12 +0000 message: Test utilities added. Alarm type TIMER will update the "time" property when activated to the current time + the value of the "timer" property. ------------------------------------------------------------ revno: 45 committer: joh timestamp: Tue 2008-01-22 14:07:32 +0000 message: Added the "timer" property for storing the settings of the timer alarm type. ------------------------------------------------------------ revno: 44 committer: joh timestamp: Sun 2008-01-13 23:34:25 +0000 message: Command notification implemented & tested. ------------------------------------------------------------ revno: 43 committer: joh timestamp: Sun 2008-01-13 23:28:23 +0000 message: Error signal implemented & tested. Sound notification implemented & tested. ------------------------------------------------------------ revno: 42 committer: joh timestamp: Sat 2008-01-12 23:17:35 +0000 message: Alarm timer implemented & tested. ------------------------------------------------------------ revno: 41 committer: joh timestamp: Fri 2008-01-11 19:54:31 +0000 message: "alarm" signal implemented and tested. ------------------------------------------------------------ revno: 40 committer: joh timestamp: Sat 2008-01-05 01:52:42 +0000 message: alarm_get_list implemented. ------------------------------------------------------------ revno: 39 committer: joh timestamp: Sat 2008-01-05 00:53:58 +0000 message: Alarm class not fully functional. ------------------------------------------------------------ revno: 38 committer: joh timestamp: Wed 2008-01-02 02:54:38 +0000 message: configure.ac: Added GConf library version check alarm.[ch]: New alarm API - supports multiple alarms. ------------------------------------------------------------ revno: 37 committer: joh timestamp: Thu 2007-12-27 05:57:32 +0000 message: (no message) ------------------------------------------------------------ revno: 36 committer: joh timestamp: Thu 2007-12-27 05:23:43 +0000 message: Support different panel orientations and sizes. ------------------------------------------------------------ revno: 35 committer: joh timestamp: Wed 2007-12-26 23:33:20 +0000 message: New icons! Thanks to Lasse Gullvåg Sætre. ------------------------------------------------------------ revno: 34 tags: 0.1.1 committer: joh timestamp: Wed 2007-12-26 15:26:58 +0000 message: 0.1.1 bugfix release ------------------------------------------------------------ revno: 33 committer: joh timestamp: Wed 2007-12-26 14:48:05 +0000 message: Preferences Dialog: - Add tooltip which explains why the notification bubble check-box is disabled when libnotify isn't present. ------------------------------------------------------------ revno: 32 committer: joh timestamp: Wed 2007-12-26 14:44:32 +0000 message: More robust handling of GConf settings. Provide more sensible GConf defaults. ------------------------------------------------------------ revno: 31 committer: joh timestamp: Wed 2007-12-26 03:33:01 +0000 message: - Added a more robust system for handling gconf keys. This fixes a bug which causes the applet to crash if the schema isn't installed. - Fixed a bug where the command entry would be unsensitive even if a custom command is set in gconf. - Set window icons to the dialogs in alarm-applet.glade ------------------------------------------------------------ revno: 30 committer: joh timestamp: Mon 2007-12-24 02:32:47 +0000 message: Add About dialog. ------------------------------------------------------------ revno: 29 committer: joh timestamp: Mon 2007-12-24 01:29:20 +0000 message: make dist work ------------------------------------------------------------ revno: 28 committer: joh timestamp: Mon 2007-12-24 00:41:02 +0000 message: Add tooltip. ------------------------------------------------------------ revno: 27 committer: joh timestamp: Mon 2007-12-24 00:18:18 +0000 message: Add support for notification bubbles with libnotify. ------------------------------------------------------------ revno: 26 committer: joh timestamp: Fri 2007-12-21 19:41:57 +0000 message: prefs.c: - Added hard-coded command-map for apps. Should ideally be in some XML file. - Added app-detection to the app-combo ------------------------------------------------------------ revno: 25 committer: joh timestamp: Fri 2007-12-21 10:24:14 +0000 message: ui.c: Add support for panel background. ------------------------------------------------------------ revno: 24 committer: joh timestamp: Fri 2007-12-21 10:14:08 +0000 message: Some more code migration. ------------------------------------------------------------ revno: 23 committer: joh timestamp: Fri 2007-12-21 10:03:02 +0000 message: UI and Preferences code moved to ui.c and prefs.c ------------------------------------------------------------ revno: 22 committer: joh timestamp: Sat 2007-12-15 01:12:05 +0000 message: alarm-applet.c: GConf abstracted to alarm-gconf.c ------------------------------------------------------------ revno: 21 committer: joh timestamp: Fri 2007-12-14 22:29:29 +0000 message: alarm-applet.c: Use list-entry.o ------------------------------------------------------------ revno: 20 committer: joh timestamp: Fri 2007-12-14 14:28:48 +0000 message: Utilities and AlarmListEntry moved to separate modules. alarm-applet.c: Use util.o ------------------------------------------------------------ revno: 19 committer: joh timestamp: Fri 2007-12-07 17:14:10 +0000 message: (no message) ------------------------------------------------------------ revno: 18 committer: joh timestamp: Fri 2007-12-07 17:13:55 +0000 message: Move tests to src/tests ------------------------------------------------------------ revno: 17 committer: joh timestamp: Wed 2007-12-05 02:47:29 +0000 message: alarm-applet.c: - Modified to use MediaPlayer. - ( More modularization coming up ) ------------------------------------------------------------ revno: 16 committer: joh timestamp: Wed 2007-12-05 02:05:18 +0000 message: Linking per-binary added. ------------------------------------------------------------ revno: 15 committer: joh timestamp: Wed 2007-12-05 02:01:56 +0000 message: Updated to compile test_player ------------------------------------------------------------ revno: 14 committer: joh timestamp: Wed 2007-12-05 02:00:46 +0000 message: Simple test program for the media player. ------------------------------------------------------------ revno: 13 committer: joh timestamp: Wed 2007-12-05 02:00:25 +0000 message: Media player abstraction! ------------------------------------------------------------ revno: 12 committer: joh timestamp: Mon 2007-12-03 00:18:51 +0000 message: Added a test app-list. Should parse from gnome-default-applications.xml in the future. - Fixed a bug due to Glade adding an empty text renderer to the app-combo. ------------------------------------------------------------ revno: 11 committer: joh timestamp: Sun 2007-12-02 00:11:52 +0000 message: svn:ignore updated. ------------------------------------------------------------ revno: 10 committer: joh timestamp: Sun 2007-12-02 00:10:16 +0000 message: Extra icon sizes. ------------------------------------------------------------ revno: 9 committer: joh timestamp: Sun 2007-12-02 00:09:56 +0000 message: icons: - SVG size updated to contain the entire icon. alarm-applet.c: - Removed redundant GtkIconTheme pointer. ------------------------------------------------------------ revno: 8 committer: joh timestamp: Sat 2007-12-01 19:34:30 +0000 message: alarm-applet.c: - destroy_cb bug fixed: Invalid signal handler for "destroy" signal. Was casting the GtkObject to AlarmApplet. DUH! ------------------------------------------------------------ revno: 7 committer: joh timestamp: Sat 2007-12-01 18:38:11 +0000 message: Makefile.am: - Icons added for installation. alarm-clock.c: - Checks for valid gconf settings added to gconf callbacks. - BUG: Crashes on destroy_cb() ------------------------------------------------------------ revno: 6 committer: joh timestamp: Thu 2007-11-29 22:52:57 +0000 message: Working autotoolized. ------------------------------------------------------------ revno: 5 committer: joh timestamp: Thu 2007-11-29 22:44:37 +0000 message: Code reorganization. ------------------------------------------------------------ revno: 4 committer: joh timestamp: Wed 2007-11-28 22:40:19 +0000 message: Autoconfig stuff, not working yet. ------------------------------------------------------------ revno: 3 committer: joh timestamp: Wed 2007-11-28 18:23:45 +0000 message: svn:ignores ------------------------------------------------------------ revno: 2 committer: joh timestamp: Wed 2007-11-28 18:19:58 +0000 message: alarm-applet.h: - Use /usr/share/sounds for standard sounds directory. ------------------------------------------------------------ revno: 1 committer: joh timestamp: Tue 2007-11-27 20:21:04 +0000 message: Initial import. - Timer works, timestamp based. - GConf works, although second notification often is redundant. - Different labels works. - Notification by sound works. - Custom sounds works. - TODO: - Notification by commands - Standard application list (Rhythmbox, etc.) - Notification bubble (libnotify) ------------------------------------------------------------ Use --include-merged or -n0 to see merged revisions. alarm-clock-applet-0.3.3/INSTALL0000644000175000017500000000007311215023012013122 00000000000000 Please see the README file for installation instructions. alarm-clock-applet-0.3.3/intltool-update.in0000644000175000017500000000000011642404313015546 00000000000000alarm-clock-applet-0.3.3/install-sh0000755000175000017500000003253711751513467014136 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: