diff -Nru alacarte-3.10.0/acinclude.m4 alacarte-3.11.91/acinclude.m4 --- alacarte-3.10.0/acinclude.m4 2012-05-02 04:38:40.000000000 +1000 +++ alacarte-3.11.91/acinclude.m4 2014-02-08 03:04:52.000000000 +1100 @@ -11,9 +11,7 @@ # 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. +# along with this program; if not, see . # AM_PATH_PYTHON_VERSION(ABI-VERSION1, [MINIMUM-VERSION1 [, ABI-VERSION2, [MINIMUM-VERSION2 ...]]]) # diff -Nru alacarte-3.10.0/aclocal.m4 alacarte-3.11.91/aclocal.m4 --- alacarte-3.10.0/aclocal.m4 2013-09-25 03:08:34.000000000 +1000 +++ alacarte-3.11.91/aclocal.m4 2014-03-04 00:02:13.000000000 +1100 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.13.4 -*- Autoconf -*- +# generated automatically by aclocal 1.14.1 -*- Autoconf -*- # Copyright (C) 1996-2013 Free Software Foundation, Inc. @@ -20,2208 +20,2301 @@ 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'.])]) -# Copyright (C) 2002-2013 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. - -# 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.13' -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.13.4], [], - [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.13.4])dnl -m4_ifndef([AC_AUTOCONF_VERSION], - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) +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 -# AM_AUX_DIR_EXPAND -*- Autoconf -*- +case "$am__api_version" in + 1.[01234]) + AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) + ;; + *) + ;; +esac -# Copyright (C) 2001-2013 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. +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 -# 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_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 -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` -]) +if test -z "$AM_DEFAULT_VERBOSITY"; then + AM_DEFAULT_VERBOSITY=1 +fi +AC_SUBST([AM_DEFAULT_VERBOSITY]) -# AM_CONDITIONAL -*- Autoconf -*- +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) -# Copyright (C) 1997-2013 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. +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) -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ([2.52])dnl - m4_if([$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='#' + 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 - $1_TRUE='#' - $1_FALSE= + 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 -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-2013 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. + 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) -# 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... +# 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 -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". -# 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 +# Substitute ALL_LINGUAS so we can use it in po/Makefile +AC_SUBST(ALL_LINGUAS) -m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], - [$1], [CXX], [depcc="$CXX" am_compiler_list=], - [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], [OBJCXX], [depcc="$OBJCXX" 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=]) +# 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) -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 +IT_PO_SUBDIR([po]) - 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 10 /bin/sh. - echo '/* dummy */' > 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 +# 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 - 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]) + 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])]) +] +) -# 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 -]) +# 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], ...) -# AM_DEP_TRACK -# ------------ -AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE([dependency-tracking], [dnl -AS_HELP_STRING( - [--enable-dependency-tracking], - [do not reject slow dependency extractors]) -AS_HELP_STRING( - [--disable-dependency-tracking], - [speeds up one-time build])]) -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 -]) +# nls.m4 serial 5 (gettext-0.18) +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 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. -# Generate code to set up dependency tracking. -*- Autoconf -*- +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. -# Copyright (C) 1999-2013 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. +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]) +]) -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[{ - # Older Autoconf 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"` - # 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'`; 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 +# 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]) -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. +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]) # -# 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"]) -]) +# 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]) -# Do all the work for Automake. -*- Autoconf -*- +# _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 -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# _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]) # -# 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. +# +# 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 -# 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. +pkg_failed=no +AC_MSG_CHECKING([for $1]) -# 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.65])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 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) -# 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]) +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.]) -# Define the identity of the package. -dnl Distinguish between old-style and new-style calls. -m4_ifval([$2], -[AC_DIAGNOSE([obsolete], - [$0: two- and three-arguments forms are deprecated.]) -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], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), - [ok:ok],, - [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 +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 -_AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) - AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: -# 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([AC_PROG_MKDIR_P])dnl -# For better backward compatibility. To be removed once Automake 1.9.x -# dies out for good. For more background, see: -# -# -AC_SUBST([mkdir_p], ['$(MKDIR_P)']) -# 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])], - [m4_define([AC_PROG_CC], - m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES([CXX])], - [m4_define([AC_PROG_CXX], - m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES([OBJC])], - [m4_define([AC_PROG_OBJC], - m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl -AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], - [_AM_DEPENDENCIES([OBJCXX])], - [m4_define([AC_PROG_OBJCXX], - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl -]) -AC_REQUIRE([AM_SILENT_RULES])dnl -dnl The testsuite driver may need to know about EXEEXT, so add the -dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This -dnl macro 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 -]) +$$1_PKG_ERRORS -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])]) +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. -# 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. +_PKG_TEXT -# 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]) +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) 2001-2013 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. -# 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])]) +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR -# Copyright (C) 2003-2013 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. -# 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])]) +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR -# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- -# From Jim Meyering -# Copyright (C) 1996-2013 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. +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# ------------------------------------------- +# Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl -# 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], - [AS_HELP_STRING([--]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 -] -) +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) -# Check to see how 'make' treats includes. -*- Autoconf -*- +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])# PKG_CHECK_VAR -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 1995-2002 Free Software Foundation, Inc. +# Copyright (C) 2001-2003,2004 Red Hat, 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. - -# 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-2013 Free Software Foundation, 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 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. - -# 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 is modern enough. -# If it is, 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 --is-lightweight"; then - am_missing_run="$MISSING " -else - am_missing_run= - AC_MSG_WARN(['missing' script is too old or missing]) -fi -]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# 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. # -# 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. - -# _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])]) - -# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995, 1996 # -# 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. - - -# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# --------------------------------------------------------------------------- -# Adds support for distributing Python modules and packages. To -# install modules, copy them to $(pythondir), using the python_PYTHON -# automake variable. To install a package with the same name as the -# automake package, install to $(pkgpythondir), or use the -# pkgpython_PYTHON automake variable. +# Modified to never use included libintl. +# Owen Taylor , 12/15/1998 # -# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as -# locations to install python extension modules (shared libraries). -# Another macro is required to find the appropriate flags to compile -# extension modules. +# Major rework to remove unused code +# Owen Taylor , 12/11/2002 # -# If your package is configured with a different prefix to python, -# users will have to add the install directory to the PYTHONPATH -# environment variable, or create a .pth file (see the python -# documentation for details). +# Added better handling of ALL_LINGUAS from GNU gettext version +# written by Bruno Haible, Owen Taylor 5/30/3002 # -# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will -# cause an error if the version of python installed on the system -# doesn't meet the requirement. MINIMUM-VERSION should consist of -# numbers and dots only. -AC_DEFUN([AM_PATH_PYTHON], - [ - dnl Find a Python interpreter. Python versions prior to 2.0 are not - dnl supported. (2.0 was released on October 16, 2000). - m4_define_default([_AM_PYTHON_INTERPRETER_LIST], -[python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 dnl - python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0]) +# 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) - AC_ARG_VAR([PYTHON], [the Python interpreter]) +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 - m4_if([$1],[],[ - dnl No version check is needed. - # Find any Python interpreter. - if test -z "$PYTHON"; then - AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) +# 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 - am_display_PYTHON=python - ], [ - dnl A version check is needed. - if test -n "$PYTHON"; then - # If the user set $PYTHON, use it and don't search something else. - AC_MSG_CHECKING([whether $PYTHON version is >= $1]) - AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], - [AC_MSG_RESULT([yes])], - [AC_MSG_RESULT([no]) - AC_MSG_ERROR([Python interpreter is too old])]) - am_display_PYTHON=$PYTHON - else - # Otherwise, try each interpreter until we find one that satisfies - # VERSION. - AC_CACHE_CHECK([for a Python interpreter with version >= $1], - [am_cv_pathless_PYTHON],[ - for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do - test "$am_cv_pathless_PYTHON" = none && break - AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) - done]) - # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. - if test "$am_cv_pathless_PYTHON" = none; then - PYTHON=: - else - AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) + 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 - am_display_PYTHON=$am_cv_pathless_PYTHON fi - ]) - - if test "$PYTHON" = :; then - dnl Run any user-specified action, or abort. - m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) - else - - dnl Query Python for its version number. Getting [:3] seems to be - dnl the best way to do this; it's what "site.py" does in the standard - dnl library. - - AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], - [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) - AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) - - dnl Use the values of $prefix and $exec_prefix for the corresponding - dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made - dnl distinct variables so they can be overridden if need be. However, - dnl general consensus is that you shouldn't need this ability. - - AC_SUBST([PYTHON_PREFIX], ['${prefix}']) - AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) - - dnl At times (like when building shared libraries) you may want - dnl to know which OS platform Python thinks this is. - - AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], - [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) - AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) + 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 +]) - # Just factor out some code duplication. - am_python_setup_sysconfig="\ -import sys -# Prefer sysconfig over distutils.sysconfig, for better compatibility -# with python 3.x. See automake bug#10227. -try: - import sysconfig -except ImportError: - can_use_sysconfig = 0 -else: - can_use_sysconfig = 1 -# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: -# -try: - from platform import python_implementation - if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7': - can_use_sysconfig = 0 -except ImportError: - pass" +# GLIB_WITH_NLS +#----------------- +glib_DEFUN([GLIB_WITH_NLS], + dnl NLS is obligatory + [USE_NLS=yes + AC_SUBST(USE_NLS) - dnl Set up 4 directories: + gt_cv_have_gettext=no - dnl pythondir -- where to install python scripts. This is the - dnl site-packages directory, not the python standard library - dnl directory like in previous automake betas. This behavior - dnl is more consistent with lispdir.m4 for example. - dnl Query distutils for this directory. - AC_CACHE_CHECK([for $am_display_PYTHON script directory], - [am_cv_python_pythondir], - [if test "x$prefix" = xNONE - then - am_py_prefix=$ac_default_prefix - else - am_py_prefix=$prefix - fi - am_cv_python_pythondir=`$PYTHON -c " -$am_python_setup_sysconfig -if can_use_sysconfig: - sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) -else: - from distutils import sysconfig - sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') -sys.stdout.write(sitedir)"` - case $am_cv_python_pythondir in - $am_py_prefix*) - am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` - am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` - ;; - *) - case $am_py_prefix in - /usr|/System*) ;; - *) - am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages - ;; - esac - ;; - esac - ]) - AC_SUBST([pythondir], [$am_cv_python_pythondir]) + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= - dnl pkgpythondir -- $PACKAGE directory under pythondir. Was - dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is - dnl more consistent with the rest of automake. + AC_CHECK_HEADER(libintl.h, + [gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" - AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) + # + # 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 - dnl pyexecdir -- directory for installing python extension modules - dnl (shared libraries) - dnl Query distutils for this directory. - AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], - [am_cv_python_pyexecdir], - [if test "x$exec_prefix" = xNONE - then - am_py_exec_prefix=$am_py_prefix - else - am_py_exec_prefix=$exec_prefix - fi - am_cv_python_pyexecdir=`$PYTHON -c " -$am_python_setup_sysconfig -if can_use_sysconfig: - sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) -else: - from distutils import sysconfig - sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') -sys.stdout.write(sitedir)"` - case $am_cv_python_pyexecdir in - $am_py_exec_prefix*) - am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` - am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` - ;; - *) - case $am_py_exec_prefix in - /usr|/System*) ;; - *) - am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages - ;; - esac - ;; - esac - ]) - AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) + # + # 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)])]) - dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) + 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 - AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) + # + # 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" - dnl Run any user-specified action. - $2 - fi + 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 -# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) -# --------------------------------------------------------------------------- -# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. -# Run ACTION-IF-FALSE otherwise. -# This test uses sys.hexversion instead of the string equivalent (first -# word of sys.version), in order to cope with versions such as 2.2c1. -# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). -AC_DEFUN([AM_PYTHON_CHECK_VERSION], - [prog="import sys -# split strings by '.' and convert to numeric. Append some zeros -# because we need at least 4 digits for the hex conversion. -# map returns an iterator in Python 3.0 and a list in 2.x -minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] -minverhex = 0 -# xrange is not present in Python 3.0 and range returns an iterator -for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] -sys.exit(sys.hexversion < minverhex)" - AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) + 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 -# Copyright (C) 2001-2013 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. + # We need to process the po/ directory. + POSUB=po -# AM_RUN_LOG(COMMAND) -# ------------------- -# Run COMMAND, save the exit status in ac_status, and log it. -# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) -AC_DEFUN([AM_RUN_LOG], -[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD - ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - (exit $ac_status); }]) + AC_OUTPUT_COMMANDS( + [case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac]) -# Check to make sure that the build environment is sane. -*- Autoconf -*- + 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 -# Copyright (C) 1996-2013 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. + 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_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# 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 +# 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 + + GLIB_LC_MESSAGES + GLIB_WITH_NLS -# 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 ( - am_has_slept=no - for am_try in 1 2; do - echo "timestamp, slept: $am_has_slept" > conftest.file - 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` + 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 - 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]) + 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 - if test "$[2]" = conftest.file || test $am_try -eq 2; then - break + 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 - # Just in case. - sleep 1 - am_has_slept=yes - done - test "$[2]" = conftest.file - ) -then - # Ok. - : + 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 - AC_MSG_ERROR([newly created file is older than distributed files! -Check your system clock]) -fi -AC_MSG_RESULT([yes]) -# If we didn't sleep, we still need to ensure time stamps of config.status and -# generated files are strictly newer. -am_sleep_pid= -if grep 'slept: no' conftest.file >/dev/null 2>&1; then - ( sleep 1 ) & - am_sleep_pid=$! + localedir=`eval echo "${datadir}/locale"` fi -AC_CONFIG_COMMANDS_PRE( - [AC_MSG_CHECKING([that generated files are newer than configure]) - if test -n "$am_sleep_pid"; then - # Hide warnings about reused PIDs. - wait $am_sleep_pid 2>/dev/null - fi - AC_MSG_RESULT([done])]) -rm -f conftest.file +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]) ]) -# Copyright (C) 2009-2013 Free Software Foundation, Inc. +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]) + + +# Copyright (C) 2002-2013 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. -# 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], [dnl -AS_HELP_STRING( - [--enable-silent-rules], - [less verbose build output (undo: "make V=1")]) -AS_HELP_STRING( - [--disable-silent-rules], - [verbose build output (undo: "make V=0")])dnl -]) -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 +# 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.14' +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.14.1], [], + [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.14.1])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-2013 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. -# 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])]) +# 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` +]) -# Copyright (C) 2006-2013 Free Software Foundation, Inc. +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2013 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. -# _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 -*- +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$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) 2004-2013 Free Software Foundation, Inc. +# Copyright (C) 1999-2013 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. -# _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}']) -# We'll loop over all known methods to create a tar archive until one works. -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +# 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... -m4_if([$1], [v7], - [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], - [m4_case([$1], - [ustar], - [# The POSIX 1988 'ustar' format is defined with fixed-size fields. - # There is notably a 21 bits limit for the UID and the GID. In fact, - # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 - # and bug#13588). - am_max_uid=2097151 # 2^21 - 1 - am_max_gid=$am_max_uid - # The $UID and $GID variables are not portable, so we need to resort - # to the POSIX-mandated id(1) utility. Errors in the 'id' calls - # below are definitely unexpected, so allow the users to see them - # (that is, avoid stderr redirection). - am_uid=`id -u || echo unknown` - am_gid=`id -g || echo unknown` - AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) - if test $am_uid -le $am_max_uid; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - _am_tools=none - fi - AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) - if test $am_gid -le $am_max_gid; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - _am_tools=none - fi], +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". +# 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 - [pax], - [], +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" 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=]) - [m4_fatal([Unknown tar format])]) +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 - AC_MSG_CHECKING([how to create a $1 tar archive]) + 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]) - # Go ahead even if we have the value already cached. We do so because we - # need to set the values for the 'am__tar' and 'am__untar' variables. - _am_tools=${am_cv_prog_tar_$1-$_am_tools} + 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 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - 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' + # 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 ;; - 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' + 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 ;; - none) - am__tar=false - am__tar_=false - am__untar=false + 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 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 + 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 - 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 + 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]) +]) -# nls.m4 serial 5 (gettext-0.18) -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 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. +# 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 +]) -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]) +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) +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 ]) -# 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. +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # -# 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 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. -# 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 +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Older Autoconf 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"` + # 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'`; 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 -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. # -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# 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-2013 Free Software Foundation, Inc. # -# 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]) +# 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. -# _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 +# 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. -# _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 +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define([AC_PROG_CC], +m4_defn([AC_PROG_CC]) +[_AM_PROG_CC_C_O +]) + +# 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.65])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]) -# 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 +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +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], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [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 -pkg_failed=no -AC_MSG_CHECKING([for $1]) +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) +# 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([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# 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])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro 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 -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.]) +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. -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 +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. - m4_default([$4], [AC_MSG_ERROR( -[Package requirements ($2) were not met: +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . -$$1_PKG_ERRORS +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. +END + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) + fi +fi]) -_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. +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])]) -_PKG_TEXT +# 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. -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 +# 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-2013 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. -# PKG_INSTALLDIR(DIRECTORY) -# ------------------------- -# Substitutes the variable pkgconfigdir as the location where a module -# should install pkg-config .pc files. By default the directory is -# $libdir/pkgconfig, but the default can be changed by passing -# DIRECTORY. The user can override through the --with-pkgconfigdir -# parameter. -AC_DEFUN([PKG_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([pkgconfigdir], - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, - [with_pkgconfigdir=]pkg_default) -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -]) dnl PKG_INSTALLDIR +# 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-2013 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. -# PKG_NOARCH_INSTALLDIR(DIRECTORY) -# ------------------------- -# Substitutes the variable noarch_pkgconfigdir as the location where a -# module should install arch-independent pkg-config .pc files. By -# default the directory is $datadir/pkgconfig, but the default can be -# changed by passing DIRECTORY. The user can override through the -# --with-noarch-pkgconfigdir parameter. -AC_DEFUN([PKG_NOARCH_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([noarch-pkgconfigdir], - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, - [with_noarch_pkgconfigdir=]pkg_default) -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -]) dnl PKG_NOARCH_INSTALLDIR +# 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 -# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, -# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# ------------------------------------------- -# Retrieves the value of the pkg-config variable for the given module. -AC_DEFUN([PKG_CHECK_VAR], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl +# Copyright (C) 1996-2013 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. -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) -AS_VAR_COPY([$1], [pkg_cv_][$1]) +# 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], + [AS_HELP_STRING([--]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 +] +) -AS_VAR_IF([$1], [""], [$5], [$4])dnl -])# PKG_CHECK_VAR +# Check to see how 'make' treats includes. -*- Autoconf -*- -# 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 +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # -# 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]) +# 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. -# 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 +# 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])dnl -$1="$ac_cv_path_$1" -if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then - AC_MSG_RESULT([$]$1) -else - AC_MSG_RESULT(no) +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($1)dnl +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf ]) -# GLIB_WITH_NLS -#----------------- -glib_DEFUN([GLIB_WITH_NLS], - dnl NLS is obligatory - [USE_NLS=yes - AC_SUBST(USE_NLS) - - gt_cv_have_gettext=no +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - CATOBJEXT=NONE - XGETTEXT=: - INTLLIBS= +# Copyright (C) 1997-2013 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. - AC_CHECK_HEADER(libintl.h, - [gt_cv_func_dgettext_libintl="no" - libintl_extra_libs="" +# 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)]) - # - # 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 +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, 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 --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +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)])]) +# Helper functions for option handling. -*- Autoconf -*- - 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 +# Copyright (C) 2001-2013 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. - # - # 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" +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - 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 +# _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])]) - 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 - ]) +# _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)])]) - if test "$gt_cv_have_gettext" = "yes" ; then - AC_DEFINE(ENABLE_NLS, 1, - [always defined to indicate that i18n is enabled]) - fi +# _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])]) - 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 +# Copyright (C) 1999-2013 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. + +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN([_AM_PROG_CC_C_O], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +AC_LANG_PUSH([C])dnl +AC_CACHE_CHECK( + [whether $CC understands -c and -o together], + [am_cv_prog_cc_c_o], + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break fi + done + rm -f core conftest* + unset am_i]) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP([C])]) - # We need to process the po/ directory. - POSUB=po +# For backward compatibility. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) - AC_OUTPUT_COMMANDS( - [case "$CONFIG_FILES" in *po/Makefile.in*) - sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile - esac]) +# Copyright (C) 1999-2013 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. - 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_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# --------------------------------------------------------------------------- +# Adds support for distributing Python modules and packages. To +# install modules, copy them to $(pythondir), using the python_PYTHON +# automake variable. To install a package with the same name as the +# automake package, install to $(pkgpythondir), or use the +# pkgpython_PYTHON automake variable. +# +# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as +# locations to install python extension modules (shared libraries). +# Another macro is required to find the appropriate flags to compile +# extension modules. +# +# If your package is configured with a different prefix to python, +# users will have to add the install directory to the PYTHONPATH +# environment variable, or create a .pth file (see the python +# documentation for details). +# +# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will +# cause an error if the version of python installed on the system +# doesn't meet the requirement. MINIMUM-VERSION should consist of +# numbers and dots only. +AC_DEFUN([AM_PATH_PYTHON], + [ + dnl Find a Python interpreter. Python versions prior to 2.0 are not + dnl supported. (2.0 was released on October 16, 2000). + m4_define_default([_AM_PYTHON_INTERPRETER_LIST], +[python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 dnl + python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0]) + + AC_ARG_VAR([PYTHON], [the Python interpreter]) + + m4_if([$1],[],[ + dnl No version check is needed. + # Find any Python interpreter. + if test -z "$PYTHON"; then + AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) + fi + am_display_PYTHON=python + ], [ + dnl A version check is needed. + if test -n "$PYTHON"; then + # If the user set $PYTHON, use it and don't search something else. + AC_MSG_CHECKING([whether $PYTHON version is >= $1]) + AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], + [AC_MSG_RESULT([yes])], + [AC_MSG_RESULT([no]) + AC_MSG_ERROR([Python interpreter is too old])]) + am_display_PYTHON=$PYTHON + else + # Otherwise, try each interpreter until we find one that satisfies + # VERSION. + AC_CACHE_CHECK([for a Python interpreter with version >= $1], + [am_cv_pathless_PYTHON],[ + for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do + test "$am_cv_pathless_PYTHON" = none && break + AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) + done]) + # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. + if test "$am_cv_pathless_PYTHON" = none; then + PYTHON=: + else + AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) + fi + am_display_PYTHON=$am_cv_pathless_PYTHON + fi ]) -# 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 - - GLIB_LC_MESSAGES - GLIB_WITH_NLS + if test "$PYTHON" = :; then + dnl Run any user-specified action, or abort. + m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) + else - 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 Query Python for its version number. Getting [:3] seems to be + dnl the best way to do this; it's what "site.py" does in the standard + dnl library. - 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 + AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], + [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) + AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) - 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 Use the values of $prefix and $exec_prefix for the corresponding + dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made + dnl distinct variables so they can be overridden if need be. However, + dnl general consensus is that you shouldn't need this ability. - 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/" + AC_SUBST([PYTHON_PREFIX], ['${prefix}']) + AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) + + dnl At times (like when building shared libraries) you may want + dnl to know which OS platform Python thinks this is. + + AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], + [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) + AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) + + # Just factor out some code duplication. + am_python_setup_sysconfig="\ +import sys +# Prefer sysconfig over distutils.sysconfig, for better compatibility +# with python 3.x. See automake bug#10227. +try: + import sysconfig +except ImportError: + can_use_sysconfig = 0 +else: + can_use_sysconfig = 1 +# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: +# +try: + from platform import python_implementation + if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7': + can_use_sysconfig = 0 +except ImportError: + pass" + + dnl Set up 4 directories: + + dnl pythondir -- where to install python scripts. This is the + dnl site-packages directory, not the python standard library + dnl directory like in previous automake betas. This behavior + dnl is more consistent with lispdir.m4 for example. + dnl Query distutils for this directory. + AC_CACHE_CHECK([for $am_display_PYTHON script directory], + [am_cv_python_pythondir], + [if test "x$prefix" = xNONE + then + am_py_prefix=$ac_default_prefix else - posrcprefix="../$srcdir/" + am_py_prefix=$prefix 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]) -]) + am_cv_python_pythondir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pythondir in + $am_py_prefix*) + am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` + am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` + ;; + *) + case $am_py_prefix in + /usr|/System*) ;; + *) + am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + ]) + AC_SUBST([pythondir], [$am_cv_python_pythondir]) -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 + dnl pkgpythondir -- $PACKAGE directory under pythondir. Was + dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is + dnl more consistent with the rest of automake. -# 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]) + AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) + dnl pyexecdir -- directory for installing python extension modules + dnl (shared libraries) + dnl Query distutils for this directory. + AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], + [am_cv_python_pyexecdir], + [if test "x$exec_prefix" = xNONE + then + am_py_exec_prefix=$am_py_prefix + else + am_py_exec_prefix=$exec_prefix + fi + am_cv_python_pyexecdir=`$PYTHON -c " +$am_python_setup_sysconfig +if can_use_sysconfig: + sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) +else: + from distutils import sysconfig + sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') +sys.stdout.write(sitedir)"` + case $am_cv_python_pyexecdir in + $am_py_exec_prefix*) + am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` + am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` + ;; + *) + case $am_py_exec_prefix in + /usr|/System*) ;; + *) + am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + ]) + AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) + dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) -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 + AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) -case "$am__api_version" in - 1.[01234]) - AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) - ;; - *) - ;; -esac + dnl Run any user-specified action. + $2 + fi -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]) +# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) +# --------------------------------------------------------------------------- +# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. +# Run ACTION-IF-FALSE otherwise. +# This test uses sys.hexversion instead of the string equivalent (first +# word of sys.version), in order to cope with versions such as 2.2c1. +# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). +AC_DEFUN([AM_PYTHON_CHECK_VERSION], + [prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] +sys.exit(sys.hexversion < minverhex)" + AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) -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) +# Copyright (C) 2001-2013 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. -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) +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) - 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 to make sure that the build environment is sane. -*- Autoconf -*- -_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) +# Copyright (C) 1996-2013 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. -# 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 +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# 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 -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]) +# 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 ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + 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 + 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 + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : else - IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` - AC_MSG_RESULT([$IT_PERL_VERSION]) + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) 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]) +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2013 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. + +# 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], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +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 +]) -# Substitute ALL_LINGUAS so we can use it in po/Makefile -AC_SUBST(ALL_LINGUAS) +# Copyright (C) 2001-2013 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. -# 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]) +# 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 -AC_SUBST(DATADIRNAME) +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) -IT_PO_SUBDIR([po]) +# Copyright (C) 2006-2013 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. -]) +# _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($@)]) -# IT_PO_SUBDIR(DIRNAME) -# --------------------- -# All po subdirs have to be declared with this macro; the subdir "po" is -# declared by IT_PROG_INTLTOOL. +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2013 Free Software Foundation, Inc. # -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 -]) +# 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. -# _IT_SUBST(VARIABLE) -# ------------------- -# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. # -AC_DEFUN([_IT_SUBST], -[ -AC_SUBST([$1]) -m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) -] -) +# 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}']) -# 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], ...) +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' + +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + + [m4_case([$1], + [ustar], + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi], + + [pax], + [], + + [m4_fatal([Unknown tar format])]) + + AC_MSG_CHECKING([how to create a $1 tar archive]) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + 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 m4_include([acinclude.m4]) diff -Nru alacarte-3.10.0/Alacarte/ItemEditor.py alacarte-3.11.91/Alacarte/ItemEditor.py --- alacarte-3.10.0/Alacarte/ItemEditor.py 2013-08-30 08:32:55.000000000 +1000 +++ alacarte-3.11.91/Alacarte/ItemEditor.py 2014-02-08 03:00:09.000000000 +1100 @@ -33,8 +33,6 @@ if not filename.endswith(EXTENSIONS): return filename - filename = filename[:-4] - theme = Gtk.IconTheme.get_default() resolved_path = None for path in theme.get_search_path(): @@ -50,7 +48,10 @@ if len(parts) != 4: return filename - return parts[3] + icon_name = parts[3] + + # strip extension + return icon_name[:-4] def get_icon_string(image): filename = image.props.file @@ -181,7 +182,7 @@ def resync_validity(self, *args): name_text = self.builder.get_object('name-entry').get_text() exec_text = self.builder.get_object('exec-entry').get_text() - valid = (name_text is not None and exec_text is not None) + valid = (name_text != "" and GLib.find_program_in_path(exec_text) is not None) self.builder.get_object('ok').set_sensitive(valid) def load(self): @@ -222,7 +223,7 @@ def resync_validity(self, *args): name_text = self.builder.get_object('name-entry').get_text() - valid = (name_text is not None) + valid = (name_text != "") self.builder.get_object('ok').set_sensitive(valid) def load(self): diff -Nru alacarte-3.10.0/Alacarte/MainWindow.py alacarte-3.11.91/Alacarte/MainWindow.py --- alacarte-3.10.0/Alacarte/MainWindow.py 2013-09-25 02:15:24.000000000 +1000 +++ alacarte-3.11.91/Alacarte/MainWindow.py 2014-02-28 11:30:39.000000000 +1100 @@ -49,12 +49,8 @@ self.tree.get_object('move_up_button').set_sensitive(False) self.tree.get_object('move_down_button').set_sensitive(False) self.tree.get_object('new_separator_button').set_sensitive(False) - accelgroup = Gtk.AccelGroup() - keyval, modifier = Gtk.accelerator_parse('F1') - accelgroup.connect(keyval, modifier, Gtk.AccelFlags.VISIBLE, self.on_help_button_clicked) self.main_window = self.tree.get_object('mainwindow') - self.main_window.add_accel_group(accelgroup) self.editor = None @@ -243,11 +239,19 @@ menu_tree.get_selection().select_path((0,)) else: parent = menus[iter][2] - file_path = os.path.join(util.getUserDirectoryPath(), util.getUniqueFileId('alacarte-made', '.directory')) + file_name = util.getUniqueFileId('alacarte-made', '.directory') + file_path = os.path.join(util.getUserDirectoryPath(), file_name) editor = DirectoryEditor(self.main_window, file_path) + editor.file_name = file_name; + editor.parent = parent.get_menu_id() + editor.connect ('response', self.on_directory_created) editor.run() + def on_directory_created(self, editor, response): + if response == True: + self.editor.insertExternalMenu(editor.file_name, editor.parent) + def on_new_item_button_clicked(self, button): menu_tree = self.tree.get_object('menu_tree') menus, iter = menu_tree.get_selection().get_selected() @@ -257,11 +261,19 @@ menu_tree.get_selection().select_path((0,)) else: parent = menus[iter][2] - file_path = os.path.join(util.getUserItemPath(), util.getUniqueFileId('alacarte-made', '.desktop')) + file_name = util.getUniqueFileId('alacarte-made', '.desktop') + file_path = os.path.join(util.getUserItemPath(), file_name) editor = LauncherEditor(self.main_window, file_path) + editor.file_name = file_name; + editor.parent = parent.get_menu_id() + editor.connect ('response', self.on_item_created) editor.run() + def on_item_created(self, editor, response): + if response == True: + self.editor.insertExternalItem(editor.file_name, editor.parent) + def on_new_separator_button_clicked(self, button): item_tree = self.tree.get_object('item_tree') items, iter = item_tree.get_selection().get_selected() @@ -427,9 +439,6 @@ after = items[path][3] self.editor.moveItem(item.get_parent(), item, after=after) - def on_help_button_clicked(self, *args): - Gtk.show_uri(Gdk.Screen.get_default(), "ghelp:user-guide#menu-editor", Gtk.get_current_event_time()) - def on_restore_button_clicked(self, button): self.editor.restoreToSystem() diff -Nru alacarte-3.10.0/Alacarte/Makefile.in alacarte-3.11.91/Alacarte/Makefile.in --- alacarte-3.10.0/Alacarte/Makefile.in 2013-09-25 03:08:35.000000000 +1000 +++ alacarte-3.11.91/Alacarte/Makefile.in 2014-03-04 00:02:18.000000000 +1100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.13.4 from Makefile.am. +# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -227,6 +227,7 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ +XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ diff -Nru alacarte-3.10.0/ChangeLog alacarte-3.11.91/ChangeLog --- alacarte-3.10.0/ChangeLog 2013-09-25 03:08:44.000000000 +1000 +++ alacarte-3.11.91/ChangeLog 2014-03-04 00:46:11.000000000 +1100 @@ -1,727 +1,2942 @@ -7c74167 (HEAD, tag: 3.10.0, origin/master, origin/HEAD, master) -Release 3.10 +commit 56eca544f7351715fb74556c722a462618c84f2c +Author: Matthias Clasen +Date: 2014-03-03 + + 3.11.91 + M NEWS M configure.ac -6a25463 MainWindow: Remove some more unused imports + +commit f72ae7a423ad374a4592416b835821d2f81f5ec4 +Author: Tiagosdot +Date: 2014-03-03 + + Updated Portuguese translation + +M po/pt.po + +commit 1166883e5d7fcfc24ce24b5f5b158053c59be7a2 +Author: Matthias Clasen +Date: 2014-02-27 + + Fix creating new items + + Just as for menus, the code to insert the new item in + the right place was dropped in refactoring. + Bring it back. + + https://bugzilla.gnome.org/show_bug.cgi?id=725360 + +M Alacarte/MainWindow.py + +commit fd2c16c3929e57f5f2071ed3bc36f02c77930bab +Author: Matthias Clasen +Date: 2014-02-26 + + Fix creating new menus + + We were still creating the .directory file, but some + refactoring dropped the code that inserted the menu + into the menu tree. Bring it back. + + https://bugzilla.gnome.org/show_bug.cgi?id=725287 + +M Alacarte/MainWindow.py + +commit ba22fb0db948a65f19a22fc3e6f390d336a11eac +Author: Matthias Clasen +Date: 2014-02-17 + + Make the Restore button work + + The callback assumes that the first argument is 'self', not + the button that was clicked. + +M data/alacarte.ui + +commit b5e7b5ce2a88b22d0fbce29556b9de11ec508d01 +Author: jonius +Date: 2014-02-12 + + Updated German translation + +M po/de.po + +commit 1ea9a43902882dc726923f343e9f4da7f5bb3311 +Author: Matthias Clasen +Date: 2014-02-07 + + Add a man page + + Because - why not ? + + https://bugzilla.gnome.org/show_bug.cgi?id=723860 + +M Makefile.am +M configure.ac +A man/Makefile.am +A man/alacarte.xml + +commit 44951ac87060f50ec003c08768c4b16d071bcb7f +Author: Daniel Mustieles +Date: 2014-01-23 + + Updated FSF's address + +M acinclude.m4 + +commit c519865ab627312f55984b7770360c770c5ec7fe +Author: zhouxiaobo +Date: 2014-01-11 + + Update Chinese simplified translation + +M po/zh_CN.po + +commit 666d843940b9020c3ffb94e29b306ddcbc566ddf +Author: Jasper St. Pierre +Date: 2013-12-12 + + ItemEditor: Make sure that we have a valid Exec line + + Otherwise, gnome-menus / gio will ignore it. + +M Alacarte/ItemEditor.py + +commit ccf5b18a16216bbc807d8eb1f425aa632fc76e1b +Author: Jasper St. Pierre +Date: 2013-12-12 + + ItemEditor: Fix validity check + +M Alacarte/ItemEditor.py + +commit 73eaf9959f20fdab545237188672bf01f6e22fa1 +Author: Jasper St. Pierre +Date: 2013-12-12 + + MainWindow: Add back main_window + + We use this for the launchers + +M Alacarte/MainWindow.py + +commit a05a5e8317740d2486a474196530d6dfc724303e +Author: Matthias Clasen +Date: 2013-12-12 + + Remove the Help button + + There is no help for alacarte, so don't show a non-functional + Help button. + + https://bugzilla.gnome.org/show_bug.cgi?id=720334 + M Alacarte/MainWindow.py -b7182fc Updated Latvian translatio +M data/alacarte.ui + +commit d31ce6b696cdae0e28aca49e0c8887b450114780 +Author: Jasper St. Pierre +Date: 2013-10-22 + + ItemEditor: Make sure to include the extension in the icon name + +M Alacarte/ItemEditor.py + +commit 19aa0963733eedd7cef5bd968c14a2d2d881f3a1 +Author: Jasper St. Pierre +Date: 2013-09-28 + + Remove generated INSTALL from repo + + This was in .gitignore but it never got picked up properly. + +D INSTALL + +commit 53a99e24b6647b0c5d039ebee0f2ccebf98b4300 +Author: Andika Triwidada +Date: 2013-10-04 + + Updated Indonesian translation + +M po/id.po + +commit 7c74167afe8618e4eb20e62b49a07981fa4d3f91 +Author: Jasper St. Pierre +Date: 2013-09-24 + + Release 3.10 + +M NEWS +M configure.ac + +commit 6a254633ad4e4911de4d0f4b37809fa8aa862afb +Author: Jasper St. Pierre +Date: 2013-09-24 + + MainWindow: Remove some more unused imports + +M Alacarte/MainWindow.py + +commit b7182fc332aab2cb40b722865eb41f3752fb75d8 +Author: Rūdolfs Mazurs +Date: 2013-09-21 + + Updated Latvian translatio + M po/lv.po -ae599a8 MainWindow: Re-add sys import -M Alacarte/MainWindow.py -8b2bb34 Updated Galician translations + +commit ae599a8aed08a3fc7e4298870b69009aa933f57a +Author: Jasper St. Pierre +Date: 2013-09-19 + + MainWindow: Re-add sys import + + Spotted by Laruent Bigonville + +M Alacarte/MainWindow.py + +commit 8b2bb349eddd0286266022ca1a58e39b131b5cc8 +Author: Fran Diéguez +Date: 2013-09-12 + + Updated Galician translations + M po/gl.po -6824432 (tag: 3.9.91) Release 3.9.91 + +commit 68244327b1bf48bc044dbcfd0b2c0758eb7cb5eb +Author: Jasper St. Pierre +Date: 2013-09-03 + + Release 3.9.91 + M NEWS M configure.ac -5c1cdb7 Remove unused imports -M Alacarte/MainWindow.py -274d46d Add python3 compatibility + +commit 5c1cdb72587c0e1bf8e11aa4f0307b10da275358 +Author: Jasper St. Pierre +Date: 2013-08-29 + + Remove unused imports + +M Alacarte/MainWindow.py + +commit 274d46d4061077da8c92236a98ba67f0df15703d +Author: Jasper St. Pierre +Date: 2013-08-29 + + Add python3 compatibility + M Alacarte/MenuEditor.py M Alacarte/util.py -d1920ec Quit on delete event + +commit d1920ecd9cbcbd9c486f9fe79a5379ab7cfb10d3 +Author: Stefano Facchini +Date: 2013-08-26 + + Quit on delete event + + https://bugzilla.gnome.org/show_bug.cgi?id=706821 + M Alacarte/MainWindow.py M data/alacarte.ui -fab91e9 Do not leave behind stale .desktop files + +commit fab91e9c2549bd284dda3cc0f2cffc7ae6c14f0f +Author: Stefano Facchini +Date: 2013-08-26 + + Do not leave behind stale .desktop files + + If the user clicked on Cancel in the Editor dialog, we should remove + the .desktop file we just copied to ~/.local/share/applications. + + https://bugzilla.gnome.org/show_bug.cgi?id=706807 + M Alacarte/ItemEditor.py M Alacarte/MainWindow.py -9100bfc Updated Russian translation + +commit 9100bfc0dbf13a13bf1b6ecd06f828063842c184 +Author: Stas Solovey +Date: 2013-05-14 + + Updated Russian translation + M po/ru.po -f1c0f97 MenuEditor: Consistently use os.remove -M Alacarte/MenuEditor.py -e8f3c73 MenuEditor: Don't save after restoring default conditions -M Alacarte/MenuEditor.py -0d7f351 MenuEditor: Don't write binary data as unicode -M Alacarte/MenuEditor.py -ab7684a MainWindow: Remove special formatting for hidden items -M Alacarte/MainWindow.py -8a7c5af Updated Greek translation + +commit f1c0f9708e8bbaf5759a558221b6fe8eaad2c6f1 +Author: Jasper St. Pierre +Date: 2013-04-30 + + MenuEditor: Consistently use os.remove + +M Alacarte/MenuEditor.py + +commit e8f3c734dab2958740b524b19f3c2d20206b6118 +Author: Jasper St. Pierre +Date: 2013-04-30 + + MenuEditor: Don't save after restoring default conditions + +M Alacarte/MenuEditor.py + +commit 0d7f35124a0e23a0aaf57edf0e2d84f9ba1f12d8 +Author: Jasper St. Pierre +Date: 2013-04-30 + + MenuEditor: Don't write binary data as unicode + + g_keyfile_to_data returns binary data, not unicode + +M Alacarte/MenuEditor.py + +commit ab7684aa5a68ce48d92fac41c223769290dc581c +Author: Jasper St. Pierre +Date: 2013-04-30 + + MainWindow: Remove special formatting for hidden items + +M Alacarte/MainWindow.py + +commit 8a7c5af8ac1b58b7e59ec9badd3af165a4d393e6 +Author: Dimitris Spingos +Date: 2013-04-10 + + Updated Greek translation + M po/el.po -c7ba207 Updated Belarusian translation. + +commit c7ba207a7f3c80fd7d5acc3179c7c82df7f61d45 +Author: Ihar Hrachyshka +Date: 2013-03-27 + + Updated Belarusian translation. + M po/be.po -0f071a3 Finnish translation update by Jiri Grönroos + +commit 0f071a3cb18fa6015d2e2a521ab15c71fd87ab84 +Author: Ville-Pekka Vainio +Date: 2013-03-23 + + Finnish translation update by Jiri Grönroos + M po/fi.po -bd6088f Updated Danish translation + +commit bd6088ff424a289cba0e4220fb749458bebaeb39 +Author: Joe Hansen +Date: 2013-03-12 + + Updated Danish translation + M po/da.po -374d20e (tag: 3.7.90) Release 3.7.90 + +commit 374d20e583cdd31fc06f881bb0c062c7d895ef76 +Author: Jasper St. Pierre +Date: 2013-02-27 + + Release 3.7.90 + M NEWS M configure.ac -d7a8469 Updated Norwegian bokmål translation + +commit d7a8469c5e643f4764fa958bf4c20eeb3bf798ec +Author: Kjartan Maraas +Date: 2013-02-27 + + Updated Norwegian bokmål translation + M po/nb.po -7abbf5f Updated Serbian translation + +commit 7abbf5f3d0a60e3d701c54782effd508da40a226 +Author: Мирослав Николић +Date: 2013-02-19 + + Updated Serbian translation + M po/sr.po M po/sr@latin.po -e76d7c6 Update French translation + +commit e76d7c6aba7ff86ef5113e75782f62155c555e64 +Author: Alexandre Franke +Date: 2013-02-19 + + Update French translation + M po/fr.po -4663f28 MenuEditor: Fix error message on loading -M Alacarte/MenuEditor.py -e3dd583 Updated slovak translation + +commit 4663f286992c950276f3ee2f931b02b6e2c1d5a0 +Author: Jasper St. Pierre +Date: 2013-02-15 + + MenuEditor: Fix error message on loading + +M Alacarte/MenuEditor.py + +commit e3dd58308c4c860110c8e0f8d81ae9bfb897e80b +Author: Ján Kyselica +Date: 2013-01-30 + + Updated slovak translation + M po/sk.po -47883cd Updated Lithuanian translation + +commit 47883cdcf645540a75a11dbae65d56566dd04bb9 +Author: Aurimas Černius +Date: 2013-01-29 + + Updated Lithuanian translation + M po/lt.po -9cdcbd4 Updated Czech translation + +commit 9cdcbd47799472e4f98530719454ce4e2ccd4bac +Author: Marek Černocký +Date: 2013-01-22 + + Updated Czech translation + M po/cs.po -2f2e0b0 Use GLib.Error for catching errors + +commit 2f2e0b0bac463f545f409c67f1a15f5bf672529f +Author: Jasper St. Pierre +Date: 2013-01-16 + + Use GLib.Error for catching errors + + While gi._glib.GError works on my machine, it seems it's on track + to be removed, or doesn't work on some PyGObject builds. + M Alacarte/ItemEditor.py M Alacarte/util.py -92b9cc7 Updated Spanish translation + +commit 92b9cc7e28097fde7bff5e23c66865118bd8f07a +Author: Daniel Mustieles +Date: 2013-01-16 + + Updated Spanish translation + M po/es.po -30a747e Updated Brazilian Portuguese translation + +commit 30a747e3122b5540231f71b80045b3c6b699057a +Author: Enrico Nicoletto +Date: 2013-01-15 + + Updated Brazilian Portuguese translation + M po/pt_BR.po -6dfec50 Fix a typo + +commit 6dfec50cf3a3e123556741ad278fd1f7a9d4625d +Author: Matthias Clasen +Date: 2013-01-15 + + Fix a typo + M data/Makefile.am -009ec01 Updated Slovenian translation + +commit 009ec016f90a2ad29bb57017e19d5197ce9d975d +Author: Matej Urbančič +Date: 2013-01-13 + + Updated Slovenian translation + M po/sl.po -a9cf43a Updated Hungarian translation + +commit a9cf43aed17c59ab601b4dfdd9210c472a1f333f +Author: Balázs Úr +Date: 2013-01-13 + + Updated Hungarian translation + M po/hu.po -d71b7b5 Updated Polish translation + +commit d71b7b52c4d9acc228528c8bab4af017343fb9f8 +Author: Piotr Drąg +Date: 2013-01-12 + + Updated Polish translation + M po/pl.po -72ba83a Enforce the use of Gtk 3.0; Gtk 2.0 is no introspecatble and -thus does not serve us anyway. + +commit 72ba83a0e26ecfdcce85a716a527c9550451a6d9 +Author: Dominique Leuenberger +Date: 2013-01-12 + + Enforce the use of Gtk 3.0; Gtk 2.0 is no introspecatble and thus + does not serve us anyway. + + Fixes bug 691599. + M Alacarte/ItemEditor.py M Alacarte/MainWindow.py M Alacarte/util.py -fde7f58 alacarte: Simplify the runner script + +commit fde7f5852ef85328880e676367ef0a684a33954e +Author: Jasper St. Pierre +Date: 2013-01-11 + + alacarte: Simplify the runner script + + Make it simply call out to a main function in another module and + not much else. + M Alacarte/MainWindow.py M alacarte.in -fc83511 ItemEditor: Refactor and deduplicate code + +commit fc8351173b470033e290f647c338f2801421c323 +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Refactor and deduplicate code + M Alacarte/ItemEditor.py -75717fc ItemEditor: Make the dialog names the same + +commit 75717fc6adc9d3e53267a840a8211bd1fb854be2 +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Make the dialog names the same + M Alacarte/ItemEditor.py M data/directory-editor.ui M data/launcher-editor.ui -bf776b3 Make item editors modal on top of the main window + +commit bf776b3d1768e48632c98cb69b94a7c05d060ed6 +Author: Jasper St. Pierre +Date: 2013-01-11 + + Make item editors modal on top of the main window + M Alacarte/ItemEditor.py M Alacarte/MainWindow.py -b2ade7e MainWindow: Use the appropriate editor when right-clicking -on items -M Alacarte/MainWindow.py -fb569f0 ItemEditor: Make sure to set the Type field + +commit b2ade7ec88217fd05533903110da24c0e6d51a83 +Author: Jasper St. Pierre +Date: 2013-01-11 + + MainWindow: Use the appropriate editor when right-clicking on items + +M Alacarte/MainWindow.py + +commit fb569f0e74b8b4c11e4381e5bead0515e8bc3b5b +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Make sure to set the Type field + M Alacarte/ItemEditor.py -536c2c4 ItemEditor: Add a directory editor as well + +commit 536c2c42ebfb58ef020027afe45a3b6bf81dd9f1 +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Add a directory editor as well + M Alacarte/ItemEditor.py M Alacarte/MainWindow.py M data/Makefile.am A data/directory-editor.ui M po/POTFILES.in -41f6f97 ItemEditor: Refactor out some synchronization setters + +commit 41f6f9719de4c0558d07ba87088a20bafe631266 +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Refactor out some synchronization setters + M Alacarte/ItemEditor.py -a1c4498 ItemEditor: Refactor out IconPicker UI + +commit a1c44988685182c54c87c68ca5b54013ee93d6aa +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Refactor out IconPicker UI + M Alacarte/ItemEditor.py -93e78f9 ItemEditor: Make the name/exec fields required + +commit 93e78f9c65e63ab5f67f80173fbcb17e5f224c1d +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Make the name/exec fields required + + You can't have a launcher without these. + M Alacarte/ItemEditor.py -73321bd ItemEditor: Use an absolute path to the builder file + +commit 73321bd25d719fa9d06c03ce6b93a0bb4b8a5b43 +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Use an absolute path to the builder file + M Alacarte/ItemEditor.py -3a3dc69 ItemEditor: Set the default focus correctly + +commit 3a3dc69429bf7285995fe16779d32cd8bd4e0871 +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Set the default focus correctly + M data/launcher-editor.ui -c850f46 MainWindow: Use the new LauncherEditor for new files -M Alacarte/MainWindow.py -8f2d7cd ItemEditor: Handle missing files better + +commit c850f46beb1d60812e2163118951b8d285868c3e +Author: Jasper St. Pierre +Date: 2013-01-11 + + MainWindow: Use the new LauncherEditor for new files + +M Alacarte/MainWindow.py + +commit 8f2d7cdc539861c8275a2c60b0a11713fa5428f7 +Author: Jasper St. Pierre +Date: 2013-01-11 + + ItemEditor: Handle missing files better + + It turns out that we can't load missing files like this. Welp. + M Alacarte/ItemEditor.py -3c987dc MainWindow: Remove unused variables -M Alacarte/MainWindow.py -968c81b Add our own custom launcher editor + +commit 3c987dcd60f7f38e54f6f11f80c68f1ba68fe897 +Author: Jasper St. Pierre +Date: 2013-01-11 + + MainWindow: Remove unused variables + + timer and edit_pool are now unused + +M Alacarte/MainWindow.py + +commit 968c81bf5f9d4b8e3c71f33b142b8f77363378f1 +Author: Jasper St. Pierre +Date: 2013-01-10 + + Add our own custom launcher editor + + Replace simple uses of gnome-desktop-item-edit with our own desktop + file editor. For now, this only supports launcher entries -- menu + directories are not supported yet. + A Alacarte/ItemEditor.py M Alacarte/MainWindow.py M Alacarte/Makefile.am M data/Makefile.am A data/launcher-editor.ui M po/POTFILES.in -1443592 util: Fix fillKeyFile + +commit 1443592c3b1fb42014c80cdeff4de79794128bdf +Author: Jasper St. Pierre +Date: 2013-01-10 + + util: Fix fillKeyFile + + basestring is-a Sequence, so it needs to take priority. + M Alacarte/util.py -23f0318 MainWindow: Make property editing work again -M Alacarte/MainWindow.py -a3152fb alacarte.ui: Put back menu items + +commit 23f0318083e989112892260f4ad0cec047570cc0 +Author: Jasper St. Pierre +Date: 2013-01-10 + + MainWindow: Make property editing work again + + It seems I was mixing up binary/unicode data again. Rather + than copy manually by reading into memory, just use shutil + to do a direct copy. + +M Alacarte/MainWindow.py + +commit a3152fbddfed52231e59f20b7da96fa3caf47c7d +Author: Jasper St. Pierre +Date: 2013-01-10 + + alacarte.ui: Put back menu items + + It seems that Glade did not like GtkUIManager. I don't blame it. + M data/alacarte.ui -51034a4 alacarte.ui: Do a lot of rearranging + +commit 51034a4985bc6e78dfcf12cce50f7fcfbe471d55 +Author: Jasper St. Pierre +Date: 2013-01-10 + + alacarte.ui: Do a lot of rearranging + M data/alacarte.ui -cfcea0b alacarte.ui: Line up and clean up widgets + +commit cfcea0bb2e096df3bd6fed3f6afdba4dd3a2037e +Author: Jasper St. Pierre +Date: 2013-01-10 + + alacarte.ui: Line up and clean up widgets + M data/alacarte.ui -0e52442 alacarte.ui: Clean up + +commit 0e524427139d1118fd15984673148dd60f7f847b +Author: Jasper St. Pierre +Date: 2013-01-10 + + alacarte.ui: Clean up + + Port to GTK+3-style GtkBuilder, and let glade do its number crunching + M data/alacarte.ui -5890bcd alacarte.ui: Use a GtkWindow + +commit 5890bcdf41931fcdad81b678248d7d10fda89a50 +Author: Jasper St. Pierre +Date: 2013-01-10 + + alacarte.ui: Use a GtkWindow + M data/alacarte.ui -ed19984 MainWindow: Construct MenuEditor separately + +commit ed1998449ff1e4810d5e7e78aec0aa60db5dcaa5 +Author: Jasper St. Pierre +Date: 2013-01-10 + + MainWindow: Construct MenuEditor separately + + We might need to switch menus at runtime, meaning we need a way + to unload the current menu and add the new one. + M Alacarte/MainWindow.py M alacarte.in -55dfaed Clean up builder files + +commit 55dfaed09df5dbdadf0ee3545a730777e8a7d1df +Author: Jasper St. Pierre +Date: 2013-01-10 + + Clean up builder files + M data/alacarte.ui -e65fd34 Allow specifying a menu basename other than applications.menu + +commit e65fd3456817e9f7735a52941c5d6b787a1d030d +Author: Jasper St. Pierre +Date: 2013-01-10 + + Allow specifying a menu basename other than applications.menu + + Users may want to edit menus other than 'applications.menu'. Allow + them to pass an argument on the command line that specifies the menu + basename. + M Alacarte/MainWindow.py M Alacarte/MenuEditor.py M alacarte.in -075b8f0 alacarte.in: Fix indentation + +commit 075b8f0b3e824c36ea9073ea084f9699b927f6b2 +Author: Jasper St. Pierre +Date: 2013-01-10 + + alacarte.in: Fix indentation + M alacarte.in -d3e706d Updated Hebrew translation. + +commit d3e706db87769a2495ecac981773e6c03ef5b847 +Author: Yaron Shahrabani +Date: 2012-12-28 + + Updated Hebrew translation. + M po/he.po -2fb6667 Updated Hungarian translation + +commit 2fb666797cfe81dc1eb57a42050fef0ccfc0373e +Author: Balázs Úr +Date: 2012-12-26 + + Updated Hungarian translation + M po/hu.po -147fbe4 Updated Brazilian Portuguese translation + +commit 147fbe4934ed58b35c51e56fa74bf2240150ba94 +Author: Rafael Ferreira +Date: 2012-12-22 + + Updated Brazilian Portuguese translation + M po/pt_BR.po -eed3d62 Post-release version bump -M configure.ac -eaedd3b (tag: 3.7.2) Release 3.7.2 + +commit eed3d62305f5326f9485c04346592662f20acce8 +Author: Jasper St. Pierre +Date: 2012-11-20 + + Post-release version bump + +M configure.ac + +commit eaedd3bbae16059a3bba6ae4304bf799eac23bf8 +Author: Jasper St. Pierre +Date: 2012-11-20 + + Release 3.7.2 + M NEWS -a920734 Pre-release version bump -M configure.ac -10f611c Use with statements for management -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -f7835d7 Fix crashes when writing out files -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -d006c55 [l10n] Updated Estonian translation + +commit a9207340f22b2eaff4a55cacc8d5a61a22a6934e +Author: Jasper St. Pierre +Date: 2012-11-20 + + Pre-release version bump + +M configure.ac + +commit 10f611c074ae7b2ab0ec48ff3b8946c5f8e19970 +Author: Jasper St. Pierre +Date: 2012-11-16 + + Use with statements for management + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit f7835d7dcd37b10f25e208581ec52919cf68e732 +Author: Jasper St. Pierre +Date: 2012-11-16 + + Fix crashes when writing out files + + XML files as well as key files should always be in UTF-8 encodings. + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit d006c5533287ea34cfefc4b42367ea2aa213d0cf +Author: Mattias Põldaru +Date: 2012-10-30 + + [l10n] Updated Estonian translation + M po/et.po -fe7211f MenuEditor: deal with the case of having no $XDG_MENU_PREFIX -M Alacarte/MenuEditor.py -7d62fd2 Release 3.6.1 + +commit fe7211f2eb4c8bcf7cbddca75bf4e28ee7b98659 +Author: Jasper St. Pierre +Date: 2012-10-22 + + MenuEditor: deal with the case of having no $XDG_MENU_PREFIX + +M Alacarte/MenuEditor.py + +commit 7d62fd2158193f6a624b39b89b4a109eea2d841c +Author: Jasper St. Pierre +Date: 2012-10-17 + + Release 3.6.1 + M NEWS M configure.ac -1a15b19 Release as xz -M configure.ac -a4db679 Respect $XDG_MENU_PREFIX when constructing the path to -applications.menu -M Alacarte/MenuEditor.py -2db5ad5 Updated Latvian translation + +commit 1a15b19474d43f7d0f298a067bc9c158e4161789 +Author: Jasper St. Pierre +Date: 2012-10-17 + + Release as xz + +M configure.ac + +commit a4db6799f41947b5cd08231e77d41c561d94170a +Author: Dominique Leuenberger +Date: 2012-09-06 + + Respect $XDG_MENU_PREFIX when constructing the path to + applications.menu + + Fixes bug 683535. + +M Alacarte/MenuEditor.py + +commit 2db5ad5c7fa91cbb89ff3ada409bbd94125dc039 +Author: Rūdolfs Mazurs +Date: 2012-10-13 + + Updated Latvian translation + M po/lv.po -c227d38 Updated Russian translation + +commit c227d3840f09152566fce7ed8f76a5c160a536d0 +Author: Yuri Myasoedov +Date: 2012-09-29 + + Updated Russian translation + M po/ru.po -79ef85a Updated British English translation + +commit 79ef85a33c2788e741ab6d2f6fee803c7ecdd9e4 +Author: Chris Leonard +Date: 2012-09-23 + + Updated British English translation + M po/en_GB.po -ffe6fec Finnish translation update by Jiri Grönroos + +commit ffe6fec858345486fbdc3727835660a2318b3e60 +Author: Ville-Pekka Vainio +Date: 2012-09-12 + + Finnish translation update by Jiri Grönroos + M po/fi.po -bb76b0a Updated Polish translation + +commit bb76b0a256e4ba8085782a2bc1785952573bbffd +Author: Piotr Drąg +Date: 2012-09-01 + + Updated Polish translation + M po/pl.po -9e7e490 Updated Czech translation + +commit 9e7e490db7274334d272964b5f58a19da51fc724 +Author: Marek Černocký +Date: 2012-09-01 + + Updated Czech translation + M po/cs.po -f6eb2de Updated Norwegian bokmål translation + +commit f6eb2de5b22bf7f53c193a3a00818d43452fed45 +Author: Kjartan Maraas +Date: 2012-08-23 + + Updated Norwegian bokmål translation + M po/nb.po -53f55c5 Updated Galician translations + +commit 53f55c5f75a81e7e0a5a92e210a733fc4ffacb05 +Author: Fran Diéguez +Date: 2012-08-19 + + Updated Galician translations + M po/gl.po -afb208b Updated Slovenian translation + +commit afb208bca883832668ab46f980f8b771d0203357 +Author: Matej Urbančič +Date: 2012-08-07 + + Updated Slovenian translation + M po/sl.po -d3caf31 Updated Serbian translation + +commit d3caf3115268660e737c1f484fa82be2fbda8e0b +Author: Мирослав Николић +Date: 2012-08-07 + + Updated Serbian translation + M po/sr.po M po/sr@latin.po -ef08eab Post-release version bump -M configure.ac -8d5cb97 (tag: 3.5.5) Release 3.5.5 + +commit ef08eabdf362bb5ff9eebe331b3a946c2d062323 +Author: Jasper St. Pierre +Date: 2012-08-06 + + Post-release version bump + +M configure.ac + +commit 8d5cb9771a8cf876507e07eb33396d1d02820714 +Author: Jasper St. Pierre +Date: 2012-08-06 + + Release 3.5.5 + M NEWS -324f383 Updated Lithuanian translation + +commit 324f3830ba71e09bb2f9812a47a0cc0714995092 +Author: Aurimas Černius +Date: 2012-08-05 + + Updated Lithuanian translation + M po/lt.po -de18704 Updated Galician translations + +commit de1870459f35d1ee8053bc6abe29d17c7632ab2c +Author: Fran Diéguez +Date: 2012-07-27 + + Updated Galician translations + M po/gl.po -36a6f9c Updated Galician translations + +commit 36a6f9c661d16e8e84aaa7795b56c2fbfd6cb246 +Author: Fran Diéguez +Date: 2012-07-27 + + Updated Galician translations + M po/gl.po -9f18c39 Updated Polish translation + +commit 9f18c3938e7a9fe1c300c982762d1e25319ddab0 +Author: Piotr Drąg +Date: 2012-07-21 + + Updated Polish translation + M po/pl.po -8e7ff03 Updated Traditional Chinese translation(Hong Kong and Taiwan) + +commit 8e7ff032e895a31b3e1bdff0e881d185c5190c9e +Author: Chao-Hsiung Liao +Date: 2012-07-18 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + M po/zh_HK.po M po/zh_TW.po -92f3ab9 Updated Indonesian translation + +commit 92f3ab9c428f5addf56958bef458b537c6c2b241 +Author: Andika Triwidada +Date: 2012-07-18 + + Updated Indonesian translation + M po/id.po -87c756e MainWindow: Remove the code that triggers the revert dialog -M Alacarte/MainWindow.py -a826370 Updated Spanish translation + +commit 87c756e4fce7f5b52495c5c85efee3dfeb231394 +Author: Jasper St. Pierre +Date: 2012-07-17 + + MainWindow: Remove the code that triggers the revert dialog + + Missed this, whoops. + +M Alacarte/MainWindow.py + +commit a8263705a4d4a2f82bd15116cd041114217fc90a +Author: Daniel Mustieles +Date: 2012-07-17 + + Updated Spanish translation + M po/es.po -c66e14b Updated Telugu Translation + +commit c66e14b998c46aa5bedd3930757d3b38fa95d525 +Author: Sasi Bhushan Boddepalli +Date: 2012-07-17 + + Updated Telugu Translation + M po/te.po -09312a6 Post-release version bump -M configure.ac -a5c8262 (tag: 3.5.4) Release 3.5.4 + +commit 09312a6a7fc6282d96cf87d49db1815a464a0feb +Author: Jasper St. Pierre +Date: 2012-07-16 + + Post-release version bump + +M configure.ac + +commit a5c826253a7993e6a0d3fd14c4fbf0ce2bb0c29e +Author: Jasper St. Pierre +Date: 2012-07-16 + + Release 3.5.4 + M NEWS -6517d36 Rename the "Revert" button + +commit 6517d363de24299b5472ba43d0af7396fcb9e086 +Author: Jasper St. Pierre +Date: 2012-07-15 + + Rename the "Revert" button + + "Revert" is not an appropriate name for this button, as it deletes + all custom additions and modifications to the menu system. "Restore + System Configuration" is a better name. + M Alacarte/MainWindow.py M Alacarte/MenuEditor.py M data/alacarte.ui -81ec64b MainWindow: Remove "Restore" menu item from Edit + +commit 81ec64be35c11b4c29b5ae472c7d91816a53b164 +Author: Jasper St. Pierre +Date: 2012-07-15 + + MainWindow: Remove "Restore" menu item from Edit + M Alacarte/MainWindow.py M data/alacarte.ui -01e81f1 ui: Remove the restore dialog + +commit 01e81f17dc432c7ec6a8a325a43017f559773017 +Author: Jasper St. Pierre +Date: 2012-07-15 + + ui: Remove the restore dialog + + Dead UI + M data/alacarte.ui -64ffa5a MenuEditor: Remove unused argument from loadItems -M Alacarte/MainWindow.py -70ad086 Updated Indonesian translation + +commit 64ffa5aed472e895883e7ec5ba181c60d2a2a3b1 +Author: Jasper St. Pierre +Date: 2012-07-15 + + MenuEditor: Remove unused argument from loadItems + +M Alacarte/MainWindow.py + +commit 70ad086067815756a5a76f9159e4622f9cf877b0 +Author: Andika Triwidada +Date: 2012-07-15 + + Updated Indonesian translation + M po/id.po -ac1eda4 Updated Brazilian Portuguese translation + +commit ac1eda4b39ba9fd1fd28551ed39390058727448f +Author: Djavan Fagundes +Date: 2012-07-10 + + Updated Brazilian Portuguese translation + M po/pt_BR.po -1abe5e2 Updated Greek translation + +commit 1abe5e2d93d127ab3c4ea6cf262241c165c00ed6 +Author: Tom Tryfonidis +Date: 2012-06-29 + + Updated Greek translation + M po/el.po -8749c44 configure: We require gnome-menus 3.5.3 -M configure.ac -514e4bd Post-release bump -M configure.ac -5cd2542 (tag: 3.5.3) Release 3.5.3 + +commit 8749c44bf2e18ee20bbc44a09a0d323ab4a3b89d +Author: Jasper St. Pierre +Date: 2012-06-26 + + configure: We require gnome-menus 3.5.3 + +M configure.ac + +commit 514e4bdfad74b1783a8eed110b04c49cbaf174dd +Author: Jasper St. Pierre +Date: 2012-06-24 + + Post-release bump + +M configure.ac + +commit 5cd25420718f62edb4dff2ac69e69b7e7f8e4186 +Author: Jasper St. Pierre +Date: 2012-06-24 + + Release 3.5.3 + M NEWS M configure.ac -35d8300 Add myself to AUTHORS + +commit 35d83001c9eec60b0938e36d4935a49aba4fed8e +Author: Jasper St. Pierre +Date: 2012-06-20 + + Add myself to AUTHORS + M AUTHORS -a8b35f0 MenuEditor: Clean up more code -M Alacarte/MenuEditor.py -2d50f3c MenuEditor: Support separators -M Alacarte/MenuEditor.py -7d1a28d MenuEditor: Remove unused code of moving menus/things between -menus -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -37cc73d MenuEditor: Remove silly Layout class stuff -M Alacarte/MenuEditor.py -ec72a8f MainWindow: Remove ugly hack -M Alacarte/MainWindow.py -4df8c61 MainWindow: Remove on_style_set handler + +commit a8b35f0f0c8aa75a6e40dc4c05bd5652af135485 +Author: Jasper St. Pierre +Date: 2012-06-20 + + MenuEditor: Clean up more code + +M Alacarte/MenuEditor.py + +commit 2d50f3c3b55e96b23a30f93b7920ea413b1becc2 +Author: Jasper St. Pierre +Date: 2012-06-20 + + MenuEditor: Support separators + +M Alacarte/MenuEditor.py + +commit 7d1a28d059e60791f9084bf2b13c991b43d4aad3 +Author: Jasper St. Pierre +Date: 2012-06-20 + + MenuEditor: Remove unused code of moving menus/things between menus + + We can always revive it if it gets used again. + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 37cc73d654f8774b1b23596874960a7a607425ea +Author: Jasper St. Pierre +Date: 2012-06-20 + + MenuEditor: Remove silly Layout class stuff + +M Alacarte/MenuEditor.py + +commit ec72a8f54fd0ddcf302687a527e6cfd749f597a3 +Author: Jasper St. Pierre +Date: 2012-06-20 + + MainWindow: Remove ugly hack + +M Alacarte/MainWindow.py + +commit 4df8c61d26d9ea49c05a037d0cb0a06e1c64d4a4 +Author: Jasper St. Pierre +Date: 2012-06-19 + + MainWindow: Remove on_style_set handler + M Alacarte/MainWindow.py M data/alacarte.ui -2d476bd alacarte.ui: Remove silly last_modification_time attributes + +commit 2d476bd597e1521318a9e0b719423d18a9adf8b3 +Author: Jasper St. Pierre +Date: 2012-06-19 + + alacarte.ui: Remove silly last_modification_time attributes + M data/alacarte.ui -6fc3486 alacarte.ui: Remove silly insignificant labels + +commit 6fc3486388515cffd5c3ca7666bff04ac0105980 +Author: Jasper St. Pierre +Date: 2012-06-19 + + alacarte.ui: Remove silly insignificant labels + M data/alacarte.ui -45083e5 util: Don't fail when loading non-existant icon paths + +commit 45083e538491363db9c972a43240c453965f7274 +Author: Jasper St. Pierre +Date: 2012-06-19 + + util: Don't fail when loading non-existant icon paths + M Alacarte/util.py -6c6494d MenuEditor: Remove Menu object split -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -68c1527 MenuEditor: Remove visible_tree mess -M Alacarte/MenuEditor.py -b2d5b8b Updated Telugu Translation + +commit 6c6494d7af2fa92fd01afbff13a87f7228bcb7f2 +Author: Jasper St. Pierre +Date: 2012-06-19 + + MenuEditor: Remove Menu object split + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 68c1527952d99394fba0bd6523ad9d4286fe2691 +Author: Jasper St. Pierre +Date: 2012-06-19 + + MenuEditor: Remove visible_tree mess + +M Alacarte/MenuEditor.py + +commit b2d5b8bbd8273e51cb0744ff069fb98d871b3864 +Author: Sasi Bhushan +Date: 2012-06-19 + + Updated Telugu Translation + M po/te.po -f3a41e1 MainWindow: Fix typos related to separators -M Alacarte/MainWindow.py -f441b31 Updated Russian translation + +commit f3a41e14b3d7e30c1b3776f7b03a234ca6ebf4d8 +Author: Jasper St. Pierre +Date: 2012-06-11 + + MainWindow: Fix typos related to separators + + https://bugzilla.gnome.org/show_bug.cgi?id=677343 + +M Alacarte/MainWindow.py + +commit f441b3165f8cf6321aebbf098cee10eb0f2436dd +Author: Aleksey Kabanov +Date: 2012-06-06 + + Updated Russian translation + M po/ru.po -eeb1969 MenuEditor: Put back the top-level "Applications" menu -M Alacarte/MenuEditor.py -e3cff4f MainWindow: Clean up imports -M Alacarte/MainWindow.py -807e60c Updated Latvian translation + +commit eeb19696e948c61f11405564fa9d2d91a1fe31cf +Author: Jasper St. Pierre +Date: 2012-06-05 + + MenuEditor: Put back the top-level "Applications" menu + + https://bugzilla.gnome.org/show_bug.cgi?id=677420 + +M Alacarte/MenuEditor.py + +commit e3cff4f862687f027da20f42467c3f90d5d7f816 +Author: Jasper St. Pierre +Date: 2012-06-05 + + MainWindow: Clean up imports + +M Alacarte/MainWindow.py + +commit 807e60c1f9e847f4d332d15b24562c781594f7fb +Author: Rūdolfs Mazurs +Date: 2012-06-05 + + Updated Latvian translation + M po/lv.po -2aa9b4f [l10n] Removed old translations + +commit 2aa9b4f49e4a73117815877cf9950d6363291351 +Author: Gil Forcada +Date: 2012-06-03 + + [l10n] Removed old translations + M po/ca@valencia.po -c2fda12 [l10n]Updated Catalan (Valencian) translation + +commit c2fda12ce88626b41715a3178dea31eea3b8700a +Author: Carles Ferrando +Date: 2012-06-03 + + [l10n]Updated Catalan (Valencian) translation + M po/ca@valencia.po -57e1542 [l10n] Updated Catalan translation + +commit 57e1542cd3909cd08bc2b5352f69c6b959fc63cd +Author: Gil Forcada +Date: 2012-06-03 + + [l10n] Updated Catalan translation + M po/ca.po -722aa11 Updated Galician translations + +commit 722aa11b37895c0934a63dd51116d4e9a25a6b21 +Author: Fran Diéguez +Date: 2012-06-03 + + Updated Galician translations + M po/gl.po -b5b27e9 Updated French translation + +commit b5b27e93f35f7dd63a65e8daecfbd3412abcb7a8 +Author: Bruno Brouard +Date: 2012-06-02 + + Updated French translation + M po/fr.po -5df6c61 Updated German translation + +commit 5df6c615f4c063b2bd48c44350a29e96e022f170 +Author: Christian Kirbach +Date: 2012-06-02 + + Updated German translation + M po/de.po -8d0270f Updated Slovenian translation + +commit 8d0270fc1f3c21d3f0d02c23fd41a90aafd0f717 +Author: Matej Urbančič +Date: 2012-06-01 + + Updated Slovenian translation + M po/sl.po -9c22f36 Updated Bulgarian translation + +commit 9c22f362a6b78d1f89d3f86952357f927e2c1210 +Author: Alexander Shopov +Date: 2012-06-01 + + Updated Bulgarian translation + M po/bg.po -1161c25 Updated Serbian translation + +commit 1161c25d52a640542686ba2ded3028e0e71b25d4 +Author: Мирослав Николић +Date: 2012-06-01 + + Updated Serbian translation + M po/sr@latin.po -1fdc529 Updated Serbian translation + +commit 1fdc5299b980df70331766cdc3f81d4ad4bf6f73 +Author: Мирослав Николић +Date: 2012-06-01 + + Updated Serbian translation + M po/sr.po -4b81ce1 Remove old .cvsignore + +commit 4b81ce1be4215c29c89bddc93d1aee0c8d074ef5 +Author: Jasper St. Pierre +Date: 2012-06-01 + + Remove old .cvsignore + D Alacarte/.cvsignore -93e39e7 (tag: 0.13.4, gnome-3-4) Release 0.13.4 + +commit 93e39e71d8bfa03544464c5eae3e94b37e122aea +Author: Jasper St. Pierre +Date: 2012-06-01 + + Release 0.13.4 + M NEWS -d9d0312 MainWindow: Remove DND + +commit d9d0312a0f38bec6551d0d79d917eac389f0730b +Author: Jasper St. Pierre +Date: 2012-06-01 + + MainWindow: Remove DND + + We'll need to fix this up big time for GTK+ 3. Just drop it on + the floor for now. + M Alacarte/MainWindow.py M data/alacarte.ui -c48e0f3 MainWindow: Refactor button sensitivity code a bit -M Alacarte/MainWindow.py -a6c9ec4 Updated Polish translation + +commit c48e0f34c7b52d88ede1fdd6978c7ef70b5b4aa6 +Author: Jasper St. Pierre +Date: 2012-06-01 + + MainWindow: Refactor button sensitivity code a bit + +M Alacarte/MainWindow.py + +commit a6c9ec49b421cb1d872192e11146e0b1c57a392c +Author: Piotr Drąg +Date: 2012-06-01 + + Updated Polish translation + M po/pl.po -9e70cb2 Updated Spanish translation + +commit 9e70cb265982d3bae453c4fe4c87a7c514ed9a6a +Author: Daniel Mustieles +Date: 2012-06-01 + + Updated Spanish translation + M po/es.po -bcabaee MenuEditor: Fix creating submenus -M Alacarte/MenuEditor.py -ec28d86 MainWindow: Refactor loadMenu -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -29dd205 MenuEditor: Remove some fancy usercustom thing -M Alacarte/MenuEditor.py -311270a MenuEditor: Remove getMenu -M Alacarte/MenuEditor.py -a825a8d Remove dumb explicit checks -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -91c7dc8 NainWindow: Refactor loadItems/loadMenu + +commit bcabaee66439b4f7c7f0b44443f5d50d5b646218 +Author: Jasper St. Pierre +Date: 2012-06-01 + + MenuEditor: Fix creating submenus + +M Alacarte/MenuEditor.py + +commit ec28d8678ac091a6099ef94f6d8382f273bee9a0 +Author: Jasper St. Pierre +Date: 2012-06-01 + + MainWindow: Refactor loadMenu + + This is a lot cleaner than the hardcoded depth mess we had before + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 29dd205db0dcc26a257902b02834f1f606439cc2 +Author: Jasper St. Pierre +Date: 2012-06-01 + + MenuEditor: Remove some fancy usercustom thing + + Goodbye. + +M Alacarte/MenuEditor.py + +commit 311270a639b7ed7c48d04f8bfc77bf5461e6f22d +Author: Jasper St. Pierre +Date: 2012-06-01 + + MenuEditor: Remove getMenu + +M Alacarte/MenuEditor.py + +commit a825a8da823e99167158b08c1140d553aaa23c90 +Author: Jasper St. Pierre +Date: 2012-06-01 + + Remove dumb explicit checks + + Replace "== None" with "is None" + Replace "!= None" with "is not None" + Replace "== False" with "not" + Replace "!= False" with "" + + If I see "== True" I'm going to shoot myself. + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 91c7dc8889f60e5d3b21f3aaff23290061443d61 +Author: Jasper St. Pierre +Date: 2012-06-01 + + NainWindow: Refactor loadItems/loadMenu + + Make these methods more competent and less messy + M Alacarte/MainWindow.py M Alacarte/util.py -d342bb7 MenuEditor: Be resilient to bad XML -M Alacarte/MenuEditor.py -94ef954 desktop: Change description of alacarte + +commit d342bb73bc050a9e7d75c1b34502b49c4cd08ad8 +Author: Jasper St. Pierre +Date: 2012-06-01 + + MenuEditor: Be resilient to bad XML + + https://bugzilla.gnome.org/show_bug.cgi?id=654167 + +M Alacarte/MenuEditor.py + +commit 94ef954db2c738cf84f322297cc3357103b90d42 +Author: Jasper St. Pierre +Date: 2012-06-01 + + desktop: Change description of alacarte + + New wording suggested by Cosimo Cecchi + + https://bugzilla.gnome.org/show_bug.cgi?id=542331 + M data/alacarte.desktop.in.in -9fcdd5e MainWindow: Don't select the destination folder after a drop -M Alacarte/MainWindow.py -2964038 Move revert item code close together -M Alacarte/MenuEditor.py -39f2196 Remove Undo framework -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -76e90d5 Remove outdated icon files + +commit 9fcdd5efd398aa555a890280d99fa4a114c25f2c +Author: Jasper St. Pierre +Date: 2012-06-01 + + MainWindow: Don't select the destination folder after a drop + + Based on a patch by Antti Kaihola + + https://bugzilla.gnome.org/show_bug.cgi?id=551390 + +M Alacarte/MainWindow.py + +commit 29640389b3131822493371678f54b99e72f090ac +Author: Jasper St. Pierre +Date: 2012-06-01 + + Move revert item code close together + + Quick organizational commit + +M Alacarte/MenuEditor.py + +commit 39f2196e1a63f16241d3fc5f3233c262ccb6107c +Author: Jasper St. Pierre +Date: 2012-06-01 + + Remove Undo framework + + It was poorly implemented, and broken. I doubt anybody ever used + it, as + its only exposure on the UI was two keyboard buttons: Ctrl+Z and + Ctrl+Shift+Z. + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 76e90d529de86d7fbcfe3f598352a779a8c67aa5 +Author: Jasper St. Pierre +Date: 2012-06-01 + + Remove outdated icon files + + You can find better renders and copies in the data/ dir. + D alacarte.png D alacarte.svg -ec7f1f6 .gitignore: Update + +commit ec7f1f638c264e7486a9aaadc57cf903f16871a2 +Author: Jasper St. Pierre +Date: 2012-06-01 + + .gitignore: Update + M .gitignore -12da3cc Remove XML DOM duplicated code loading -M Alacarte/MenuEditor.py -7dc27f3 Remove semicolon -M Alacarte/MenuEditor.py -4f2698e Remove Python name mangling -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -a03feb7 Add "Utility" to Categories so that alacarte appears in the -"Accessories" menu in fallback mode, instead of "Others". + +commit 12da3ccfa4baada0ec463f1a60df7037c58db7b3 +Author: Jasper St. Pierre +Date: 2012-06-01 + + Remove XML DOM duplicated code loading + +M Alacarte/MenuEditor.py + +commit 7dc27f3109450cf6d8e49c0a386cd5ad6ab293b6 +Author: Jasper St. Pierre +Date: 2012-06-01 + + Remove semicolon + +M Alacarte/MenuEditor.py + +commit 4f2698e827102e09c6039046e76522c251aa81ce +Author: Jasper St. Pierre +Date: 2012-06-01 + + Remove Python name mangling + + Disgusting + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit a03feb7f667dbcb2c985845807628657c4910ab5 +Author: Antoine Jacoutot +Date: 2011-09-13 + + Add "Utility" to Categories so that alacarte appears in the + "Accessories" menu in fallback mode, instead of "Others". + + https://bugzilla.gnome.org/show_bug.cgi?id=658880 + M data/alacarte.desktop.in.in -10a8044 util: avoid crashing if a .desktop file has no icon defined + +commit 10a804414444ce0ab78c9d131c9945e18f559547 +Author: Alexandre Rostovtsev +Date: 2012-05-24 + + util: avoid crashing if a .desktop file has no icon defined + + https://bugzilla.gnome.org/show_bug.cgi?id=676700 + M Alacarte/util.py -b299638 MenuEditor: Fix silly typo -M Alacarte/MenuEditor.py -a26cf48 Update .gitignore + +commit b299638ee9347084f161732f7a0205fdbd51b327 +Author: Jasper St. Pierre +Date: 2012-06-01 + + MenuEditor: Fix silly typo + + The API is get_app_info() not get_info() + + https://bugzilla.gnome.org/show_bug.cgi?id=676987 + +M Alacarte/MenuEditor.py + +commit a26cf48cba34be44855aefd9f14b79a4925c1f93 +Author: Jasper St. Pierre +Date: 2012-06-01 + + Update .gitignore + M .gitignore -244c6d0 MainWindow: treeview.get_selection() in cursor-changed callbacks -can return None -M Alacarte/MainWindow.py -b97f210 configure: Remove old pygtk/pygobject-2 checks -M configure.ac -a56611b Post-release version bump -M configure.ac -072620a (tag: 0.13.3) Release 0.13.3 + +commit 244c6d0257114cdcb7349d52127c6ff2f0e4f2bc +Author: Alexandre Rostovtsev +Date: 2012-05-24 + + MainWindow: treeview.get_selection() in cursor-changed callbacks + can return None + + https://bugzilla.gnome.org/show_bug.cgi?id=676702 + +M Alacarte/MainWindow.py + +commit b97f210d8c14c9c013a30ff8f7af240acbf30a67 +Author: Alexandre Rostovtsev +Date: 2012-05-23 + + configure: Remove old pygtk/pygobject-2 checks + + https://bugzilla.gnome.org/show_bug.cgi?id=676699 + +M configure.ac + +commit a56611b113d0d19fe56139a5b8a093e2b7878961 +Author: Jasper St. Pierre +Date: 2012-05-23 + + Post-release version bump + +M configure.ac + +commit 072620af010c65c99a82e76f2a676713b7fab962 +Author: Jasper St. Pierre +Date: 2012-05-23 + + Release 0.13.3 + M NEWS M README -b345e7e Add a .gitignore + +commit b345e7e8e83891c9388e46592097695fa887b841 +Author: Jasper St. Pierre +Date: 2012-05-23 + + Add a .gitignore + D .cvsignore A .gitignore -c8f47ca Replace Travis with myself as a maintainer + +commit c8f47cadaf2b0a629521da880f5713f5d84293dc +Author: Jasper St. Pierre +Date: 2012-05-23 + + Replace Travis with myself as a maintainer + + He didn't respond in two weeks to my email about taking over + maintainership, + so I'm forcing it. Travis, if you're reading this, you can have it + back if + you really want. + M MAINTAINERS M alacarte.doap -210669f MenuEditor: Fix directory entry visibility -M Alacarte/MenuEditor.py -d9955c9 MenuEditor: Refactor out Menu into its own class -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -75522c9 MenuEditor: undo and redo lists should not be global -M Alacarte/MenuEditor.py -f20a288 MenuEditor: don't save on load -M Alacarte/MenuEditor.py -3ac2272 MenuEditor: Punt removeWhitespaceNodes somewhere else + +commit 210669f642ea8f454f6ffc7a02ec179c7eeb5eac +Author: Jasper St. Pierre +Date: 2012-05-09 + + MenuEditor: Fix directory entry visibility + +M Alacarte/MenuEditor.py + +commit d9955c993fc1e12aa973c1bf5622f97f179865b5 +Author: Jasper St. Pierre +Date: 2012-05-09 + + MenuEditor: Refactor out Menu into its own class + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 75522c95a9955f0185f70bd35e8278905a8c6195 +Author: Jasper St. Pierre +Date: 2012-05-09 + + MenuEditor: undo and redo lists should not be global + +M Alacarte/MenuEditor.py + +commit f20a288f39dfc040af324335cebba80a3d376ba1 +Author: Jasper St. Pierre +Date: 2012-05-09 + + MenuEditor: don't save on load + +M Alacarte/MenuEditor.py + +commit 3ac227258d30abbcfd57bb7e451ddbd97c35affc +Author: Jasper St. Pierre +Date: 2012-05-09 + + MenuEditor: Punt removeWhitespaceNodes somewhere else + M Alacarte/MenuEditor.py M Alacarte/util.py -4a8a14f MenuEditor: Fix up XML writing -M Alacarte/MenuEditor.py -08d0134 MenuEditor: Remove some old debugging stuff -M Alacarte/MenuEditor.py -eb3ce9a MainWindow: Remove old hack for a broken gnome-panel binary -M Alacarte/MainWindow.py -3fd3417 alacarte.in: Remove another bare except + +commit 4a8a14fe01da898d66e32e5dd3be769a8ca87553 +Author: Jasper St. Pierre +Date: 2012-05-09 + + MenuEditor: Fix up XML writing + +M Alacarte/MenuEditor.py + +commit 08d0134db621af24dc786f7daa3877ed724b3dc3 +Author: Jasper St. Pierre +Date: 2012-05-09 + + MenuEditor: Remove some old debugging stuff + +M Alacarte/MenuEditor.py + +commit eb3ce9abc34cc168d5da6532009726dbf2eeb777 +Author: Jasper St. Pierre +Date: 2012-05-09 + + MainWindow: Remove old hack for a broken gnome-panel binary + + It's long been fixed. + +M Alacarte/MainWindow.py + +commit 3fd341746ec40c73bf9c74c7f7e51d0e91092f48 +Author: Jasper St. Pierre +Date: 2012-05-02 + + alacarte.in: Remove another bare except + M alacarte.in -4218b99 MenuEditor: Fix visibility toggle switch -M Alacarte/MenuEditor.py -cf0e9ba MenuEditor: Remove unused imports -M Alacarte/MenuEditor.py -cb4f03b MenuEditor: Fix indentation, remove more print statements -M Alacarte/MenuEditor.py -8dfed6e MenuEditor: Remove regex and dynamic property madness -M Alacarte/MenuEditor.py -c6ccf40 MainWindow: work when deselecting things -M Alacarte/MainWindow.py -1abad9c util: Use GLib for xdg basedir spec stuff + +commit 4218b990084ae9c739c4516415ceacc8be918c2b +Author: Jasper St. Pierre +Date: 2012-05-02 + + MenuEditor: Fix visibility toggle switch + +M Alacarte/MenuEditor.py + +commit cf0e9ba1b72bae93eb70292c5df3e12fbe4f8889 +Author: Jasper St. Pierre +Date: 2012-05-01 + + MenuEditor: Remove unused imports + +M Alacarte/MenuEditor.py + +commit cb4f03b58c181f72aa539cc5786b808c6cacc8f8 +Author: Jasper St. Pierre +Date: 2012-05-01 + + MenuEditor: Fix indentation, remove more print statements + +M Alacarte/MenuEditor.py + +commit 8dfed6e06106a5e3ce5bffb06ded1cb1aee8cee5 +Author: Jasper St. Pierre +Date: 2012-05-01 + + MenuEditor: Remove regex and dynamic property madness + + Don't even. + +M Alacarte/MenuEditor.py + +commit c6ccf40aa8d8210a46171e82b1611956c93508cf +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: work when deselecting things + +M Alacarte/MainWindow.py + +commit 1abad9caa4f50321cdb499e71e2b1e34e7c33e8e +Author: Jasper St. Pierre +Date: 2012-05-01 + + util: Use GLib for xdg basedir spec stuff + M Alacarte/MenuEditor.py M Alacarte/util.py -39add39 Use new-style classes, clean up + +commit 39add39429370daa63971bb1805298a496497124 +Author: Jasper St. Pierre +Date: 2012-05-01 + + Use new-style classes, clean up + M Alacarte/MainWindow.py M Alacarte/MenuEditor.py M alacarte.in -31aa00b MenuEditor: Scrap unused __deleteItem -M Alacarte/MenuEditor.py -6dc0fa6 MainWindow: Fix drag/drop handlers -M Alacarte/MainWindow.py -7e5915d util: Fix get_icon + +commit 31aa00bac42edb076bf30a9d4e7ed01c0be6dfdf +Author: Jasper St. Pierre +Date: 2012-05-01 + + MenuEditor: Scrap unused __deleteItem + +M Alacarte/MenuEditor.py + +commit 6dc0fa695cbf16bc6d4f7daadec4b2f1c4f7c66b +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: Fix drag/drop handlers + +M Alacarte/MainWindow.py + +commit 7e5915df09fa38e2b702a351b2291f72a7549167 +Author: Jasper St. Pierre +Date: 2012-05-01 + + util: Fix get_icon + M Alacarte/util.py -704fe9a Remove print statements -M Alacarte/MainWindow.py -59b2bf5 MainWindow: Fix popup -M Alacarte/MainWindow.py -df21742 util: Replace our own DesktopParser with GKeyFile + +commit 704fe9afba158b1959322a50c0d90292511350ec +Author: Jasper St. Pierre +Date: 2012-05-01 + + Remove print statements + +M Alacarte/MainWindow.py + +commit 59b2bf51bb351476318c8fa95d10426b790ee4a6 +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: Fix popup + +M Alacarte/MainWindow.py + +commit df217421c15adedb9a9404c811af0cafca9d3ed5 +Author: Jasper St. Pierre +Date: 2012-05-01 + + util: Replace our own DesktopParser with GKeyFile + M Alacarte/MainWindow.py M Alacarte/MenuEditor.py M Alacarte/util.py -9e760a4 MainWindow: Remove more bare excepts -M Alacarte/MainWindow.py -2bd7e36 alacarte.ui: Remove GTK+2 things + +commit 9e760a49ddd9bacdc6d0f719c45206acd73d519b +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: Remove more bare excepts + + And remove more timeout shenanigans + +M Alacarte/MainWindow.py + +commit 2bd7e36abea999605ee8736ccfe6bdad9a50368b +Author: Jasper St. Pierre +Date: 2012-05-01 + + alacarte.ui: Remove GTK+2 things + M data/alacarte.ui -bd188fd MainWindow: Remove timer shenanigans -M Alacarte/MainWindow.py -90e605c MainWindow: Remove an unused variable -M Alacarte/MainWindow.py -0edd578 MainWindow: Require a config -M Alacarte/MainWindow.py -c62824c MainWindow: Fix imports -M Alacarte/MainWindow.py -99f9338 Use spaces for indents + +commit bd188fd969c74009504423bc0aeb45d8320eff60 +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: Remove timer shenanigans + +M Alacarte/MainWindow.py + +commit 90e605c5b1c13754ada7483a21d8316b78585e24 +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: Remove an unused variable + +M Alacarte/MainWindow.py + +commit 0edd578f0d794626216d8edb11fd30d03ca4b05a +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: Require a config + + It's not that hard, jeez. + +M Alacarte/MainWindow.py + +commit c62824c994d31f0efcd12eede335f6d0267865c7 +Author: Jasper St. Pierre +Date: 2012-05-01 + + MainWindow: Fix imports + + We need tempfile, and lose print_stack + +M Alacarte/MainWindow.py + +commit 99f933806ca171fe2e1efee27afb2640fd090e07 +Author: Jasper St. Pierre +Date: 2012-05-01 + + Use spaces for indents + + PEP8 compliance + M Alacarte/MainWindow.py M Alacarte/MenuEditor.py M Alacarte/util.py -9c73115 util: Remove unused for_properties + +commit 9c73115fbb5cc38cf44d35741e4a2f7aa3046bf9 +Author: Jasper St. Pierre +Date: 2012-05-01 + + util: Remove unused for_properties + M Alacarte/util.py -ce1ee2b port to latest gmenu / introspection + +commit ce1ee2b350189692a7a89a52d8b76047d5ae7df8 +Author: Ray Strode +Date: 2011-11-29 + + port to latest gmenu / introspection + + https://bugzilla.gnome.org/show_bug.cgi?id=626220 + M Alacarte/MainWindow.py M Alacarte/MenuEditor.py M Alacarte/util.py M configure.ac -425a3b4 Added Bodo translation + +commit 425a3b4fde6756bae8d795eca6de3be79883368c +Author: Sanjib Narzary +Date: 2012-04-30 + + Added Bodo translation + M po/LINGUAS A po/brx.po -19a2455 Updated Bulgarian translation + +commit 19a24557083ef69f6542089a174b6c7b026eb091 +Author: Alexander Shopov +Date: 2012-04-01 + + Updated Bulgarian translation + M po/bg.po -e31d30c Finnish translation update from -http://l10n.laxstrom.name/wiki/Gnome_3.4 translation sprint + +commit e31d30ce11fb44cc65870a4e96c3f7b24e2f8e29 +Author: Timo Jyrinki +Date: 2012-03-12 + + Finnish translation update from + http://l10n.laxstrom.name/wiki/Gnome_3.4 translation sprint + M po/fi.po -b10d4e4 Added Swahili translation + +commit b10d4e4b0b209ae812571fe34a5293bed08f2602 +Author: Arthur Buliva +Date: 2012-02-15 + + Added Swahili translation + M po/LINGUAS A po/sw.po -612ae56 [l10n] Updated Khmer translation + +commit 612ae567463f319275d259bd273146b315cdc1ae +Author: Khoem Sokhem +Date: 2012-02-13 + + [l10n] Updated Khmer translation + M po/km.po -f3d68b2 Khmer translation added + +commit f3d68b228f0358f8eed848840ffd7727d95f3e7d +Author: Khoem Sokhem +Date: 2012-02-13 + + Khmer translation added + M po/LINGUAS A po/km.po -157d06e Updated Norwegian bokmål translation + +commit 157d06ef7b24b06a3f96d4e055be4ab4ed6a70a9 +Author: Kjartan Maraas +Date: 2012-01-25 + + Updated Norwegian bokmål translation + M po/nb.po -bdc8651 Update Assamese translation + +commit bdc865194566055589ab67e8f658f91adfc8a893 +Author: Nilamdyuti Goswami +Date: 2011-09-22 + + Update Assamese translation + M po/as.po -515813f Updated Japanese translation + +commit 515813f16b6fd8c0e3251352d385c75e6928f78b +Author: Jiro Matsuzawa +Date: 2011-09-17 + + Updated Japanese translation + M po/ja.po -1cd4cb4 Don't need to column.clear_attributes if column was just -constructed -M Alacarte/MainWindow.py -1629b3b Fix crash TypeError: Expected Gtk.TreePath, but got StructMeta -M Alacarte/MainWindow.py -a892965 Don't use fixed height mode -M Alacarte/MainWindow.py -2d291f4 make moving items up/down work again -M Alacarte/MainWindow.py -2bf8ed0 Partially fix drag-and-drop -M Alacarte/MainWindow.py -1646c19 Fix crash in on_menu_tree_cursor_changed() -M Alacarte/MainWindow.py -2c45f58 Add properties and a delete button + +commit 1cd4cb4d0123da14cfe9a853f7a4bc291f831632 +Author: Olav Vitters +Date: 2011-08-25 + + Don't need to column.clear_attributes if column was just constructed + +M Alacarte/MainWindow.py + +commit 1629b3bdab555d3c71cf716536171de2c7e2e1c8 +Author: Olav Vitters +Date: 2011-08-24 + + Fix crash TypeError: Expected Gtk.TreePath, but got StructMeta + + Gobject introspection doesn't allow comparison between a treepath + and a + string. So avoid doing that. + +M Alacarte/MainWindow.py + +commit a892965b67d0f3be6a8c1b3a0a2944bf7653a65c +Author: Olav Vitters +Date: 2011-08-23 + + Don't use fixed height mode + + Causes problems when font size is increased (accessibility problem) + + https://bugzilla.gnome.org/show_bug.cgi?id=589385 + +M Alacarte/MainWindow.py + +commit 2d291f4339956d29f87aaaab7b808a49d82e65af +Author: Olav Vitters +Date: 2011-08-23 + + make moving items up/down work again + +M Alacarte/MainWindow.py + +commit 2bf8ed02d9cd905b55cef3a198f2df3605f63922 +Author: Olav Vitters +Date: 2011-08-23 + + Partially fix drag-and-drop + +M Alacarte/MainWindow.py + +commit 1646c1919499c4cbc4b823fdfa05659e8af3455d +Author: Alexandre Rostovtsev +Date: 2011-08-23 + + Fix crash in on_menu_tree_cursor_changed() + + This bug is caused by the fact that + treeview.get_selection().get_selected() can return a None iter + when the + selection has no rows (e.g. if the user has deselected a row by + Ctrl-clicking on it). + + The solution is to use gtk.SELECTION_BROWSE selection mode; it will + ensure that one row is always selected and valid iters are returned + from + the selection's get_selected(). + + https://bugzilla.gnome.org/show_bug.cgi?id=652454 + +M Alacarte/MainWindow.py + +commit 2c45f58234c0ab702518a434e10f8d4c8116831d +Author: Matt Jorde +Date: 2011-08-23 + + Add properties and a delete button + + https://bugzilla.gnome.org/show_bug.cgi?id=518251 + M Alacarte/MainWindow.py M data/alacarte.ui -235f896 Don't enforce a minimum size of the main window + +commit 235f8963642e4fbfb5e5bad83c3679282829d8d6 +Author: Olav Vitters +Date: 2011-08-23 + + Don't enforce a minimum size of the main window + + Only suggest a default size so the window can be made smaller. + + https://bugzilla.gnome.org/show_bug.cgi?id=621992 + M data/alacarte.ui -0f6a880 Fix several drag-and-drop usability issues -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -7c6a18c Fix erroneous selection handling below separator items -M Alacarte/MainWindow.py -49cf1a2 Don't crash when a desktop has a / in the name -M Alacarte/MenuEditor.py -8c33986 Fix Python error on startup with gnome-menus 2.91.6+ -M Alacarte/MainWindow.py -M Alacarte/MenuEditor.py -3d4bbfd Avoid icons in buttons + +commit 0f6a88025f13e02433f004bb88c1daefb6f18eb1 +Author: Lars Kruse +Date: 2011-08-22 + + Fix several drag-and-drop usability issues + + 1) drag and drop of an item from the item pane "into" a menu item + of the + item pane + + 2) moving a separator item from the item pane "into" a menu item + of the + "menu pane" + + 3) dragging an item from the item pane to another position in the item + pane (between two other items) + + https://bugzilla.gnome.org/show_bug.cgi?id=611278 + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 7c6a18c8a5170c5abc77f8bace1313578fec0d48 +Author: Lars Kruse +Date: 2011-08-22 + + Fix erroneous selection handling below separator items + + https://bugzilla.gnome.org/show_bug.cgi?id=611280 + +M Alacarte/MainWindow.py + +commit 49cf1a25227018de4878eee5ca4440c1cc0a3fac +Author: Olav Vitters +Date: 2011-08-22 + + Don't crash when a desktop has a / in the name + + Reported by Andreas Moog + + https://bugzilla.gnome.org/show_bug.cgi?id=576531 + +M Alacarte/MenuEditor.py + +commit 8c33986006604f4fa308c439466f7de9b5c9227a +Author: Josselin Mouette +Date: 2011-08-22 + + Fix Python error on startup with gnome-menus 2.91.6+ + +M Alacarte/MainWindow.py +M Alacarte/MenuEditor.py + +commit 3d4bbfd0d7c996030a9ee7028389634dcd7310a9 +Author: Andrew +Date: 2011-08-22 + + Avoid icons in buttons + + https://bugzilla.gnome.org/show_bug.cgi?id=632227 + M data/alacarte.ui -4744a4e make undo work when deleting files -M Alacarte/MenuEditor.py -b227c32 use startup notification + +commit 4744a4edf4770791ab5be643a515df15ef12074b +Author: Travis Watkins +Date: 2011-08-22 + + make undo work when deleting files + + https://bugzilla.gnome.org/show_bug.cgi?id=573680 + +M Alacarte/MenuEditor.py + +commit b227c32ba5fe7f15884c26efd47d10950d16720c +Author: Matthias Clasen +Date: 2011-08-22 + + use startup notification + M data/alacarte.desktop.in.in -eb48ea6 make drag-and-drop work again -M Alacarte/MainWindow.py -248c91d Port to GTK3/pygi + +commit eb48ea67241f7a4c27170057afd13616efcaaa6a +Author: Olav Vitters +Date: 2011-08-21 + + make drag-and-drop work again + +M Alacarte/MainWindow.py + +commit 248c91d6f752612c22f8e91108f9af78e3ec5aa1 +Author: Alex Anthony +Date: 2011-07-24 + + Port to GTK3/pygi + + Still needs a load of changes to configure properly + Also, drag and drop isn't working - see note at top of MainWindow + M Alacarte/MainWindow.py M Alacarte/util.py -69cad9c New translation for Zulu (zu) + +commit 69cad9c1c53f23d85f538e9d849870fc935c76b2 +Author: Priscilla Mahlangu +Date: 2011-07-29 + + New translation for Zulu (zu) + M po/LINGUAS A po/zu.po -7bcac66 Updated Belarusian translation. + +commit 7bcac66839a9e22e6144fab5aec5033c8fc9a44f +Author: Ihar Hrachyshka +Date: 2011-07-24 + + Updated Belarusian translation. + M po/be.po -3cd92ca Use AM_SILENT_RULES + +commit 3cd92cab64d2dcc3756d7566822ed0bc5c8722ef +Author: Thomas Hindoe Paaboel Andersen +Date: 2010-01-16 + + Use AM_SILENT_RULES + M Alacarte/Makefile.am M Makefile.am M configure.ac -8cffcac Don't use a hardcoded path in /tmp -M Alacarte/MainWindow.py -14ac611 Updated Persian translation + +commit 8cffcacf24ee96689c60042e48ef919c7575549c +Author: Colin Walters +Date: 2011-05-04 + + Don't use a hardcoded path in /tmp + +M Alacarte/MainWindow.py + +commit 14ac6114f673fb2c2a81831b570265ece2e160a8 +Author: Arash Mousavi +Date: 2011-04-22 + + Updated Persian translation + M po/fa.po -36d7060 Updated Esperanto translation + +commit 36d7060307a7556eaab09cc76003f4eb0e28ada9 +Author: Kristjan SCHMIDT +Date: 2011-04-03 + + Updated Esperanto translation + M po/eo.po -5e2119a Added UG translation + +commit 5e2119af23d52b676f91d656c735116a933d7156 +Author: Abduxukur Abdurixit +Date: 2011-03-27 + + Added UG translation + M po/ug.po -7e91f83 Reviewed Serbian Translation + +commit 7e91f8352fbe7e207c8f134e4a5c216c3fa16206 +Author: Мирослав Николић +Date: 2011-03-18 + + Reviewed Serbian Translation + M po/sr.po M po/sr@latin.po -16d3a21 Updated Polish translation + +commit 16d3a21da936eaa0f7ae04926c6d4d9f1f75d6df +Author: Piotr Drąg +Date: 2011-02-11 + + Updated Polish translation + M po/pl.po -703ffd2 Add 'af' translation to LINGUAS + +commit 703ffd21f894def0fc0dd714b4f242d7f07d09b4 +Author: Friedel Wolff +Date: 2011-01-30 + + Add 'af' translation to LINGUAS + M po/LINGUAS -3f8c546 New Afrikaans (af) translation + +commit 3f8c546d9c43687e1e0b9854f424a3f4de1ecbd5 +Author: Friedel Wolff +Date: 2011-01-30 + + New Afrikaans (af) translation + A po/af.po -329513d QA of Galician translations + +commit 329513df938076928972731612b9a0b9e4c96640 +Author: Fran Diéguez +Date: 2011-01-26 + + QA of Galician translations + M po/gl.po -fbef651 Added UG translation + +commit fbef651de13acbd760e93324d3cbf38d8c99ce2d +Author: Gheyret T.Kenji +Date: 2010-12-23 + + Added UG translation + M po/ug.po -7edf173 Updated Traditional Chinese translation(Hong Kong and Taiwan) + +commit 7edf173ff0b46c7f11efe74129ff4d1f180d1114 +Author: Wei-Lun Chao +Date: 2010-12-09 + + Updated Traditional Chinese translation(Hong Kong and Taiwan) + M po/zh_HK.po M po/zh_TW.po -abdbfdc Added UG translation + +commit abdbfdc5e980e9ec6a865ec0de545158bec34ea7 +Author: Gheyret T.Kenji +Date: 2010-11-20 + + Added UG translation + M po/ug.po -809ba83 Added UG translation + +commit 809ba83baf8a27769a7e651a91cc85af2a2f4c06 +Author: Gheyret T.Kenji +Date: 2010-11-13 + + Added UG translation + M po/ug.po -41f66e2 Added UG translation + +commit 41f66e2db4d2e2b1509e4572e60dd95c4e5484fd +Author: Gheyret T.Kenji +Date: 2010-10-23 + + Added UG translation + M po/ug.po -7f56a96 Updated Catalan (Valencian) translation + +commit 7f56a96be94b39feacb93e3fa9f16d0e97241052 +Author: Carles Ferrando +Date: 2010-10-23 + + Updated Catalan (Valencian) translation + M po/ca@valencia.po -84441ca Added Kikongo translation + +commit 84441ca5666cb01a1341a2a55aaaedfac1aa0a37 +Author: Kibavuidi Nsiangani +Date: 2010-10-05 + + Added Kikongo translation + M po/LINGUAS A po/kg.po -7537d28 Updated Japanese translation + +commit 7537d28bb2bcabbf41fdcc1f226adc4ea1edad4c +Author: Takayuki KUSANO +Date: 2010-09-20 + + Updated Japanese translation + M po/ja.po -3c309f8 Post-release version bump -M configure.ac -33f01dc (tag: 0.13.2) Release 0.13.2 + +commit 3c309f81ec4e170f8d1ee69c6df43640edf13ea3 +Author: Cosimo Cecchi +Date: 2010-09-15 + + Post-release version bump + +M configure.ac + +commit 33f01dc417c4c89981a131cb4c35d6e0246fccba +Author: Cosimo Cecchi +Date: 2010-09-15 + + Release 0.13.2 + M NEWS M README -7e722ca Updated Kazakh translation + +commit 7e722ca932502c7cb383e4a14fb51ffbed2eb3fe +Author: Baurzhan Muftakhidinov +Date: 2010-09-15 + + Updated Kazakh translation + M po/kk.po -d462a2c Updated Indonesian translation + +commit d462a2cfa6ae2813a9b7c14d14039903acf91ab4 +Author: Dirgita +Date: 2010-08-31 + + Updated Indonesian translation + M po/id.po -75741ab Make this build against python 2.7 also -M configure.ac -80de86f Updated Turkish translation + +commit 75741abd538aaaf4c0a0973331ec90f28b2f3028 +Author: Kjartan Maraas +Date: 2010-08-20 + + Make this build against python 2.7 also + +M configure.ac + +commit 80de86fe2069baecca444c30304b9b6fdda84074 +Author: Baris Cicek +Date: 2010-08-15 + + Updated Turkish translation + M po/tr.po -f85c54f Fixed headers in galician translation file + +commit f85c54f95d841028a90c6c2f86b64cadb6c7dcdc +Author: Fran Diéguez +Date: 2010-07-18 + + Fixed headers in galician translation file + M po/gl.po -76a21cd Updated Frisian translation and added it to the LINGUAS file + +commit 76a21cd02c7730c091b3c4a014b570163e7ad384 +Author: Sense Hofstede +Date: 2010-07-18 + + Updated Frisian translation and added it to the LINGUAS file + M po/LINGUAS A po/fy.po -45064dd Updated Kazakh translation for alacarte + +commit 45064dddccf6147d2003673917b97293fc60e6d0 +Author: Baurzhan Muftakhidinov +Date: 2010-07-13 + + Updated Kazakh translation for alacarte + M po/kk.po -816a859 Updated Esperanto translation + +commit 816a85929e884d537c917df35c38534ccb3c10cc +Author: Kristjan Schmidt +Date: 2010-06-05 + + Updated Esperanto translation + M po/eo.po -7825f7d Added Armenian translation - po file. Modified LINGUAG. + +commit 7825f7dde5ae2510e5021da6d44f41f3536c82ba +Author: noch +Date: 2010-05-31 + + Added Armenian translation - po file. Modified LINGUAG. + M po/LINGUAS A po/hy.po -d614e22 Updated Shavian transliteration + +commit d614e226af45e52e54d7c5cdf3b1c6716a540140 +Author: Thomas Thurman +Date: 2010-05-12 + + Updated Shavian transliteration + M po/en@shaw.po -fd99492 updated breton translation + +commit fd994924036a011d1ec59fcaccbfb6ee53e45008 +Author: Denis ARNAUD +Date: 2010-05-11 + + updated breton translation + M po/br.po -efa26e3 Added Aragonese translation + +commit efa26e3e97c3c08de4e179664594aeface049b8c +Author: Daniel Martinez Cucalon +Date: 2010-04-30 + + Added Aragonese translation + M po/LINGUAS A po/an.po -cdcfec0 Added UG translation + +commit cdcfec0c596148e5aa6345b78ea90d1eb2752779 +Author: Gheyret Kenji +Date: 2010-04-24 + + Added UG translation + M po/ug.po -d4dc392 Added UG translation + +commit d4dc3927e077edfa92cd7995f4201b483d6631af +Author: Gheyret Kenji +Date: 2010-04-24 + + Added UG translation + M po/LINGUAS -3094dc9 Fix doap file + +commit 3094dc906435d7c538a740c0f58cc03f1955ab91 +Author: Olav Vitters +Date: 2010-04-18 + + Fix doap file + M alacarte.doap -39172c2 Updated Slovenian translation + +commit 39172c2ea5f2c2463eff850e99b4de1f043fc987 +Author: Matej Urbančič +Date: 2010-04-15 + + Updated Slovenian translation + M po/sl.po -0c8aa8a Post-release version bump. -M configure.ac -bfa2e26 (tag: 0.13.1) Prepare for 0.13.1 release. + +commit 0c8aa8a2fb3d39c7f48e406e8b14638099c09338 +Author: Cosimo Cecchi +Date: 2010-03-29 + + Post-release version bump. + +M configure.ac + +commit bfa2e26c0bfedfc8896fc1e576dd197a9c7a8c55 +Author: Cosimo Cecchi +Date: 2010-03-29 + + Prepare for 0.13.1 release. + M NEWS M README -12ce243 Added UG translation + +commit 12ce24381dc5eb89d50f4c71d4ca06cac51fec5e +Author: Gheyret Kenji +Date: 2010-03-28 + + Added UG translation + M po/ug.po -c4446c4 Added UG translation + +commit c4446c4419b994a5dce76b57f892ba671f7da735 +Author: Gheyret Kenji +Date: 2010-03-28 + + Added UG translation + A po/ug.po -924c7a3 Updated Bengali translation + +commit 924c7a3e6cf125bd5216c459e68e001189057ae6 +Author: Jamil Ahmed +Date: 2010-03-28 + + Updated Bengali translation + M po/bn.po -9cb9471 Updated Mongolian translation + +commit 9cb947199a891262d4c09839b900c4c72108e5bc +Author: Badral Sanligiin +Date: 2010-03-22 + + Updated Mongolian translation + M po/mn.po -c0d3425 Updated Korean translation + +commit c0d3425cba6b83dde669fc0e2b37e5aa2b2334d2 +Author: Changwoo Ryu +Date: 2010-03-07 + + Updated Korean translation + M po/ko.po -44e7b9f Add Malaj translation. Fixes bug 610933. + +commit 44e7b9fd70a32b3b7d4a4fea072c80756212a159 +Author: Umarzuki bin Mochlis Moktar +Date: 2010-03-03 + + Add Malaj translation. Fixes bug 610933. + M po/LINGUAS A po/ms.po -b6ae338 Updated Polish translation + +commit b6ae338520ee25374eb4fc08d37f5f26b6b14dfe +Author: Piotr Drąg +Date: 2010-02-24 + + Updated Polish translation + M po/pl.po -9f3a36d Updated Galician Translation + +commit 9f3a36def5a0659bb70616807fba21e7f3f79593 +Author: Fran Diéguez +Date: 2010-02-12 + + Updated Galician Translation + M po/gl.po -ab358e7 Update Romanian translation + +commit ab358e71637a35bfd93d3726b83b151171554796 +Author: Adi Roiban +Date: 2009-11-28 + + Update Romanian translation + M po/ro.po -2e3f9d7 Shavian translation + +commit 2e3f9d735638bcbb92e7fce5f4e338de142e64ae +Author: Thomas Thurman +Date: 2009-11-01 + + Shavian translation + M po/LINGUAS A po/en@shaw.po -b319a22 Fix initialization of i18n. Fixes bug #596098 -M Alacarte/MainWindow.py -05dfdd9 Start 0.13 development version. -M configure.ac -0daf1d6 (tag: ALACARTE_0_12_4) Prepare for 0.12.4 release. + +commit b319a224cf5b9cd35f144736a703cd9240ef35a0 +Author: Gabor Kelemen +Date: 2009-09-23 + + Fix initialization of i18n. Fixes bug #596098 + +M Alacarte/MainWindow.py + +commit 05dfdd943294868c5c4a067d170e1e6cd7652287 +Author: Cosimo Cecchi +Date: 2009-09-21 + + Start 0.13 development version. + +M configure.ac + +commit 0daf1d6addb692dc43076077e35e6ca78484151c +Author: Cosimo Cecchi +Date: 2009-09-21 + + Prepare for 0.12.4 release. + M NEWS -657ab0f Updated German translation + +commit 657ab0fd19e7f267a188e14fbe028176aaacce9b +Author: Niels-Christoph Fiedler +Date: 2009-09-16 + + Updated German translation + M po/nds.po -34dfdca Updated Kurdish translation + +commit 34dfdca0b4fe129956355e8f775f406d62a42da4 +Author: Erdal Ronahi +Date: 2009-09-15 + + Updated Kurdish translation + M po/ku.po -e5c70d1 maithili added + +commit e5c70d103f07be0bbc8f18b0c0ccb32fe1df334a +Author: Rajesh Ranjan +Date: 2009-09-11 + + maithili added + M po/LINGUAS A po/mai.po -39ae6cb hindi update by Rajesh Ranjan + +commit 39ae6cb9a658f5965331668772a356323ad0016b +Author: Rajesh Ranjan +Date: 2009-09-11 + + hindi update by Rajesh Ranjan + M po/hi.po -d76145d Post release version bump + +commit d76145d44847f0923ef1acd19b3a609f61f467f2 +Author: Cosimo Cecchi +Date: 2009-09-08 + + Post release version bump + M README M configure.ac -25e5ae1 (tag: ALACARTE_0_12_3) Update NEWS for 0.12.3 + +commit 25e5ae1d7372383e63824b6d66ae3c8bd32430b8 +Author: Cosimo Cecchi +Date: 2009-09-08 + + Update NEWS for 0.12.3 + M NEWS -3554a17 Set the translation domain to GtkBuilder + +commit 3554a17989e83873476c9941851c75de8c437195 +Author: Cosimo Cecchi +Date: 2009-09-08 + + Set the translation domain to GtkBuilder + M Alacarte/MainWindow.py M Alacarte/Makefile.am M Alacarte/config.py.in -2cb4530 Post release version bump + +commit 2cb45302494a7da05fb1f52a64e3e8723cfc561b +Author: Cosimo Cecchi +Date: 2009-09-08 + + Post release version bump + M README M configure.ac -e660ce7 (tag: ALACARTE_0_12_2) Update NEWS and README for 0.12.2 + +commit e660ce7a0a07da2c783e403bca16d11807f89ee9 +Author: Cosimo Cecchi +Date: 2009-09-08 + + Update NEWS and README for 0.12.2 + M NEWS M README -8f40679 Generate config.h -M configure.ac -1a21a0a Use display name instead of name for menu items + +commit 8f40679b2237b7f8a2d3aae36ccc832a502614eb +Author: Cosimo Cecchi +Date: 2009-09-08 + + Generate config.h + +M configure.ac + +commit 1a21a0a5b36b0402b284f364a5e759a3e01a4c76 +Author: Vincent Untz +Date: 2009-09-08 + + Use display name instead of name for menu items + + This enables us to display the X-GNOME-FullName key instead of + the Name + key when available. + + This change requires gnome-menus 2.27.92. + + http://bugzilla.gnome.org/show_bug.cgi?id=594443 + M Alacarte/MainWindow.py M Alacarte/MenuEditor.py M configure.ac -e8d0dad Updated Brazilian Portuguese mailing list address. + +commit e8d0dadcf57a145a9673b0bde7e9ff1062b90886 +Author: Rodrigo L. M. Flores +Date: 2009-08-30 + + Updated Brazilian Portuguese mailing list address. + M po/pt_BR.po -dff9e79 Remove obsolete nds_NFE translation + +commit dff9e797bcb4ffbf4f27b6b867b636db226b30d9 +Author: Andre Klapper +Date: 2009-08-24 + + Remove obsolete nds_NFE translation + D po/nds_NFE.po -1620c40 Change nds_NFE to nds as discussed on irc + +commit 1620c40fef4e78e7b7707bd0fda3e6f9a1859df9 +Author: Andre Klapper +Date: 2009-08-24 + + Change nds_NFE to nds as discussed on irc + M po/LINGUAS A po/nds.po -a126e86 Updated breton translation + +commit a126e864212fe9876e2f46cd1377ecd2a6e30964 +Author: Denis Arnaud +Date: 2009-08-23 + + Updated breton translation + A po/br.po -2dab422 Added br in LINGUAS file + +commit 2dab42203435559094e180020843fe7f34f2e2d9 +Author: Denis Arnaud +Date: 2009-08-21 + + Added br in LINGUAS file + M po/LINGUAS -41898e1 Added Low German translation + +commit 41898e14a66b4adf6e5d634582cf7a0b24f25975 +Author: Nils-Christoph Fiedler +Date: 2009-08-22 + + Added Low German translation + M po/LINGUAS A po/nds_NFE.po -96127ca Remove obsolete Encoding key from desktop file + +commit 96127ca05ff47477fd4fe503f69c940bf41622d6 +Author: Frédéric Péters +Date: 2009-08-22 + + Remove obsolete Encoding key from desktop file + M data/alacarte.desktop.in.in -3ae66dd Added Catalan (Valencian) translation + +commit 3ae66dd2600c42f05a4f5c7d72ac33dcd842f5b1 +Author: Carles Ferrando +Date: 2009-08-09 + + Added Catalan (Valencian) translation + M po/LINGUAS A po/ca@valencia.po -12086bd Added Welsh (cy) translation. + +commit 12086bd6d1de89d61ba78b8b03b530bb7ab4ab35 +Author: Iestyn Pryce +Date: 2009-07-31 + + Added Welsh (cy) translation. + M po/LINGUAS A po/cy.po -c7405b2 Updated Bengali translation + +commit c7405b2aa6d59a537b91268082a4f9fde98e31e7 +Author: Jamil Ahmed +Date: 2009-07-28 + + Updated Bengali translation + M po/bn.po -a4f373d Updated Spanish translation + +commit a4f373dc03c84f2f29cdb923bab1cca68fb8921f +Author: Jorge González +Date: 2009-07-07 + + Updated Spanish translation + M po/es.po -219a6a3 Updated Swedish translation + +commit 219a6a3400579863c2a280d00571f282efd7956d +Author: Daniel Nylander +Date: 2009-07-07 + + Updated Swedish translation + M po/sv.po -f047b36 po/vi.po: updated Vietnamese translation + +commit f047b36efc90d24dffa175d590a93d4e898da6bd +Author: Bùi Xuân Dương +Date: 2009-06-22 + + po/vi.po: updated Vietnamese translation + M po/vi.po -8638504 po/vi.po: updated Vietnamese translation + +commit 8638504e7a7807afc64c0cf79b84b2df1b2d3208 +Author: Bùi Xuân Dương +Date: 2009-06-22 + + po/vi.po: updated Vietnamese translation + M po/vi.po -c341fcc post release bump to 0.12.2 -M configure.ac -64964e5 (tag: ALACARTE_0_12_1) Forgot to update NEWS and README + +commit c341fcc6741cbe05a0a4b609251bd4b53ac9af39 +Author: Cosimo Cecchi +Date: 2009-05-04 + + post release bump to 0.12.2 + +M configure.ac + +commit 64964e5e68e707576ab347f74565e5b997d1a43c +Author: Cosimo Cecchi +Date: 2009-05-04 + + Forgot to update NEWS and README + M NEWS M README -e794fef post release bump to 0.12.1 -M configure.ac -7dffab1 (tag: ALACARTE_0_12_0) Remove the ChangeLog file in distclean + +commit e794fefdd0ff5f65c3c84c69a069f65d73492100 +Author: Cosimo Cecchi +Date: 2009-05-04 + + post release bump to 0.12.1 + +M configure.ac + +commit 7dffab1b68fcd57594d344dddc10d46001fe7f66 +Author: Cosimo Cecchi +Date: 2009-05-04 + + Remove the ChangeLog file in distclean + M Makefile.am -6f31ba0 Drop libglade dependency + +commit 6f31ba0005252505b8adba413734af889ebdd2d6 +Author: Cosimo Cecchi +Date: 2009-05-04 + + Drop libglade dependency + + Use GtkBuilder instead of Glade. + Patch by Andreu Correa Casablanca (#577911). + M Alacarte/MainWindow.py M data/Makefile.am D data/alacarte.glade A data/alacarte.ui M po/POTFILES.in -156cd7f Generate the ChangeLog from git log + +commit 156cd7f59a3ef413423cbb0cd72f2ccc72f3b1ea +Author: Cosimo Cecchi +Date: 2009-05-04 + + Generate the ChangeLog from git log + R100 ChangeLog ChangeLog.pre-git M Makefile.am -a4a5e46 Bump to 0.12.0 + +commit a4a5e46721bfa61c8fe7f2462e5b84501c68990e +Author: Cosimo Cecchi +Date: 2009-05-04 + + Bump to 0.12.0 + M configure.ac diff -Nru alacarte-3.10.0/compile alacarte-3.11.91/compile --- alacarte-3.10.0/compile 1970-01-01 10:00:00.000000000 +1000 +++ alacarte-3.11.91/compile 2014-03-04 00:02:18.000000000 +1100 @@ -0,0 +1,347 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2012-10-14.11; # UTC + +# Copyright (C) 1999-2013 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 +# . + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + 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'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +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 $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +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 + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || 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: diff -Nru alacarte-3.10.0/configure alacarte-3.11.91/configure --- alacarte-3.10.0/configure 2013-09-25 03:08:36.000000000 +1000 +++ alacarte-3.11.91/configure 2014-03-04 00:02:15.000000000 +1100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for alacarte 3.10.0. +# Generated by GNU Autoconf 2.69 for alacarte 3.11.91. # # Report bugs to . # @@ -581,8 +581,8 @@ # Identity of this package. PACKAGE_NAME='alacarte' PACKAGE_TARNAME='alacarte' -PACKAGE_VERSION='3.10.0' -PACKAGE_STRING='alacarte 3.10.0' +PACKAGE_VERSION='3.11.91' +PACKAGE_STRING='alacarte 3.11.91' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte' PACKAGE_URL='' @@ -627,6 +627,9 @@ am__EXEEXT_TRUE LTLIBOBJS LIBOBJS +BUILD_DOCUMENTATION_FALSE +BUILD_DOCUMENTATION_TRUE +XSLTPROC ALACARTE_LIBS ALACARTE_CFLAGS PKG_CONFIG_LIBDIR @@ -788,6 +791,7 @@ enable_maintainer_mode enable_dependency_tracking enable_nls +enable_documentation ' ac_precious_vars='build_alias host_alias @@ -1343,7 +1347,7 @@ # 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 alacarte 3.10.0 to adapt to many kinds of systems. +\`configure' configures alacarte 3.11.91 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1409,7 +1413,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of alacarte 3.10.0:";; + short | recursive ) echo "Configuration of alacarte 3.11.91:";; esac cat <<\_ACEOF @@ -1427,6 +1431,7 @@ --disable-dependency-tracking speeds up one-time build --disable-nls do not use Native Language Support + --enable-documentation build documentation Some influential environment variables: CC C compiler command @@ -1513,7 +1518,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -alacarte configure 3.10.0 +alacarte configure 3.11.91 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1882,7 +1887,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by alacarte $as_me 3.10.0, which was +It was created by alacarte $as_me 3.11.91, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2272,7 +2277,7 @@ ac_config_headers="$ac_config_headers config.h" -am__api_version='1.13' +am__api_version='1.14' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -2748,7 +2753,7 @@ # Define the identity of the package. PACKAGE='alacarte' - VERSION='3.10.0' + VERSION='3.11.91' cat >>confdefs.h <<_ACEOF @@ -2799,6 +2804,47 @@ +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: . + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi { $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; } @@ -3685,6 +3731,65 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +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 whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +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 + + depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 @@ -6356,7 +6461,68 @@ fi -ac_config_files="$ac_config_files Makefile po/Makefile.in Alacarte/Makefile data/alacarte.desktop.in data/Makefile data/icons/Makefile" +# Check whether --enable-documentation was given. +if test "${enable_documentation+set}" = set; then : + enableval=$enable_documentation; +else + enable_documentation=yes +fi + +if test x$enable_documentation = xyes; then + # Extract the first word of "xsltproc", so it can be a program name with args. +set dummy xsltproc; 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_XSLTPROC+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $XSLTPROC in + [\\/]* | ?:[\\/]*) + ac_cv_path_XSLTPROC="$XSLTPROC" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_XSLTPROC="$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 +XSLTPROC=$ac_cv_path_XSLTPROC +if test -n "$XSLTPROC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 +$as_echo "$XSLTPROC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + if test x$XSLTPROC = x; then + as_fn_error $? "xsltproc is required to build documentation" "$LINENO" 5 + fi +fi + if test x$enable_documentation = xyes; then + BUILD_DOCUMENTATION_TRUE= + BUILD_DOCUMENTATION_FALSE='#' +else + BUILD_DOCUMENTATION_TRUE='#' + BUILD_DOCUMENTATION_FALSE= +fi + + +ac_config_files="$ac_config_files Makefile po/Makefile.in Alacarte/Makefile data/alacarte.desktop.in data/Makefile data/icons/Makefile man/Makefile" cat >confcache <<\_ACEOF @@ -6500,6 +6666,10 @@ ac_config_commands="$ac_config_commands po/stamp-it" +if test -z "${BUILD_DOCUMENTATION_TRUE}" && test -z "${BUILD_DOCUMENTATION_FALSE}"; then + as_fn_error $? "conditional \"BUILD_DOCUMENTATION\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 @@ -6897,7 +7067,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by alacarte $as_me 3.10.0, which was +This file was extended by alacarte $as_me 3.11.91, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -6963,7 +7133,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -alacarte config.status 3.10.0 +alacarte config.status 3.11.91 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -7102,6 +7272,7 @@ "data/alacarte.desktop.in") CONFIG_FILES="$CONFIG_FILES data/alacarte.desktop.in" ;; "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; + "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; diff -Nru alacarte-3.10.0/configure.ac alacarte-3.11.91/configure.ac --- alacarte-3.10.0/configure.ac 2013-09-25 03:07:36.000000000 +1000 +++ alacarte-3.11.91/configure.ac 2014-03-04 00:01:44.000000000 +1100 @@ -1,7 +1,7 @@ dnl -*- Mode: autoconf -*- dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.53) -AC_INIT(alacarte, 3.10.0, http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte) +AC_INIT(alacarte, 3.11.91, http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) AC_CONFIG_SRCDIR(alacarte.in) AC_CONFIG_HEADERS([config.h]) @@ -22,6 +22,18 @@ PKG_CHECK_MODULES(ALACARTE, libgnome-menu-3.0 >= 3.5.3 pygobject-3.0) +AC_ARG_ENABLE(documentation, + AS_HELP_STRING([--enable-documentation], + [build documentation]),, + enable_documentation=yes) +if test x$enable_documentation = xyes; then + AC_PATH_PROG([XSLTPROC], [xsltproc]) + if test x$XSLTPROC = x; then + AC_MSG_ERROR([xsltproc is required to build documentation]) + fi +fi +AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes) + AC_CONFIG_FILES([ Makefile po/Makefile.in @@ -29,6 +41,7 @@ data/alacarte.desktop.in data/Makefile data/icons/Makefile + man/Makefile ]) AC_OUTPUT diff -Nru alacarte-3.10.0/data/alacarte.ui alacarte-3.11.91/data/alacarte.ui --- alacarte-3.10.0/data/alacarte.ui 2013-09-03 23:23:58.000000000 +1000 +++ alacarte-3.11.91/data/alacarte.ui 2014-02-18 10:04:03.000000000 +1100 @@ -51,22 +51,6 @@ False 6 - - gtk-help - True - True - True - False - True - - - - False - True - 0 - - - gtk-close True @@ -93,7 +77,7 @@ False Restore the default menu layout True - + False diff -Nru alacarte-3.10.0/data/icons/Makefile.in alacarte-3.11.91/data/icons/Makefile.in --- alacarte-3.10.0/data/icons/Makefile.in 2013-09-25 03:08:35.000000000 +1000 +++ alacarte-3.11.91/data/icons/Makefile.in 2014-03-04 00:02:18.000000000 +1100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.13.4 from Makefile.am. +# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -196,6 +196,7 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ +XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ diff -Nru alacarte-3.10.0/data/Makefile.in alacarte-3.11.91/data/Makefile.in --- alacarte-3.10.0/data/Makefile.in 2013-09-25 03:08:35.000000000 +1000 +++ alacarte-3.11.91/data/Makefile.in 2014-03-04 00:02:18.000000000 +1100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.13.4 from Makefile.am. +# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -285,6 +285,7 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ +XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ diff -Nru alacarte-3.10.0/debian/changelog alacarte-3.11.91/debian/changelog --- alacarte-3.10.0/debian/changelog 2014-04-11 22:03:25.000000000 +1000 +++ alacarte-3.11.91/debian/changelog 2014-05-30 15:01:46.000000000 +1000 @@ -1,3 +1,11 @@ +alacarte (3.11.91-0ubuntu1) utopic; urgency=medium + + * New upstream release. LP: #1298068 + * Drop patches taken from upstream git + * Add build-depends on xsltproc, docbook-xsl. + + -- Jackson Doak Fri, 30 May 2014 14:44:58 +1000 + alacarte (3.10.0-1ubuntu2) trusty; urgency=medium * Backport upstream patches to: diff -Nru alacarte-3.10.0/debian/control alacarte-3.11.91/debian/control --- alacarte-3.10.0/debian/control 2014-04-11 22:37:20.000000000 +1000 +++ alacarte-3.11.91/debian/control 2014-05-30 15:01:54.000000000 +1000 @@ -5,13 +5,16 @@ Source: alacarte Section: utils Priority: optional -Maintainer: Debian GNOME Maintainers -Uploaders: Josselin Mouette , Laurent Bigonville , Michael Biebl +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian GNOME Maintainers +Uploaders: Debian GNOME Maintainers , Laurent Bigonville , Michael Biebl Build-Depends: cdbs (>= 0.4.90~), autotools-dev, debhelper (>= 8), python (>= 2.6.6-3~), - gnome-pkg-tools + gnome-pkg-tools, + xsltproc, + docbook-xsl Build-Depends-Indep: intltool (>= 0.40.0), gettext, libgnome-menu-3-dev (>= 3.5.3), diff -Nru alacarte-3.10.0/debian/control.in alacarte-3.11.91/debian/control.in --- alacarte-3.10.0/debian/control.in 2013-12-18 02:40:09.000000000 +1100 +++ alacarte-3.11.91/debian/control.in 2014-05-30 14:56:31.000000000 +1000 @@ -1,13 +1,16 @@ Source: alacarte Section: utils Priority: optional -Maintainer: Debian GNOME Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian GNOME Maintainers Uploaders: @GNOME_TEAM@ Build-Depends: cdbs (>= 0.4.90~), autotools-dev, debhelper (>= 8), python (>= 2.6.6-3~), - gnome-pkg-tools + gnome-pkg-tools, + xsltproc, + docbook-xsl Build-Depends-Indep: intltool (>= 0.40.0), gettext, libgnome-menu-3-dev (>= 3.5.3), diff -Nru alacarte-3.10.0/debian/patches/git-fix-creating-new-items.patch alacarte-3.11.91/debian/patches/git-fix-creating-new-items.patch --- alacarte-3.10.0/debian/patches/git-fix-creating-new-items.patch 2014-04-11 22:02:43.000000000 +1000 +++ alacarte-3.11.91/debian/patches/git-fix-creating-new-items.patch 1970-01-01 10:00:00.000000000 +1000 @@ -1,34 +0,0 @@ -From 1166883e5d7fcfc24ce24b5f5b158053c59be7a2 Mon Sep 17 00:00:00 2001 -From: Matthias Clasen -Date: Thu, 27 Feb 2014 19:29:49 -0500 -Subject: Fix creating new items - -Just as for menus, the code to insert the new item in -the right place was dropped in refactoring. -Bring it back. - -https://bugzilla.gnome.org/show_bug.cgi?id=725360 - ---- a/Alacarte/MainWindow.py -+++ b/Alacarte/MainWindow.py -@@ -258,11 +258,19 @@ - menu_tree.get_selection().select_path((0,)) - else: - parent = menus[iter][2] -- file_path = os.path.join(util.getUserItemPath(), util.getUniqueFileId('alacarte-made', '.desktop')) -+ file_name = util.getUniqueFileId('alacarte-made', '.desktop') -+ file_path = os.path.join(util.getUserItemPath(), file_name) - - editor = LauncherEditor(self.main_window, file_path) -+ editor.file_name = file_name; -+ editor.parent = parent.get_menu_id() -+ editor.connect ('response', self.on_item_created) - editor.run() - -+ def on_item_created(self, editor, response): -+ if response == True: -+ self.editor.insertExternalItem(editor.file_name, editor.parent) -+ - def on_new_separator_button_clicked(self, button): - item_tree = self.tree.get_object('item_tree') - items, iter = item_tree.get_selection().get_selected() diff -Nru alacarte-3.10.0/debian/patches/git-fix-creating-new-menus.patch alacarte-3.11.91/debian/patches/git-fix-creating-new-menus.patch --- alacarte-3.10.0/debian/patches/git-fix-creating-new-menus.patch 2014-04-11 22:01:56.000000000 +1000 +++ alacarte-3.11.91/debian/patches/git-fix-creating-new-menus.patch 1970-01-01 10:00:00.000000000 +1000 @@ -1,40 +0,0 @@ -From fd2c16c3929e57f5f2071ed3bc36f02c77930bab Mon Sep 17 00:00:00 2001 -From: Matthias Clasen -Date: Wed, 26 Feb 2014 20:29:51 -0500 -Subject: Fix creating new menus - -We were still creating the .directory file, but some -refactoring dropped the code that inserted the menu -into the menu tree. Bring it back. - -https://bugzilla.gnome.org/show_bug.cgi?id=725287 - -diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py -index aa36aaa..a0c884c 100644 ---- a/Alacarte/MainWindow.py -+++ b/Alacarte/MainWindow.py -@@ -239,11 +239,19 @@ class MainWindow(object): - menu_tree.get_selection().select_path((0,)) - else: - parent = menus[iter][2] -- file_path = os.path.join(util.getUserDirectoryPath(), util.getUniqueFileId('alacarte-made', '.directory')) -+ file_name = util.getUniqueFileId('alacarte-made', '.directory') -+ file_path = os.path.join(util.getUserDirectoryPath(), file_name) - - editor = DirectoryEditor(self.main_window, file_path) -+ editor.file_name = file_name; -+ editor.parent = parent.get_menu_id() -+ editor.connect ('response', self.on_directory_created) - editor.run() - -+ def on_directory_created(self, editor, response): -+ if response == True: -+ self.editor.insertExternalMenu(editor.file_name, editor.parent) -+ - def on_new_item_button_clicked(self, button): - menu_tree = self.tree.get_object('menu_tree') - menus, iter = menu_tree.get_selection().get_selected() --- -cgit v0.10.1 - - diff -Nru alacarte-3.10.0/debian/patches/git-make-the-restore-button-work.patch alacarte-3.11.91/debian/patches/git-make-the-restore-button-work.patch --- alacarte-3.10.0/debian/patches/git-make-the-restore-button-work.patch 2014-04-11 22:00:52.000000000 +1000 +++ alacarte-3.11.91/debian/patches/git-make-the-restore-button-work.patch 1970-01-01 10:00:00.000000000 +1000 @@ -1,25 +0,0 @@ -From ba22fb0db948a65f19a22fc3e6f390d336a11eac Mon Sep 17 00:00:00 2001 -From: Matthias Clasen -Date: Mon, 17 Feb 2014 18:04:16 -0500 -Subject: Make the Restore button work - -The callback assumes that the first argument is 'self', not -the button that was clicked. - -diff --git a/data/alacarte.ui b/data/alacarte.ui -index 28905c2..90941a6 100644 ---- a/data/alacarte.ui -+++ b/data/alacarte.ui -@@ -77,7 +77,7 @@ - False - Restore the default menu layout - True -- -+ - - - False --- -cgit v0.10.1 - - diff -Nru alacarte-3.10.0/debian/patches/series alacarte-3.11.91/debian/patches/series --- alacarte-3.10.0/debian/patches/series 2014-04-11 22:00:52.000000000 +1000 +++ alacarte-3.11.91/debian/patches/series 2014-05-30 14:43:45.000000000 +1000 @@ -1,5 +1,2 @@ 03-bind_textdomain_codeset.patch 30-python_private_dir.patch -git-fix-creating-new-items.patch -git-fix-creating-new-menus.patch -git-make-the-restore-button-work.patch diff -Nru alacarte-3.10.0/INSTALL alacarte-3.11.91/INSTALL --- alacarte-3.10.0/INSTALL 2012-05-02 04:38:40.000000000 +1000 +++ alacarte-3.11.91/INSTALL 2014-03-04 00:02:18.000000000 +1100 @@ -1,19 +1,25 @@ Installation Instructions ************************* -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, -2006, 2007 Free Software Foundation, Inc. +Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, +Inc. -This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. + Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. This file is offered as-is, +without warranty of any kind. Basic Installation ================== -Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following + Briefly, the shell command `./configure && make && make install' +should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for -instructions specific to this package. +instructions specific to this package. Some packages provide this +`INSTALL' file but do not implement all of the features documented +below. The lack of an optional feature in a given package is not +necessarily a bug. More recommendations for GNU packages can be found +in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses @@ -42,7 +48,7 @@ you want to change it or regenerate `configure' using a newer version of `autoconf'. -The simplest way to compile this package is: + The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. @@ -53,12 +59,22 @@ 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with - the package. + the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and - documentation. + documentation. When installing into a prefix owned by root, it is + recommended that the package be configured and built as a regular + user, and only the `make install' phase executed with root + privileges. + + 5. Optionally, type `make installcheck' to repeat any self-tests, but + this time using the binaries in their final installed location. + This target does not install anything. Running this target as a + regular user, particularly if the prior `make install' required + root privileges, verifies that the installation completed + correctly. - 5. You can remove the program binaries and object files from the + 6. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is @@ -67,15 +83,22 @@ all sorts of other programs in order to regenerate files that came with the distribution. - 6. Often, you can also type `make uninstall' to remove the installed - files again. + 7. Often, you can also type `make uninstall' to remove the installed + files again. In practice, not all packages have tested that + uninstallation works correctly, even though it is required by the + GNU Coding Standards. + + 8. Some packages, particularly those that use Automake, provide `make + distcheck', which can by used by developers to test that all other + targets like `make install' and `make uninstall' work correctly. + This target is generally not run by end users. Compilers and Options ===================== -Some systems require unusual options for compilation or linking that the -`configure' script does not know about. Run `./configure --help' for -details on some of the pertinent environment variables. + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here @@ -88,25 +111,41 @@ Compiling For Multiple Architectures ==================================== -You can compile the package for more than one kind of computer at the + You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. +source code in the directory that `configure' is in and in `..'. This +is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. + On MacOS X 10.5 and later systems, you can create libraries and +executables that work on multiple system types--known as "fat" or +"universal" binaries--by specifying multiple `-arch' options to the +compiler but only a single `-arch' option to the preprocessor. Like +this: + + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CPP="gcc -E" CXXCPP="g++ -E" + + This is not guaranteed to produce working output in all cases, you +may have to build one architecture at a time and combine the results +using the `lipo' tool if you have problems. + Installation Names ================== -By default, `make install' installs the package's commands under + By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. +`configure' the option `--prefix=PREFIX', where PREFIX must be an +absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you @@ -117,16 +156,47 @@ In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. +you can set and what kinds of files go in them. In general, the +default for these options is expressed in terms of `${prefix}', so that +specifying just `--prefix' will affect all of the other directory +specifications that were not explicitly provided. + + The most portable way to affect installation locations is to pass the +correct locations to `configure'; however, many packages provide one or +both of the following shortcuts of passing variable assignments to the +`make install' command line to change installation locations without +having to reconfigure or recompile. + + The first method involves providing an override variable for each +affected directory. For example, `make install +prefix=/alternate/directory' will choose an alternate location for all +directory configuration variables that were expressed in terms of +`${prefix}'. Any directories that were specified during `configure', +but not in terms of `${prefix}', must each be overridden at install +time for the entire installation to be relocated. The approach of +makefile variable overrides for each directory variable is required by +the GNU Coding Standards, and ideally causes no recompilation. +However, some platforms have known limitations with the semantics of +shared libraries that end up requiring recompilation when using this +method, particularly noticeable in packages that use GNU Libtool. + + The second method involves providing the `DESTDIR' variable. For +example, `make install DESTDIR=/alternate/directory' will prepend +`/alternate/directory' before all installation names. The approach of +`DESTDIR' overrides is not required by the GNU Coding Standards, and +does not work on platforms that have drive letters. On the other hand, +it does better at avoiding recompilation issues, and works well even +when some directory options were not specified in terms of `${prefix}' +at `configure' time. + +Optional Features +================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. -Optional Features -================= - -Some packages pay attention to `--enable-FEATURE' options to + Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The @@ -138,14 +208,58 @@ you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. + Some packages offer the ability to configure how verbose the +execution of `make' will be. For these packages, running `./configure +--enable-silent-rules' sets the default to minimal output, which can be +overridden with `make V=1'; while running `./configure +--disable-silent-rules' sets the default to verbose, which can be +overridden with `make V=0'. + +Particular systems +================== + + On HP-UX, the default C compiler is not ANSI C compatible. If GNU +CC is not installed, it is recommended to use the following options in +order to use an ANSI C compiler: + + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" + +and if that doesn't work, install pre-built binaries of GCC for HP-UX. + + HP-UX `make' updates targets which have the same time stamps as +their prerequisites, which makes it generally unusable when shipped +generated files such as `configure' are involved. Use GNU `make' +instead. + + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot +parse its `' header file. The option `-nodtk' can be used as +a workaround. If GNU CC is not installed, it is therefore recommended +to try + + ./configure CC="cc" + +and if that doesn't work, try + + ./configure CC="cc -nodtk" + + On Solaris, don't put `/usr/ucb' early in your `PATH'. This +directory contains several dysfunctional programs; working variants of +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' +in your `PATH', put it _after_ `/usr/bin'. + + On Haiku, software installed for all users goes in `/boot/common', +not `/usr/local'. It is recommended to use the following options: + + ./configure --prefix=/boot/common + Specifying the System Type ========================== -There may be some features `configure' cannot figure out automatically, -but needs to determine by the type of machine the package will run on. -Usually, assuming the package is built to be run on the _same_ -architectures, `configure' can figure that out, but if it prints a -message saying it cannot guess the machine type, give it the + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, `configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: @@ -153,7 +267,8 @@ where SYSTEM can have one of these forms: - OS KERNEL-OS + OS + KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't @@ -171,9 +286,9 @@ Sharing Defaults ================ -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. @@ -182,7 +297,7 @@ Defining Variables ================== -Variables not defined in a site shell script can be set in the + Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set @@ -194,18 +309,27 @@ overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: +an Autoconf limitation. Until the limitation is lifted, you can use +this workaround: - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== -`configure' recognizes the following options to control how it operates. + `configure' recognizes the following options to control how it +operates. `--help' `-h' - Print a summary of the options to `configure', and exit. + Print a summary of all of the options to `configure', and exit. + +`--help=short' +`--help=recursive' + Print a summary of the options unique to this package's + `configure', and exit. The `short' variant lists options used + only in the top level, while the `recursive' variant lists options + also present in any nested packages. `--version' `-V' @@ -232,6 +356,15 @@ Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. +`--prefix=DIR' + Use DIR as the installation prefix. *note Installation Names:: + for more details, including other options available for fine-tuning + the installation locations. + +`--no-create' +`-n' + Run the configure checks, but stop before creating any output + files. + `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. - diff -Nru alacarte-3.10.0/Makefile.am alacarte-3.11.91/Makefile.am --- alacarte-3.10.0/Makefile.am 2012-05-02 04:38:40.000000000 +1000 +++ alacarte-3.11.91/Makefile.am 2014-02-08 03:07:17.000000000 +1100 @@ -2,6 +2,10 @@ SUBDIRS = data po Alacarte +if BUILD_DOCUMENTATION +SUBDIRS += man +endif + CLEANFILES= bin_SCRIPTS = alacarte diff -Nru alacarte-3.10.0/Makefile.in alacarte-3.11.91/Makefile.in --- alacarte-3.10.0/Makefile.in 2013-09-25 03:08:35.000000000 +1000 +++ alacarte-3.11.91/Makefile.in 2014-03-04 00:02:18.000000000 +1100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.13.4 from Makefile.am. +# Makefile.in generated by automake 1.14.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 Free Software Foundation, Inc. @@ -76,11 +76,13 @@ NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : +@BUILD_DOCUMENTATION_TRUE@am__append_1 = man subdir = . DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ - $(srcdir)/config.h.in COPYING install-sh missing py-compile + $(srcdir)/config.h.in COPYING compile install-sh missing \ + py-compile ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac @@ -177,7 +179,7 @@ ETAGS = etags CTAGS = ctags CSCOPE = cscope -DIST_SUBDIRS = $(SUBDIRS) +DIST_SUBDIRS = data po Alacarte man DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -307,6 +309,7 @@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ +XSLTPROC = @XSLTPROC@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -355,7 +358,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = data po Alacarte +SUBDIRS = data po Alacarte $(am__append_1) CLEANFILES = alacarte bin_SCRIPTS = alacarte DISTCLEANFILES = ChangeLog @@ -404,8 +407,8 @@ $(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 + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 @@ -639,10 +642,16 @@ $(am__post_remove_distdir) dist-tarZ: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) @@ -684,9 +693,10 @@ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + && ../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ diff -Nru alacarte-3.10.0/man/alacarte.xml alacarte-3.11.91/man/alacarte.xml --- alacarte-3.10.0/man/alacarte.xml 1970-01-01 10:00:00.000000000 +1000 +++ alacarte-3.11.91/man/alacarte.xml 2014-02-08 03:07:17.000000000 +1100 @@ -0,0 +1,89 @@ + + + + + + + alacarte + GNOME + + + + Developer + Trevor + Watkins + + + Developer + Jasper + St. Pierre + + + + + + + alacarte + 1 + User Commands + + + + alacarte + Edit freedesktop.org menus + + + + + alacarte + + + + + Description + + alacarte is a graphical + editor for the freedesktop.org menus that are used by + many desktop environments. It can also edit and create + application desktop files. + + + + + Options + + alacarte does not accept any + commandline options. + + + + Environment + + + + XDG_CONFIG_DIRS + alacarte looks in the menus subdirectory of these directories for menu files. The default location for menu files is /etc/xdg/menus. + + + XDG_DATA_DIRS + alacarte looks in the applications subdirectory of these directories for desktop files. The default location for desktop files is /usr/share/applications. + + + XDG_CONFIG_HOME + The menus subdirectory of this directory is where alacarte stores modified menu files. The default location for modified menu files is $HOME/.config/menus. + + + XDG_DATA_HOME + The applications subdirectory of this directory is where alacarte stores modified and newly created desktop files. The default location for these is $HOME/.local/share/applications. + + + XDG_MENU_PREFIX + alacarte is editing the + menus defined by the file $XDG_MENU_PREFIXapplications.menu. GNOME uses the menu file gnome-applications.menu. + + + + + + diff -Nru alacarte-3.10.0/man/Makefile.am alacarte-3.11.91/man/Makefile.am --- alacarte-3.10.0/man/Makefile.am 1970-01-01 10:00:00.000000000 +1000 +++ alacarte-3.11.91/man/Makefile.am 2014-02-08 03:07:17.000000000 +1100 @@ -0,0 +1,18 @@ +XSLTPROC_FLAGS = \ + --nonet \ + --stringparam man.output.quietly 1 \ + --stringparam funcsynopsis.style ansi \ + --stringparam man.th.extra1.suppress 1 \ + --stringparam man.authors.section.enabled 0 \ + --stringparam man.copyright.section.enabled 0 + +%.1: %.xml + $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +man_MANS = alacarte.1 + +xml_files = ${patsubst %.1,%.xml,${patsubst %.7,%.xml,$(man_MANS)}} + +EXTRA_DIST = $(xml_files) + +CLEANFILES = $(man_MANS) diff -Nru alacarte-3.10.0/man/Makefile.in alacarte-3.11.91/man/Makefile.in --- alacarte-3.10.0/man/Makefile.in 1970-01-01 10:00:00.000000000 +1000 +++ alacarte-3.11.91/man/Makefile.in 2014-03-04 00:02:18.000000000 +1100 @@ -0,0 +1,528 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2013 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@ +VPATH = @srcdir@ +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +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 = : +subdir = man +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +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_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +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; }; \ + } +man1dir = $(mandir)/man1 +am__installdirs = "$(DESTDIR)$(man1dir)" +NROFF = nroff +MANS = $(man_MANS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALACARTE_CFLAGS = @ALACARTE_CFLAGS@ +ALACARTE_LIBS = @ALACARTE_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +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@ +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@ +PYTHON = @PYTHON@ +PYTHON2_4 = @PYTHON2_4@ +PYTHON2_5 = @PYTHON2_5@ +PYTHON2_6 = @PYTHON2_6@ +PYTHON2_7 = @PYTHON2_7@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +XSLTPROC = @XSLTPROC@ +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@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +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@ +XSLTPROC_FLAGS = \ + --nonet \ + --stringparam man.output.quietly 1 \ + --stringparam funcsynopsis.style ansi \ + --stringparam man.th.extra1.suppress 1 \ + --stringparam man.authors.section.enabled 0 \ + --stringparam man.copyright.section.enabled 0 + +man_MANS = alacarte.1 +xml_files = ${patsubst %.1,%.xml,${patsubst %.7,%.xml,$(man_MANS)}} +EXTRA_DIST = $(xml_files) +CLEANFILES = $(man_MANS) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(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) --gnu man/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu man/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_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-man1: $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +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 +check: check-am +all-am: Makefile $(MANS) +installdirs: + for dir in "$(DESTDIR)$(man1dir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +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: + -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." +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-man + +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-man1 + +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-man + +uninstall-man: uninstall-man1 + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic 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-man1 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 tags-am uninstall uninstall-am uninstall-man \ + uninstall-man1 + + +%.1: %.xml + $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< + +# 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: diff -Nru alacarte-3.10.0/missing alacarte-3.11.91/missing --- alacarte-3.10.0/missing 2013-04-30 14:03:47.000000000 +1000 +++ alacarte-3.11.91/missing 2014-03-04 00:02:18.000000000 +1100 @@ -1,7 +1,7 @@ #! /bin/sh # Common wrapper for a few potentially missing GNU programs. -scriptversion=2012-06-26.16; # UTC +scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2013 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. @@ -160,7 +160,7 @@ ;; autom4te*) echo "You might have modified some maintainer files that require" - echo "the 'automa4te' program to be rebuilt." + echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) diff -Nru alacarte-3.10.0/NEWS alacarte-3.11.91/NEWS --- alacarte-3.10.0/NEWS 2013-09-25 03:08:00.000000000 +1000 +++ alacarte-3.11.91/NEWS 2014-03-04 00:01:33.000000000 +1100 @@ -1,4 +1,22 @@ ============== +Version 3.11.91 +============== + +Changes: + Drop Help button + Ensure items have valid Exec + Add a man page + Make Restore button work again + Fix createing menus + Fix creating items + +Translation updates: + German + Indonesian + Portuguese + Simplified Chinese + +============== Version 3.10.0 ============== diff -Nru alacarte-3.10.0/po/de.po alacarte-3.11.91/po/de.po --- alacarte-3.10.0/po/de.po 2012-07-18 02:52:41.000000000 +1000 +++ alacarte-3.11.91/po/de.po 2014-02-18 09:58:48.000000000 +1100 @@ -14,15 +14,16 @@ "Project-Id-Version: de\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alacarte&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2012-06-01 19:48+0000\n" -"PO-Revision-Date: 2012-06-02 00:10+0100\n" -"Last-Translator: Christian Kirbach \n" +"POT-Creation-Date: 2013-12-18 13:49+0000\n" +"PO-Revision-Date: 2014-02-11 11:21+0100\n" +"Last-Translator: Jonatan Zeidler \n" "Language-Team: Deutsch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.2\n" +"X-Generator: Poedit 1.5.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: de\n" #: ../Alacarte/MainWindow.py:155 msgid "Name" @@ -36,7 +37,15 @@ msgid "Item" msgstr "Eintrag" -#: ../data/alacarte.desktop.in.in.h:1 ../data/alacarte.ui.h:2 +#: ../Alacarte/ItemEditor.py:86 +msgid "Choose an icon" +msgstr "Ein Symbol wählen" + +#: ../Alacarte/ItemEditor.py:205 +msgid "Choose a command" +msgstr "Einen Befehl wählen" + +#: ../data/alacarte.desktop.in.in.h:1 ../data/alacarte.ui.h:1 msgid "Main Menu" msgstr "Hauptmenü" @@ -44,49 +53,76 @@ msgid "Add or remove applications from the main menu" msgstr "Anwendungen dem Hauptmenü hinzufügen oder löschen" -#: ../data/alacarte.ui.h:1 -msgid "_Revert to Original" -msgstr "_Original wiederherstellen" - -#: ../data/alacarte.ui.h:3 +#: ../data/alacarte.ui.h:2 msgid "Restore the default menu layout" msgstr "Die Standardstruktur des Menüs wiederherstellen" -#: ../data/alacarte.ui.h:4 -msgid "_Menus:" -msgstr "_Menüs:" - -#: ../data/alacarte.ui.h:5 -msgid "It_ems:" -msgstr "_Einträge:" - -#: ../data/alacarte.ui.h:6 +#: ../data/alacarte.ui.h:3 msgid "_New Menu" msgstr "_Neues Menü" -#: ../data/alacarte.ui.h:7 +#: ../data/alacarte.ui.h:4 msgid "Ne_w Item" msgstr "N_euer Eintrag" -#: ../data/alacarte.ui.h:8 +#: ../data/alacarte.ui.h:5 msgid "New _Separator" msgstr "Neue _Trennlinie" -#: ../data/alacarte.ui.h:9 +#: ../data/alacarte.ui.h:6 +msgid "Move Down" +msgstr "Nach unten verschieben" + +#: ../data/alacarte.ui.h:7 msgid "Move Up" msgstr "Nach oben verschieben" -#: ../data/alacarte.ui.h:10 -msgid "Move Down" -msgstr "Nach unten verschieben" +#: ../data/launcher-editor.ui.h:1 +#| msgid "Menu Properties" +msgid "Launcher Properties" +msgstr "Startereigenschaften" + +#: ../data/launcher-editor.ui.h:2 ../data/directory-editor.ui.h:2 +msgid "Name:" +msgstr "Name:" + +#: ../data/launcher-editor.ui.h:3 +msgid "Command:" +msgstr "Befehl:" + +#: ../data/launcher-editor.ui.h:4 ../data/directory-editor.ui.h:3 +msgid "Comment:" +msgstr "Kommentar:" + +#: ../data/launcher-editor.ui.h:5 +#| msgid "Browse..." +msgid "Browse" +msgstr "Durchsuchen" + +#: ../data/launcher-editor.ui.h:6 +#| msgid "Run command in a terminal" +msgid "Launch in Terminal?" +msgstr "Befehl im Terminal ausführen?" + +#: ../data/directory-editor.ui.h:1 +#| msgid "Menu Properties" +msgid "Directory Properties" +msgstr "Ordnereigenschaften" + +#~ msgid "_Revert to Original" +#~ msgstr "_Original wiederherstellen" + +#~ msgid "_Menus:" +#~ msgstr "_Menüs:" + +#~ msgid "It_ems:" +#~ msgstr "_Einträge:" + +#~ msgid "Revert Changes?" +#~ msgstr "Änderungen rückgängig machen?" -#: ../data/alacarte.ui.h:11 -msgid "Revert Changes?" -msgstr "Änderungen rückgängig machen?" - -#: ../data/alacarte.ui.h:12 -msgid "Revert all menus to original settings?" -msgstr "Möchten Sie alle Menüs in ihren Ursprungszustand zurück versetzen?" +#~ msgid "Revert all menus to original settings?" +#~ msgstr "Möchten Sie alle Menüs in ihren Ursprungszustand zurück versetzen?" #~ msgid "Menu Layout" #~ msgstr "Menüstruktur" @@ -100,15 +136,6 @@ #~ msgid "Add, change, remove menu entries" #~ msgstr "Menüeinträge hinzufügen, ändern oder entfernen" -#~ msgid "Browse..." -#~ msgstr "Durchsuchen..." - -#~ msgid "Command:" -#~ msgstr "Befehl:" - -#~ msgid "Comment:" -#~ msgstr "Kommentar:" - #~ msgid "Copyright © 2006 Travis Watkins" #~ msgstr "Copyright © 2006 Travis Watkins" @@ -118,15 +145,6 @@ #~ msgid "Menu Item Properties" #~ msgstr "Eigenschaften des Menüeintrags" -#~ msgid "Menu Properties" -#~ msgstr "Menüeigenschaften" - -#~ msgid "Name:" -#~ msgstr "Name:" - -#~ msgid "Run command in a terminal" -#~ msgstr "Befehl in einem Terminal ausführen" - #~ msgid "Simple fd.o compliant menu editor" #~ msgstr "Ein einfacher, Freedesktop.org-konformer Menüeditor" diff -Nru alacarte-3.10.0/po/id.po alacarte-3.11.91/po/id.po --- alacarte-3.10.0/po/id.po 2012-08-07 07:38:51.000000000 +1000 +++ alacarte-3.11.91/po/id.po 2013-12-12 13:45:35.000000000 +1100 @@ -4,38 +4,44 @@ # # ahmad riza h nst, 2007. # Dirgita , 2010. -# Andika Triwidada , 2012. +# Andika Triwidada , 2012, 2013. msgid "" msgstr "" "Project-Id-Version: alacarte master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=alacarte&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2012-07-17 00:26+0000\n" -"PO-Revision-Date: 2012-07-18 15:45+0700\n" +"POT-Creation-Date: 2013-09-27 20:16+0000\n" +"PO-Revision-Date: 2013-10-04 22:16+0700\n" "Last-Translator: Andika Triwidada \n" "Language-Team: GNOME Indonesian Translation Team \n" -"Language: \n" +"Language: id_ID\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.1\n" +"X-Generator: Poedit 1.5.7\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Poedit-Language: Indonesian\n" -"X-Poedit-Country: INDONESIA\n" -#: ../Alacarte/MainWindow.py:151 +#: ../Alacarte/MainWindow.py:159 msgid "Name" msgstr "Nama" # Ini tombol ceklis untuk memilih menu-menu apa saja yang tampak dalam daftar menu utama. -#: ../Alacarte/MainWindow.py:164 +#: ../Alacarte/MainWindow.py:172 msgid "Show" msgstr "Tampak" -#: ../Alacarte/MainWindow.py:172 +#: ../Alacarte/MainWindow.py:180 msgid "Item" msgstr "Item" +#: ../Alacarte/ItemEditor.py:85 +msgid "Choose an icon" +msgstr "Pilih ikon" + +#: ../Alacarte/ItemEditor.py:204 +msgid "Choose a command" +msgstr "Pilih perintah" + #: ../data/alacarte.desktop.in.in.h:1 ../data/alacarte.ui.h:1 msgid "Main Menu" msgstr "Menu Utama" @@ -50,26 +56,49 @@ msgstr "Mengembalikan menu dalam susunan baku" #: ../data/alacarte.ui.h:3 -msgid "Restore System Configuration" -msgstr "Pulihkan Konfigurasi Sistem" - -#: ../data/alacarte.ui.h:4 msgid "_New Menu" msgstr "Me_nu Utama" -#: ../data/alacarte.ui.h:5 +#: ../data/alacarte.ui.h:4 msgid "Ne_w Item" msgstr "_Item Baru" -#: ../data/alacarte.ui.h:6 +#: ../data/alacarte.ui.h:5 msgid "New _Separator" msgstr "Pemi_sah Baru" +#: ../data/alacarte.ui.h:6 +msgid "Move Down" +msgstr "Turun" + #: ../data/alacarte.ui.h:7 msgid "Move Up" msgstr "Naik" -#: ../data/alacarte.ui.h:8 -msgid "Move Down" -msgstr "Turun" - +#: ../data/launcher-editor.ui.h:1 +msgid "Launcher Properties" +msgstr "Properti Peluncur" + +#: ../data/launcher-editor.ui.h:2 ../data/directory-editor.ui.h:2 +msgid "Name:" +msgstr "Nama:" + +#: ../data/launcher-editor.ui.h:3 +msgid "Command:" +msgstr "Perintah:" + +#: ../data/launcher-editor.ui.h:4 ../data/directory-editor.ui.h:3 +msgid "Comment:" +msgstr "Komentar:" + +#: ../data/launcher-editor.ui.h:5 +msgid "Browse" +msgstr "Ramban" + +#: ../data/launcher-editor.ui.h:6 +msgid "Launch in Terminal?" +msgstr "Luncurkan dalam Terminal?" + +#: ../data/directory-editor.ui.h:1 +msgid "Directory Properties" +msgstr "Properti Direktori" diff -Nru alacarte-3.10.0/po/pt.po alacarte-3.11.91/po/pt.po --- alacarte-3.10.0/po/pt.po 2012-05-02 04:38:40.000000000 +1000 +++ alacarte-3.11.91/po/pt.po 2014-03-03 23:59:25.000000000 +1100 @@ -6,78 +6,118 @@ msgid "" msgstr "" "Project-Id-Version: 2.18\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-02-15 01:47+0000\n" -"PO-Revision-Date: 2007-02-15 01:50+0000\n" -"Last-Translator: Duarte Loreto \n" +"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" +"product=alacarte&keywords=I18N+L10N&component=general\n" +"POT-Creation-Date: 2013-12-18 13:49+0000\n" +"PO-Revision-Date: 2014-03-02 17:51+0100\n" +"Last-Translator: Tiago S. \n" "Language-Team: Portuguese \n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" -#: ../Alacarte/MainWindow.py:167 +#: ../Alacarte/MainWindow.py:155 msgid "Name" msgstr "Nome" -#: ../Alacarte/MainWindow.py:183 +#: ../Alacarte/MainWindow.py:168 msgid "Show" msgstr "Apresentar" -#: ../Alacarte/MainWindow.py:191 +#: ../Alacarte/MainWindow.py:176 msgid "Item" msgstr "Item" -#: ../alacarte.desktop.in.in.h:1 -msgid "Change which applications are shown on the main menu" -msgstr "Alterar que aplicações são apresentadas no menu principal" +#: ../Alacarte/ItemEditor.py:86 +msgid "Choose an icon" +msgstr "Escolha um ícone" + +#: ../Alacarte/ItemEditor.py:205 +msgid "Choose a command" +msgstr "Escolha um comando" -#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +#: ../data/alacarte.desktop.in.in.h:1 ../data/alacarte.ui.h:1 msgid "Main Menu" msgstr "Menu Principal" -#: ../alacarte.glade.h:1 -msgid "It_ems:" -msgstr "It_ens:" +#: ../data/alacarte.desktop.in.in.h:2 +#| msgid "Change which applications are shown on the main menu" +msgid "Add or remove applications from the main menu" +msgstr "Adicionar ou remover aplicações do menu principal" -#: ../alacarte.glade.h:3 -msgid "Move Down" -msgstr "Mover Abaixo" +#: ../data/alacarte.ui.h:2 +msgid "Restore the default menu layout" +msgstr "Repor a disposição por omissão do menu" -#: ../alacarte.glade.h:4 -msgid "Move Up" -msgstr "Mover Acima" +#: ../data/alacarte.ui.h:3 +msgid "_New Menu" +msgstr "_Novo Menu" -#: ../alacarte.glade.h:5 +#: ../data/alacarte.ui.h:4 msgid "Ne_w Item" msgstr "No_vo Item" -#: ../alacarte.glade.h:6 +#: ../data/alacarte.ui.h:5 msgid "New _Separator" msgstr "Novo _Separador" -#: ../alacarte.glade.h:7 -msgid "Restore the default menu layout" -msgstr "Repor a disposição por omissão do menu" +#: ../data/alacarte.ui.h:6 +msgid "Move Down" +msgstr "Mover Abaixo" -#: ../alacarte.glade.h:8 -msgid "Revert Changes?" -msgstr "Reverter as Alterações?" - -#: ../alacarte.glade.h:9 -msgid "Revert all menus to original settings?" -msgstr "Reverter todos os menus para as definições originais?" - -#: ../alacarte.glade.h:10 -msgid "_Menus:" -msgstr "_Menus:" +#: ../data/alacarte.ui.h:7 +msgid "Move Up" +msgstr "Mover Acima" -#: ../alacarte.glade.h:11 -msgid "_New Menu" -msgstr "_Novo Menu" +#: ../data/launcher-editor.ui.h:1 +#, fuzzy +#| msgid "Menu Properties" +msgid "Launcher Properties" +msgstr "Propriedades do Menu" + +#: ../data/launcher-editor.ui.h:2 ../data/directory-editor.ui.h:2 +msgid "Name:" +msgstr "Nome:" + +#: ../data/launcher-editor.ui.h:3 +msgid "Command:" +msgstr "Comando:" + +#: ../data/launcher-editor.ui.h:4 ../data/directory-editor.ui.h:3 +msgid "Comment:" +msgstr "Comentário:" + +#: ../data/launcher-editor.ui.h:5 +#| msgid "Browse..." +msgid "Browse" +msgstr "Procurar" + +#: ../data/launcher-editor.ui.h:6 +#| msgid "Run command in a terminal" +msgid "Launch in Terminal?" +msgstr "Executar na Consola?" + +#: ../data/directory-editor.ui.h:1 +#| msgid "Menu Properties" +msgid "Directory Properties" +msgstr "Propriedades do Diretório" + +#~ msgid "It_ems:" +#~ msgstr "It_ens:" + +#~ msgid "Revert Changes?" +#~ msgstr "Reverter as Alterações?" + +#~ msgid "Revert all menus to original settings?" +#~ msgstr "Reverter todos os menus para as definições originais?" + +#~ msgid "_Menus:" +#~ msgstr "_Menus:" -#: ../alacarte.glade.h:12 -msgid "_Revert to Original" -msgstr "_Reverter para o Original" +#~ msgid "_Revert to Original" +#~ msgstr "_Reverter para o Original" #~ msgid "Menu Layout" #~ msgstr "Disposição do Menu" @@ -91,15 +131,6 @@ #~ msgid "Add, change, remove menu entries" #~ msgstr "Adicionar, alterar, remover entradas de menu" -#~ msgid "Browse..." -#~ msgstr "Procurar..." - -#~ msgid "Command:" -#~ msgstr "Comando:" - -#~ msgid "Comment:" -#~ msgstr "Comentário:" - #~ msgid "Copyright © 2006 Travis Watkins" #~ msgstr "Copyright © 2006 Travis Watkins" @@ -109,15 +140,6 @@ #~ msgid "Menu Item Properties" #~ msgstr "Propriedades do Item de Menu" -#~ msgid "Menu Properties" -#~ msgstr "Propriedades do Menu" - -#~ msgid "Name:" -#~ msgstr "Nome:" - -#~ msgid "Run command in a terminal" -#~ msgstr "Executar o comando numa consola" - #~ msgid "Simple fd.o compliant menu editor" #~ msgstr "Editor de menus que respeita a definição da fd.o" diff -Nru alacarte-3.10.0/po/zh_CN.po alacarte-3.11.91/po/zh_CN.po --- alacarte-3.10.0/po/zh_CN.po 2012-05-02 04:38:40.000000000 +1000 +++ alacarte-3.11.91/po/zh_CN.po 2014-02-08 03:00:09.000000000 +1100 @@ -1,82 +1,115 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. +# Chinese simplified translation for alacarte. +# Copyright (C) Gnome Project and its contributors. +# This file is distributed under the same license as the alacarte package. # Funda Wang , 2006. +# zhouxiaobo , 2014. # msgid "" msgstr "" "Project-Id-Version: alacarte\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-02-12 04:30+0000\n" -"PO-Revision-Date: 2007-02-28 18:06+0800\n" -"Last-Translator: Funda Wang \n" -"Language-Team: zh_CN \n" +"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" +"product=alacarte&keywords=I18N+L10N&component=general\n" +"POT-Creation-Date: 2013-12-18 13:49+0000\n" +"PO-Revision-Date: 2014-01-11 11:50+0800\n" +"Last-Translator: Wylmer Wang \n" +"Language-Team: Chinese (Simplified) \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" -#: ../Alacarte/MainWindow.py:167 +#: ../Alacarte/MainWindow.py:155 msgid "Name" msgstr "名称" -#: ../Alacarte/MainWindow.py:183 +#: ../Alacarte/MainWindow.py:168 msgid "Show" msgstr "显示" -#: ../Alacarte/MainWindow.py:191 +#: ../Alacarte/MainWindow.py:176 msgid "Item" msgstr "项目" -#: ../alacarte.desktop.in.in.h:1 -msgid "Change which applications are shown on the main menu" -msgstr "更改显示于主菜单的应用程序" +#: ../Alacarte/ItemEditor.py:86 +msgid "Choose an icon" +msgstr "选择一个图标" + +#: ../Alacarte/ItemEditor.py:205 +msgid "Choose a command" +msgstr "选择一条命令" -#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +#: ../data/alacarte.desktop.in.in.h:1 ../data/alacarte.ui.h:1 msgid "Main Menu" msgstr "主菜单" -#: ../alacarte.glade.h:1 -msgid "It_ems:" -msgstr "项数(_E):" +#: ../data/alacarte.desktop.in.in.h:2 +msgid "Add or remove applications from the main menu" +msgstr "从主菜单中增加或移除应用程序" -#: ../alacarte.glade.h:3 -msgid "Move Down" -msgstr "下移" +#: ../data/alacarte.ui.h:2 +msgid "Restore the default menu layout" +msgstr "恢复默认菜单布局" -#: ../alacarte.glade.h:4 -msgid "Move Up" -msgstr "上移" +#: ../data/alacarte.ui.h:3 +msgid "_New Menu" +msgstr "新建菜单(_N)" -#: ../alacarte.glade.h:5 +#: ../data/alacarte.ui.h:4 msgid "Ne_w Item" msgstr "新建项目(_W)" -#: ../alacarte.glade.h:6 +#: ../data/alacarte.ui.h:5 msgid "New _Separator" msgstr "新建分隔符(_S)" -#: ../alacarte.glade.h:7 -msgid "Restore the default menu layout" -msgstr "恢复默认菜单布局" +#: ../data/alacarte.ui.h:6 +msgid "Move Down" +msgstr "下移" -#: ../alacarte.glade.h:8 -msgid "Revert Changes?" -msgstr "复原更改吗?" - -#: ../alacarte.glade.h:9 -msgid "Revert all menus to original settings?" -msgstr "将全部菜单复原到原始设置吗?" - -#: ../alacarte.glade.h:10 -msgid "_Menus:" -msgstr "菜单(_M):" +#: ../data/alacarte.ui.h:7 +msgid "Move Up" +msgstr "上移" -#: ../alacarte.glade.h:11 -msgid "_New Menu" -msgstr "新建菜单(_N)" +#: ../data/launcher-editor.ui.h:1 +msgid "Launcher Properties" +msgstr "启动器属性" + +#: ../data/launcher-editor.ui.h:2 ../data/directory-editor.ui.h:2 +msgid "Name:" +msgstr "名称:" + +#: ../data/launcher-editor.ui.h:3 +msgid "Command:" +msgstr "命令:" + +#: ../data/launcher-editor.ui.h:4 ../data/directory-editor.ui.h:3 +msgid "Comment:" +msgstr "注释:" + +#: ../data/launcher-editor.ui.h:5 +msgid "Browse" +msgstr "浏览" + +#: ../data/launcher-editor.ui.h:6 +msgid "Launch in Terminal?" +msgstr "是否要在终端内运行?" + +#: ../data/directory-editor.ui.h:1 +msgid "Directory Properties" +msgstr "目录属性" + +#~ msgid "It_ems:" +#~ msgstr "项数(_E):" + +#~ msgid "Revert Changes?" +#~ msgstr "复原更改吗?" -#: ../alacarte.glade.h:12 -msgid "_Revert to Original" -msgstr "复原到原始值(_R)" +#~ msgid "Revert all menus to original settings?" +#~ msgstr "将全部菜单复原到原始设置吗?" +#~ msgid "_Menus:" +#~ msgstr "菜单(_M):" +#~ msgid "_Revert to Original" +#~ msgstr "复原到原始值(_R)"