Import Upstream version 0.0.12

This commit is contained in:
openKylinBot 2022-05-14 02:52:23 +08:00
commit 47d77efaf2
42 changed files with 8765 additions and 0 deletions

28
Makefile.am Normal file
View File

@ -0,0 +1,28 @@
AUTOMAKE_OPTIONS = foreign
CLOCAL_AMFLAGS = -I m4/
SUBDIRS = man
TESTS = test/ed-as-sensible-editor test/echo-as-browser
AM_TESTS_ENVIRONMENT=\
PATH="$(topsrcdir):$$PATH"; export PATH;
binpkgdatadir = $(pkgdatadir)/bin
edit = sed \
-e 's|@binpkgdatadir[@]|$(binpkgdatadir)|g' \
-e 's|@prefix[@]|$(prefix)|g'
select-editor: Makefile
rm -f $@ $@.tmp
$(edit) '$(srcdir)/$@.in' >$@.tmp
chmod +x $@.tmp
chmod a-w $@.tmp
mv $@.tmp $@
select-editor: $(srcdir)/select-editor.in
bin_SCRIPTS = sensible-browser sensible-editor sensible-pager select-editor
binpkgdata_SCRIPTS = tools/gettext

1207
Makefile.in Normal file

File diff suppressed because it is too large Load Diff

1
acinclude.m4 Normal file
View File

@ -0,0 +1 @@
define(SENSIBLE_UTILS_VERSION, 0.0.11)

741
aclocal.m4 vendored Normal file
View File

@ -0,0 +1,741 @@
# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
[m4_warning([this file was generated for autoconf 2.69.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
# Copyright (C) 2002-2017 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.15'
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.15.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.15.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-2017 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.
# 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],
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
# Expand $ac_aux_dir to an absolute path.
am_aux_dir=`cd "$ac_aux_dir" && pwd`
])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
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])
# 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
_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
AM_MISSING_PROG([AUTOCONF], [autoconf])
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
AM_MISSING_PROG([AUTOHEADER], [autoheader])
AM_MISSING_PROG([MAKEINFO], [makeinfo])
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([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:
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver). 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
# 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: <http://austingroupbugs.net/view.php?id=542>
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: <http://www.gnu.org/software/coreutils/>.
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
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
fi
fi
dnl The trailing newline in this macro's definition is deliberate, for
dnl backward compatibility and to allow trailing 'dnl'-style comments
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
])
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
dnl mangled by Autoconf and run in a shell conditional statement.
m4_define([_AC_COMPILER_EXEEXT],
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated. The stamp files are numbered to have different names.
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
$_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001-2017 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+set}" != 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-2017 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])])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997-2017 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_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-2017 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_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
# _AM_SET_OPTION(NAME)
# --------------------
# Set option NAME. Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
# _AM_SET_OPTIONS(OPTIONS)
# ------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996-2017 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_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
# 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
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=$!
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-2017 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
])
# Copyright (C) 2001-2017 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])])
# Copyright (C) 2006-2017 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 -*-
# Copyright (C) 2004-2017 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'
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 <conftest.tar])
AM_RUN_LOG([cat conftest.dir/file])
grep GrepMe conftest.dir/file >/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])

508
build-aux/install-sh Executable file
View File

@ -0,0 +1,508 @@
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2014-09-12.12; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
tab=' '
nl='
'
IFS=" $tab$nl"
# Set DOITPROG to "echo" to test this script.
doit=${DOITPROG-}
doit_exec=${doit:-exec}
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
chgrpprog=${CHGRPPROG-chgrp}
chmodprog=${CHMODPROG-chmod}
chownprog=${CHOWNPROG-chown}
cmpprog=${CMPPROG-cmp}
cpprog=${CPPROG-cp}
mkdirprog=${MKDIRPROG-mkdir}
mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
posix_mkdir=
# Desired mode of installed file.
mode=0755
chgrpcmd=
chmodcmd=$chmodprog
chowncmd=
mvcmd=$mvprog
rmcmd="$rmprog -f"
stripcmd=
src=
dst=
dir_arg=
dst_arg=
copy_on_change=false
is_target_a_directory=possibly
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
or: $0 [OPTION]... SRCFILES... DIRECTORY
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
or: $0 [OPTION]... -d DIRECTORIES...
In the 1st form, copy SRCFILE to DSTFILE.
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
In the 4th, create DIRECTORIES.
Options:
--help display this help and exit.
--version display version info and exit.
-c (ignored)
-C install only if different (preserve the last data modification time)
-d create directories instead of installing files.
-g GROUP $chgrpprog installed files to GROUP.
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-s $stripprog installed files.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
Environment variables override the default commands:
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
RMPROG STRIPPROG
"
while test $# -ne 0; do
case $1 in
-c) ;;
-C) copy_on_change=true;;
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
case $mode in
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
echo "$0: invalid mode: $mode" >&2
exit 1;;
esac
shift;;
-o) chowncmd="$chownprog $2"
shift;;
-s) stripcmd=$stripprog;;
-t)
is_target_a_directory=always
dst_arg=$2
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
shift;;
-T) is_target_a_directory=never;;
--version) echo "$0 $scriptversion"; exit $?;;
--) shift
break;;
-*) echo "$0: invalid option: $1" >&2
exit 1;;
*) break;;
esac
shift
done
# We allow the use of options -d and -T together, by making -d
# take the precedence; this is for compatibility with GNU install.
if test -n "$dir_arg"; then
if test -n "$dst_arg"; then
echo "$0: target directory not allowed when installing a directory." >&2
exit 1
fi
fi
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
# Otherwise, the last argument is the destination. Remove it from $@.
for arg
do
if test -n "$dst_arg"; then
# $@ is not empty: it contains at least $arg.
set fnord "$@" "$dst_arg"
shift # fnord
fi
shift # arg
dst_arg=$arg
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
done
fi
if test $# -eq 0; then
if test -z "$dir_arg"; then
echo "$0: no input file specified." >&2
exit 1
fi
# It's OK to call 'install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
if test $# -gt 1 || test "$is_target_a_directory" = always; then
if test ! -d "$dst_arg"; then
echo "$0: $dst_arg: Is not a directory." >&2
exit 1
fi
fi
fi
if test -z "$dir_arg"; then
do_exit='(exit $ret); exit $ret'
trap "ret=129; $do_exit" 1
trap "ret=130; $do_exit" 2
trap "ret=141; $do_exit" 13
trap "ret=143; $do_exit" 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
case $mode in
# Optimize common cases.
*644) cp_umask=133;;
*755) cp_umask=22;;
*[0-7])
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
fi
for src
do
# Protect names problematic for 'test' and other utilities.
case $src in
-* | [=\(\)!]) src=./$src;;
esac
if test -n "$dir_arg"; then
dst=$src
dstdir=$dst
test -d "$dstdir"
dstdir_status=$?
else
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if test ! -f "$src" && test ! -d "$src"; then
echo "$0: $src does not exist." >&2
exit 1
fi
if test -z "$dst_arg"; then
echo "$0: no destination specified." >&2
exit 1
fi
dst=$dst_arg
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if test -d "$dst"; then
if test "$is_target_a_directory" = never; then
echo "$0: $dst_arg: Is a directory" >&2
exit 1
fi
dstdir=$dst
dst=$dstdir/`basename "$src"`
dstdir_status=0
else
dstdir=`dirname "$dst"`
test -d "$dstdir"
dstdir_status=$?
fi
fi
obsolete_mkdir_used=false
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
# Create intermediate dirs using mode 755 as modified by the umask.
# This is like FreeBSD 'install' as of 1997-10-28.
umask=`umask`
case $stripcmd.$umask in
# Optimize common cases.
*[2367][2367]) mkdir_umask=$umask;;
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
*[0-7])
mkdir_umask=`expr $umask + 22 \
- $umask % 100 % 40 + $umask % 20 \
- $umask % 10 % 4 + $umask % 2
`;;
*) mkdir_umask=$umask,go-w;;
esac
# With -d, create the new directory with the user-specified mode.
# Otherwise, rely on $mkdir_umask.
if test -n "$dir_arg"; then
mkdir_mode=-m$mode
else
mkdir_mode=
fi
posix_mkdir=false
case $umask in
*[123567][0-7][0-7])
# POSIX mkdir -p sets u+wx bits regardless of umask, which
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
;;
*)
# $RANDOM is not portable (e.g. dash); use it when possible to
# lower collision chance
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
# As "mkdir -p" follows symlinks and we work in /tmp possibly; so
# create the $tmpdir first (and fail if unsuccessful) to make sure
# that nobody tries to guess the $tmpdir name.
if (umask $mkdir_umask &&
$mkdirprog $mkdir_mode "$tmpdir" &&
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
then
if test -z "$dir_arg" || {
# Check for POSIX incompatibilities with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
# other-writable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
test_tmpdir="$tmpdir/a"
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
case $ls_ld_tmpdir in
d????-?r-*) different_mode=700;;
d????-?--*) different_mode=755;;
*) false;;
esac &&
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
}
}
then posix_mkdir=:
fi
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
else
# Remove any dirs left behind by ancient mkdir implementations.
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
fi
trap '' 0;;
esac;;
esac
if
$posix_mkdir && (
umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
# The umask is ridiculous, or mkdir does not conform to POSIX,
# or it failed possibly due to a race condition. Create the
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
/*) prefix='/';;
[-=\(\)!]*) prefix='./';;
*) prefix='';;
esac
oIFS=$IFS
IFS=/
set -f
set fnord $dstdir
shift
set +f
IFS=$oIFS
prefixes=
for d
do
test X"$d" = X && continue
prefix=$prefix$d
if test -d "$prefix"; then
prefixes=
else
if $posix_mkdir; then
(umask=$mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
# Don't fail if two instances are running concurrently.
test -d "$prefix" || exit 1
else
case $prefix in
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
*) qprefix=$prefix;;
esac
prefixes="$prefixes '$qprefix'"
fi
fi
prefix=$prefix/
done
if test -n "$prefixes"; then
# Don't fail if two instances are running concurrently.
(umask $mkdir_umask &&
eval "\$doit_exec \$mkdirprog $prefixes") ||
test -d "$dstdir" || exit 1
obsolete_mkdir_used=true
fi
fi
fi
if test -n "$dir_arg"; then
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
else
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/_inst.$$_
rmtmp=$dstdir/_rm.$$_
# Trap to clean up those temp files at exit.
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
# Copy the file name to the temp name.
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
set +f &&
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
rm -f "$dsttmp"
else
# Rename the file to the real destination.
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
# The rename failed, perhaps because mv can't rename something else
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
# Now remove or move aside any old file at destination location.
# We try this two ways since rm can't unlink itself on some
# systems and the destination file might be busy for other
# reasons. In this case, the final cleanup might fail but the new
# file should still install successfully.
{
test ! -f "$dst" ||
$doit $rmcmd -f "$dst" 2>/dev/null ||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
} ||
{ echo "$0: cannot unlink or rename $dst" >&2
(exit 1); exit 1
}
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
trap '' 0
fi
done
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

215
build-aux/missing Executable file
View File

@ -0,0 +1,215 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion=2013-10-28.13; # UTC
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try '$0 --help' for more information"
exit 1
fi
case $1 in
--is-lightweight)
# Used by our autoconf macros to check whether the available missing
# script is modern enough.
exit 0
;;
--run)
# Back-compat with the calling convention used by older automake.
shift
;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
to PROGRAM being missing or too old.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
Supported PROGRAM values:
aclocal autoconf autoheader autom4te automake makeinfo
bison yacc flex lex help2man
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
'g' are ignored when checking the name.
Send bug reports to <bug-automake@gnu.org>."
exit $?
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing $scriptversion (GNU Automake)"
exit $?
;;
-*)
echo 1>&2 "$0: unknown '$1' option"
echo 1>&2 "Try '$0 --help' for more information"
exit 1
;;
esac
# Run the given program, remember its exit status.
"$@"; st=$?
# If it succeeded, we are done.
test $st -eq 0 && exit 0
# Also exit now if we it failed (or wasn't found), and '--version' was
# passed; such an option is passed most likely to detect whether the
# program is present and works.
case $2 in --version|--help) exit $st;; esac
# Exit code 63 means version mismatch. This often happens when the user
# tries to use an ancient version of a tool on a file that requires a
# minimum version.
if test $st -eq 63; then
msg="probably too old"
elif test $st -eq 127; then
# Program was missing.
msg="missing on your system"
else
# Program was found and executed, but failed. Give up.
exit $st
fi
perl_URL=http://www.perl.org/
flex_URL=http://flex.sourceforge.net/
gnu_software_URL=http://www.gnu.org/software
program_details ()
{
case $1 in
aclocal|automake)
echo "The '$1' program is part of the GNU Automake package:"
echo "<$gnu_software_URL/automake>"
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/autoconf>"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
autoconf|autom4te|autoheader)
echo "The '$1' program is part of the GNU Autoconf package:"
echo "<$gnu_software_URL/autoconf/>"
echo "It also requires GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
esac
}
give_advice ()
{
# Normalize program name to check for.
normalized_program=`echo "$1" | sed '
s/^gnu-//; t
s/^gnu//; t
s/^g//; t'`
printf '%s\n' "'$1' is $msg."
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
case $normalized_program in
autoconf*)
echo "You should only need it if you modified 'configure.ac',"
echo "or m4 files included by it."
program_details 'autoconf'
;;
autoheader*)
echo "You should only need it if you modified 'acconfig.h' or"
echo "$configure_deps."
program_details 'autoheader'
;;
automake*)
echo "You should only need it if you modified 'Makefile.am' or"
echo "$configure_deps."
program_details 'automake'
;;
aclocal*)
echo "You should only need it if you modified 'acinclude.m4' or"
echo "$configure_deps."
program_details 'aclocal'
;;
autom4te*)
echo "You might have modified some maintainer files that require"
echo "the 'autom4te' program to be rebuilt."
program_details 'autom4te'
;;
bison*|yacc*)
echo "You should only need it if you modified a '.y' file."
echo "You may want to install the GNU Bison package:"
echo "<$gnu_software_URL/bison/>"
;;
lex*|flex*)
echo "You should only need it if you modified a '.l' file."
echo "You may want to install the Fast Lexical Analyzer package:"
echo "<$flex_URL>"
;;
help2man*)
echo "You should only need it if you modified a dependency" \
"of a man page."
echo "You may want to install the GNU Help2man package:"
echo "<$gnu_software_URL/help2man/>"
;;
makeinfo*)
echo "You should only need it if you modified a '.texi' file, or"
echo "any other file indirectly affecting the aspect of the manual."
echo "You might want to install the Texinfo package:"
echo "<$gnu_software_URL/texinfo/>"
echo "The spurious makeinfo call might also be the consequence of"
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
echo "want to install GNU make:"
echo "<$gnu_software_URL/make/>"
;;
*)
echo "You might have modified some files without having the proper"
echo "tools for further handling them. Check the 'README' file, it"
echo "often tells you about the needed prerequisites for installing"
echo "this package. You may also peek at any GNU archive site, in"
echo "case some other package contains this missing '$1' program."
;;
esac
}
give_advice "$1" | sed -e '1s/^/WARNING: /' \
-e '2,$s/^/ /' >&2
# Propagate the correct exit status (expected to be 127 for a program
# not found, 63 for a program that failed due to version mismatch).
exit $st
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

148
build-aux/test-driver Executable file
View File

@ -0,0 +1,148 @@
#! /bin/sh
# test-driver - basic testsuite driver script.
scriptversion=2013-07-13.22; # UTC
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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 <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
# Make unconditional expansion of undefined variables an error. This
# helps a lot in preventing typo-related bugs.
set -u
usage_error ()
{
echo "$0: $*" >&2
print_usage >&2
exit 2
}
print_usage ()
{
cat <<END
Usage:
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
[--expect-failure={yes|no}] [--color-tests={yes|no}]
[--enable-hard-errors={yes|no}] [--]
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
END
}
test_name= # Used for reporting.
log_file= # Where to save the output of the test script.
trs_file= # Where to save the metadata of the test run.
expect_failure=no
color_tests=no
enable_hard_errors=yes
while test $# -gt 0; do
case $1 in
--help) print_usage; exit $?;;
--version) echo "test-driver $scriptversion"; exit $?;;
--test-name) test_name=$2; shift;;
--log-file) log_file=$2; shift;;
--trs-file) trs_file=$2; shift;;
--color-tests) color_tests=$2; shift;;
--expect-failure) expect_failure=$2; shift;;
--enable-hard-errors) enable_hard_errors=$2; shift;;
--) shift; break;;
-*) usage_error "invalid option: '$1'";;
*) break;;
esac
shift
done
missing_opts=
test x"$test_name" = x && missing_opts="$missing_opts --test-name"
test x"$log_file" = x && missing_opts="$missing_opts --log-file"
test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
if test x"$missing_opts" != x; then
usage_error "the following mandatory options are missing:$missing_opts"
fi
if test $# -eq 0; then
usage_error "missing argument"
fi
if test $color_tests = yes; then
# Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
red='' # Red.
grn='' # Green.
lgn='' # Light green.
blu='' # Blue.
mgn='' # Magenta.
std='' # No color.
else
red= grn= lgn= blu= mgn= std=
fi
do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
trap "st=129; $do_exit" 1
trap "st=130; $do_exit" 2
trap "st=141; $do_exit" 13
trap "st=143; $do_exit" 15
# Test script is run here.
"$@" >$log_file 2>&1
estatus=$?
if test $enable_hard_errors = no && test $estatus -eq 99; then
tweaked_estatus=1
else
tweaked_estatus=$estatus
fi
case $tweaked_estatus:$expect_failure in
0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
0:*) col=$grn res=PASS recheck=no gcopy=no;;
77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
*:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
*:*) col=$red res=FAIL recheck=yes gcopy=yes;;
esac
# Report the test outcome and exit status in the logs, so that one can
# know whether the test passed or failed simply by looking at the '.log'
# file, without the need of also peaking into the corresponding '.trs'
# file (automake bug#11814).
echo "$res $test_name (exit status: $estatus)" >>$log_file
# Report outcome to console.
echo "${col}${res}${std}: $test_name"
# Register the test result, and other relevant metadata.
echo ":test-result: $res" > $trs_file
echo ":global-test-result: $res" >> $trs_file
echo ":recheck: $recheck" >> $trs_file
echo ":copy-in-global-log: $gcopy" >> $trs_file
# 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:

3553
configure vendored Executable file

File diff suppressed because it is too large Load Diff

10
configure.ac Normal file
View File

@ -0,0 +1,10 @@
AC_INIT([sensible-utils],[SENSIBLE_UTILS_VERSION])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
AC_CHECK_PROGS(PO4A,po4a)
AS_IF([test X$PO4A = X],AC_MSG_ERROR([Need po4a program]))
AC_CONFIG_FILES([Makefile man/Makefile])
AC_OUTPUT

129
man/Makefile.am Normal file
View File

@ -0,0 +1,129 @@
# part of this makefile are copyied from dpkg
AUTOMAKE_OPTIONS = foreign
man_MANS = sensible-editor.1 sensible-browser.1 sensible-pager.1 select-editor.1
EXTRA_DIST = sensible-editor.man sensible-browser.man sensible-pager.man select-editor.man
# Extract the list of languages from the po4a config file.
LINGUAS_DIST = `sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po4a/po4a.cfg`
# If the user has not defined it let's use the default.
LINGUAS ?= $(LINGUAS_DIST)
update-po:
$(PO4A_V) $(PO4A) $(PO4A_OPTS) --force $(srcdir)/po4a/po4a.cfg
PO4A_V = $(PO4A_V_@AM_V@)
PO4A_V_ = $(PO4A_V_@AM_DEFAULT_V@)
PO4A_V_0 = @echo " PO4A $@";
PO4A_OPTS = --previous --srcdir $(srcdir) --destdir $(builddir) --no-backups \
--porefs noline,wrap --msgmerge-opt=--add-location=file \
--package-name $(PACKAGE_NAME) #--package-version $(PACKAGE_VERSION) #\
#--copyright-holder "$(PACKAGE_COPYRIGHT_HOLDER)"# \
#--msgid-bugs-address $(PACKAGE_BUGREPORT)
all-local: gen-man
clean-local: clean-local-yes
clean-local-no:
clean-local-yes:
rm -rf $(LINGUAS_DIST)
$(AM_V_at) rm -f man.stamp
CLEANFILES = $(man_MANS) messages.mo man.stamp
# We use the man-once target to guarantee there is never an empty call in
# gen-man, that starts recursing infinitely.
.PHONY: gen-man man-once
gen-man: man.stamp
for lang in $(LINGUAS); do \
files=""; \
for man in $(man_MANS); do \
trans="$${man%%.[0-9]}.man"; \
if [ -f $(builddir)/$$lang/$$trans ]; then \
files="$$files $(builddir)/$$lang/$$man"; \
elif [ -f $(srcdir)/$$lang/$$trans ]; then \
files="$$files $(srcdir)/$$lang/$$man"; \
fi; \
done; \
$(MAKE) mandir="$(mandir)/$$lang" man_MANS="" man-once $$files; \
done
# FIXME: Use a stamp file until po4a supports them internally.
man.stamp:
$(PO4A_V) $(PO4A) $(PO4A_OPTS) $(srcdir)/po4a/po4a.cfg
$(AM_V_at) touch $@
SUFFIXES = .man
MANGEN_V = $(MANGEN_V_@AM_V@)
MANGEN_V_ = $(MANGEN_V_@AM_DEFAULT_V@)
MANGEN_V_0 = @echo " MANGEN $@";
MANGEN = $(MANGEN_V) sed \
-f $(srcdir)/utf8toman.sed \
-e 's/%PACKAGE%/$(PACKAGE)/g' \
-e 's/%VERSION%/$(PACKAGE_VERSION)/g' \
-e 's/%RELEASE_DATE%/$(PACKAGE_RELEASE_DATE)/g' \
-e 's:%CONFDIR%:$(sysconfdir):g' \
-e 's:%LOGDIR%:$(logdir):g' \
-e 's:%ADMINDIR%:$(admindir):g' \
-e 's:%PKGDOCDIR%:$(docdir):g' \
-e 's:%PKGCONFDIR%:$(pkgconfdir):g' \
-e 's:%PKGLIBDIR%:$(pkglibexecdir):g' \
-e 's:%PKGDATADIR%:$(pkgdatadir):g'
$(nil)
.man.1: Makefile
$(MANGEN) $< >$@
.man.5: Makefile
$(MANGEN) $< >$@
.man.8: Makefile
$(MANGEN) $< >$@
install-data-local: install-data-local-yes
install-data-local-no:
install-data-local-yes:
for lang in $(LINGUAS); do \
files=""; \
for man in $(man_MANS); do \
trans="$${man%%.[0-9]}.man"; \
if [ -f $(builddir)/$$lang/$$trans ]; then \
files="$$files $(builddir)/$$lang/$$man"; \
elif [ -f $(srcdir)/$$lang/$$trans ]; then \
files="$$files $(srcdir)/$$lang/$$man"; \
fi; \
done; \
$(MAKE) install-man mandir="$(mandir)/$$lang" man_MANS="$$files"; \
done
uninstall-local: uninstall-local-yes
uninstall-local-no:
uninstall-local-yes:
for lang in $(LINGUAS); do \
files=""; \
for man in $(man_MANS); do \
trans="$${man%%.[0-9]}.man"; \
if [ -f $(builddir)/$$lang/$$trans ]; then \
files="$$files $(builddir)/$$lang/$$man"; \
elif [ -f $(srcdir)/$$lang/$$trans ]; then \
files="$$files $(srcdir)/$$lang/$$man"; \
fi; \
done; \
$(MAKE) uninstall-man mandir="$(mandir)/$$lang" man_MANS="$$files"; \
done
#dist-hook: man.stamp
# cp $(srcdir)/man.stamp $(distdir)/
# for lang in $(LINGUAS_DIST); do \
# cp $(srcdir)/po/$$lang.po $(distdir)/po; \
# cp $(srcdir)/po/$$lang.add $(distdir)/po; \
# $(MKDIR_P) $(distdir)/$$lang; \
# cp -R $(srcdir)/$$lang $(distdir)/; \
# done

589
man/Makefile.in Normal file
View File

@ -0,0 +1,589 @@
# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2017 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 = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
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
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)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
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)
am__DIST_COMMON = $(srcdir)/Makefile.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
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@
PO4A = @PO4A@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
am__leading_dot = @am__leading_dot@
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@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
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@
# part of this makefile are copyied from dpkg
AUTOMAKE_OPTIONS = foreign
man_MANS = sensible-editor.1 sensible-browser.1 sensible-pager.1 select-editor.1
EXTRA_DIST = sensible-editor.man sensible-browser.man sensible-pager.man select-editor.man
# Extract the list of languages from the po4a config file.
LINGUAS_DIST = `sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po4a/po4a.cfg`
PO4A_V = $(PO4A_V_@AM_V@)
PO4A_V_ = $(PO4A_V_@AM_DEFAULT_V@)
PO4A_V_0 = @echo " PO4A $@";
PO4A_OPTS = --previous --srcdir $(srcdir) --destdir $(builddir) --no-backups \
--porefs noline,wrap --msgmerge-opt=--add-location=file \
--package-name $(PACKAGE_NAME) #--package-version $(PACKAGE_VERSION) #\
#--copyright-holder "$(PACKAGE_COPYRIGHT_HOLDER)"# \
#--msgid-bugs-address $(PACKAGE_BUGREPORT)
CLEANFILES = $(man_MANS) messages.mo man.stamp
SUFFIXES = .man
MANGEN_V = $(MANGEN_V_@AM_V@)
MANGEN_V_ = $(MANGEN_V_@AM_DEFAULT_V@)
MANGEN_V_0 = @echo " MANGEN $@";
MANGEN = $(MANGEN_V) sed \
-f $(srcdir)/utf8toman.sed \
-e 's/%PACKAGE%/$(PACKAGE)/g' \
-e 's/%VERSION%/$(PACKAGE_VERSION)/g' \
-e 's/%RELEASE_DATE%/$(PACKAGE_RELEASE_DATE)/g' \
-e 's:%CONFDIR%:$(sysconfdir):g' \
-e 's:%LOGDIR%:$(logdir):g' \
-e 's:%ADMINDIR%:$(admindir):g' \
-e 's:%PKGDOCDIR%:$(docdir):g' \
-e 's:%PKGCONFDIR%:$(pkgconfdir):g' \
-e 's:%PKGLIBDIR%:$(pkglibexecdir):g' \
-e 's:%PKGDATADIR%:$(pkgdatadir):g'
all: all-am
.SUFFIXES:
.SUFFIXES: .man .1 .5 .8
$(srcdir)/Makefile.in: $(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) --foreign man/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign man/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: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(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) all-local
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 clean-local mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-data-local install-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-local uninstall-man
uninstall-man: uninstall-man1
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
clean-local 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-data-local \
install-dvi install-dvi-am install-exec install-exec-am \
install-html install-html-am install-info install-info-am \
install-man install-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-local uninstall-man \
uninstall-man1
.PRECIOUS: Makefile
# If the user has not defined it let's use the default.
LINGUAS ?= $(LINGUAS_DIST)
update-po:
$(PO4A_V) $(PO4A) $(PO4A_OPTS) --force $(srcdir)/po4a/po4a.cfg
all-local: gen-man
clean-local: clean-local-yes
clean-local-no:
clean-local-yes:
rm -rf $(LINGUAS_DIST)
$(AM_V_at) rm -f man.stamp
# We use the man-once target to guarantee there is never an empty call in
# gen-man, that starts recursing infinitely.
.PHONY: gen-man man-once
gen-man: man.stamp
for lang in $(LINGUAS); do \
files=""; \
for man in $(man_MANS); do \
trans="$${man%%.[0-9]}.man"; \
if [ -f $(builddir)/$$lang/$$trans ]; then \
files="$$files $(builddir)/$$lang/$$man"; \
elif [ -f $(srcdir)/$$lang/$$trans ]; then \
files="$$files $(srcdir)/$$lang/$$man"; \
fi; \
done; \
$(MAKE) mandir="$(mandir)/$$lang" man_MANS="" man-once $$files; \
done
# FIXME: Use a stamp file until po4a supports them internally.
man.stamp:
$(PO4A_V) $(PO4A) $(PO4A_OPTS) $(srcdir)/po4a/po4a.cfg
$(AM_V_at) touch $@
$(nil)
.man.1: Makefile
$(MANGEN) $< >$@
.man.5: Makefile
$(MANGEN) $< >$@
.man.8: Makefile
$(MANGEN) $< >$@
install-data-local: install-data-local-yes
install-data-local-no:
install-data-local-yes:
for lang in $(LINGUAS); do \
files=""; \
for man in $(man_MANS); do \
trans="$${man%%.[0-9]}.man"; \
if [ -f $(builddir)/$$lang/$$trans ]; then \
files="$$files $(builddir)/$$lang/$$man"; \
elif [ -f $(srcdir)/$$lang/$$trans ]; then \
files="$$files $(srcdir)/$$lang/$$man"; \
fi; \
done; \
$(MAKE) install-man mandir="$(mandir)/$$lang" man_MANS="$$files"; \
done
uninstall-local: uninstall-local-yes
uninstall-local-no:
uninstall-local-yes:
for lang in $(LINGUAS); do \
files=""; \
for man in $(man_MANS); do \
trans="$${man%%.[0-9]}.man"; \
if [ -f $(builddir)/$$lang/$$trans ]; then \
files="$$files $(builddir)/$$lang/$$man"; \
elif [ -f $(srcdir)/$$lang/$$trans ]; then \
files="$$files $(srcdir)/$$lang/$$man"; \
fi; \
done; \
$(MAKE) uninstall-man mandir="$(mandir)/$$lang" man_MANS="$$files"; \
done
#dist-hook: man.stamp
# cp $(srcdir)/man.stamp $(distdir)/
# for lang in $(LINGUAS_DIST); do \
# cp $(srcdir)/po/$$lang.po $(distdir)/po; \
# cp $(srcdir)/po/$$lang.add $(distdir)/po; \
# $(MKDIR_P) $(distdir)/$$lang; \
# cp -R $(srcdir)/$$lang $(distdir)/; \
# done
# 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:

1
man/po4a/cs.add Normal file
View File

@ -0,0 +1 @@
PO4A-HEADER:mode=after;position=^\.SH.*VIZ.*;beginboundary=FausseLimitePo4a

121
man/po4a/cs.po Normal file
View File

@ -0,0 +1,121 @@
# Czech translation for package sensible-utils.
# Copyright (C) 2012 Michal Simunek <michal.simunek@gmail.com>
# This file is distributed under the same license as the sensible-utils package.
# Michal Simunek <michal.simunek@gmail.com>, 2012.
#
msgid ""
msgstr ""
"Project-Id-Version: sensible-utils\n"
"POT-Creation-Date: 2017-08-11 09:11+0200\n"
"PO-Revision-Date: 2012-05-16 14:31+0200\n"
"Last-Translator: Michal Simunek <michal.simunek@gmail.com>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: utf-8\n"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14. lis 2010"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "NÁZEV"
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - rozumné upravování, "
"prohlížení dokumentů a procházení webu"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "PŘEHLED"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [VOLBY...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [VOLBY...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> url"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "POPIS"
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager> a B<sensible-browser> činí rozumná "
"rozhodnutí, který příslušný editor, prohlížeč dokumentů a webový prohlížeč "
"volat. Programy v Debianu mohou tyto skripty využívat jako svůj výchozí "
"editor, prohlížeč dokumentů a webový prohlížeč, či k napodobení jejich "
"chování."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "VIZ TAKÉ"
#. type: Plain text
#: sensible-editor.man
#, fuzzy
#| msgid ""
#| "Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in "
#| "B<environ>(7)"
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr "Proměnné EDITOR, VISUAL, PAGER a BROWSER v dokumentaci B<environ>(7)"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""

13
man/po4a/de.add Normal file
View File

@ -0,0 +1,13 @@
PO4A-HEADER:mode=after;position=^\.TH;beginboundary=^\.SH "SIEHE AUCH"
.SH ÜBERSETZUNG
Diese Übersetzung wurde 2011 von Helge Kreutzmann erstellt. Sie unterliegt
der GNU GPL Version 2 (oder neuer).
Um die englische Originalversion zu lesen, geben Sie »man -L C BEFEHL« ein.
Fehler in der Übersetzung melden Sie bitte über die Fehlerdatenbank (BTS)
von Debian oder indem Sie eine E-Mail an
.nh
<\fIdebian\-l10\-german@lists.debian.org\fR>,
.hy
schreiben.

122
man/po4a/de.po Normal file
View File

@ -0,0 +1,122 @@
# Translation of sensible-utils man page template to German
# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2011, 2017.
# This file is distributed under the same license as the sensible-utils package.
#
msgid ""
msgstr ""
"Project-Id-Version: sensible-utils man page\n"
"POT-Creation-Date: 2017-08-11 09:12+0200\n"
"PO-Revision-Date: 2017-10-02 17:57+0200\n"
"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: utf-8\n"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14. Nov. 2010"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "NAME"
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - vernünftiges Bearbeiten, "
"Blättern und Web-Surfen"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "ÜBERSICHT"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [OPTIONEN …]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [OPTIONEN …]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> URL"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "BESCHREIBUNG"
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager> und B<sensible-browser> treffen "
"vernünftige Entscheidungen, welcher Editor, Anzeigeprogramm (»pager«) und "
"Web-Browser jeweils aufgerufen wird. Programme in Debian können diese "
"Skripte als ihr Standard-Editor, Standard-Anzeigeprogramm oder Standard-Web-"
"Browser benutzen oder um deren Verhalten zu emulieren."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "SIEHE AUCH"
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
"Dokumentation der Variablen EDITOR, VISUAL und PAGER in B<environ>(7) zur "
"Änderung des Standard-Editors des Benutzers"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr "STANDARD"
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""
"Die Beschreibung des Verhaltens der Sensible-Utils in einem Debian-System ist "
"unter Abschnitt 11.4 der Debian-Policy erhältlich, die normalerweise unter /"
"usr/share/doc/debian-policy installiert wird (Sie müssen ggf. debian-policy "
"installieren)."

8
man/po4a/es.add Normal file
View File

@ -0,0 +1,8 @@
PO4A-HEADER:mode=after;position=^\.SH NOM;beginboundary=FausseLimitePo4a
.SH TRADUCCIÓN
Este documento es una traducción por Omar Campagne.
Contacto:
.nh
<\fIdebian\-l10\-spanish@lists.debian.org\fR>
.hy

161
man/po4a/es.po Normal file
View File

@ -0,0 +1,161 @@
# sensible-utils manpages po translation to Spanish
# Copyright (C) 2010, 2011 Software in the Public Interest
# This file is distributed under the same license as the sensible-utils package.
#
# Changes:
# - Initial translation
# Omar Campagne <ocampagne@gmail.com> 2010, 2011
#
# - Updates
# TRANSLATOR
#
# Traductores, si no conocen el formato PO, merece la pena leer la
# documentación de gettext, especialmente las secciones dedicadas a este
# formato, por ejemplo ejecutando:
# info -n '(gettext)PO Files'
# info -n '(gettext)Header Entry'
#
# Equipo de traducción al español, por favor lean antes de traducir
# los siguientes documentos:
#
# - El proyecto de traducción de Debian al español
# http://www.debian.org/intl/spanish/
# especialmente las notas y normas de traducción en
# http://www.debian.org/intl/spanish/notas
#
# - La guía de traducción de po's de debconf:
# /usr/share/doc/po-debconf/README-trans
# o http://www.debian.org/intl/l10n/po-debconf/README-trans
#
msgid ""
msgstr ""
"Project-Id-Version: sensible-utils 0.0.6\n"
"POT-Creation-Date: 2017-08-11 09:11+0200\n"
"PO-Revision-Date: 2011-07-16 16:51+0200\n"
"Last-Translator: Omar Campagne <ocampagne@gmail.com>\n"
"Language-Team: Debian l10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Virtaal 0.6.1\n"
# type: TH
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14 de Noviembre de 2010"
# type: TH
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian"
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "NOMBRE"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - Facilita editar y leer "
"ficheros así como explorar la red con la herramienta adecuada"
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "SINOPSIS"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [opciones...]"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [opciones...]"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> url"
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIPCIÓN"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager> y B<sensible-browser> realizan las "
"decisiones adecuadas sobre qué editor, paginador o navegador de Internet "
"invocar, respectivamente. Los programas en Debian pueden usar estos scripts "
"como su editor, paginador o explorador predeterminado, o emular su "
"comportamiento."
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "VÉASE TAMBIÉN"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
#, fuzzy
#| msgid ""
#| "Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in "
#| "B<environ>(7)"
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
"Consulte la documentación de las variables de entorno EDITOR, VISUAL PAGER y "
"BROWSER en B<environ>(7)."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""

16
man/po4a/fr.add Normal file
View File

@ -0,0 +1,16 @@
PO4A-HEADER:mode=after;position=^\.SH NOM;beginboundary=FausseLimitePo4a
.SH TRADUCTION
Ce document est une traduction, réalisée par Nicolas FRANÇOIS le
8 décembre 2005.
L'équipe de traduction a fait le maximum pour réaliser une adaptation
française de qualité.
La version anglaise la plus à jour de ce document est toujours consultable
en ajoutant l'option «\ \-L C\ » à la commande \fBman\fR.
N'hésitez pas à signaler à l'auteur ou à la liste de traduction
.nh
<\fIdebian\-l10\-french@lists.debian.org\fR>,
.hy
selon le cas, toute erreur dans cette page de manuel.

149
man/po4a/fr.po Normal file
View File

@ -0,0 +1,149 @@
# French translation of the debianutils' man pages
# Traduction des pages de manuel du paquet debianutils
#
# Copyright (C) 2004 Software in the Public Interest
# This file is distributed under the same license as the debianutils package.
#
# Reprise des traduction originelles de which.1 (Laëtitia Groslong)
#
# Nicolas FRANÇOIS <nicolas.francois@centaliens.net>, 2004.
# et savelog.8 (Antoine Gémis, 13 janvier 2003).
# Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>, 2017.
msgid ""
msgstr ""
"Project-Id-Version: debianutils\n"
"POT-Creation-Date: 2017-08-11 09:11+0200\n"
"PO-Revision-Date: 2017-08-10 22:25+0100\n"
"Last-Translator: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>\n"
"Language-Team: French <kde-i18n-doc@kde.org>\n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Lokalize 2.0\n"
# type: TH
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14 novembre 2010"
# type: TH
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian GNU/Linux"
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "NOM"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - outils pratiques "
"d'édition, de mise en page et de navigation sur le web"
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "SYNOPSIS"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [OPTIONS...]"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [OPTIONS...]"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> url"
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIPTION"
# type: Plain text
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager> et B<sensible-browser> prennent des "
"décisions sensées respectivement sur le choix de l'éditeur, de l'outil de "
"mise en page (« pageur ») et de l'outil de navigation qu'il faut appeler. "
"Les programmes de la distribution Debian peuvent utiliser ces scripts comme "
"éditeur, pageur, ou navigateur par défaut ou peuvent simuler leur "
"comportement."
# type: SH
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "VOIR AUSSI"
# NOTE : manque un verbe
# type: Plain text
#. type: Plain text
#: sensible-editor.man
#, fuzzy
#| msgid ""
#| "Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in "
#| "B<environ>(7)"
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
"La documentation des variables d'environnement EDITOR, VISUAL, PAGER, et "
"BROWSER se trouve dans B<environ>(7)."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr "STANDARD"
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""
"La documentation du comportement du pacquet sensible-utils pour un système "
"debian est disponible au titre 11.4 du manuel de la politique debian qui est "
"usuellement installé sous /usr/share/doc/debian-policy (il convient "
"d'installer le pacquet debian-policy)"

1
man/po4a/it.add Normal file
View File

@ -0,0 +1 @@
PO4A-HEADER:mode=after;position=^\.SH NOM;beginboundary=FausseLimitePo4a

124
man/po4a/it.po Normal file
View File

@ -0,0 +1,124 @@
# Italian translation of sensible-utils man page.
# Copyright (C) 2012 Free Software Foundation, Inc.
# This file is distributed under the same license as the sensible-utils package.
# Beatrice Torracca <beatricet@libero.it>, 2012.
msgid ""
msgstr ""
"Project-Id-Version: sensible-utils\n"
"POT-Creation-Date: 2017-08-11 09:11+0200\n"
"PO-Revision-Date: 2012-05-12 18:33+0200\n"
"Last-Translator: Beatrice Torracca <beatricet@libero.it>\n"
"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Virtaal 0.7.1\n"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14 Novembre 2010"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "NOME"
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - modifica di testi, "
"paginazione e navigazione web ragionevoli"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "SINTASSI"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [OPZIONI...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [OPZIONI...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> URL"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIZIONE"
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager> e B<sensible-browser> prendono "
"decisioni sensate rispettivamente su quale editor, paginatore e browser web "
"richiamare. I programmi in Debian possono usare questi script come loro "
"editor, paginatore o navigatore web predefinito oppure emulare il loro "
"comportamento."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "VEDERE ANCHE"
#. type: Plain text
#: sensible-editor.man
#, fuzzy
#| msgid ""
#| "Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in "
#| "B<environ>(7)"
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
"La documentazione delle variabili EDITOR, VISUAL, PAGER e BROWSER in "
"B<environ>(7)."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""

5
man/po4a/ja.add Normal file
View File

@ -0,0 +1,5 @@
PO4A-HEADER:mode=after;position=^\.SH 名前;beginboundary=FausseLimitePo4a
.SH 翻訳
倉澤 望 <nabetaro@debian.or.jp>
Debian JP Documentation ML <debian-doc@debian.or.jp>

127
man/po4a/ja.po Normal file
View File

@ -0,0 +1,127 @@
# Japanese translations for po package
# Copyright (C) 2010 Free Software Foundation, Inc.
# This file is distributed under the same license as the po package.
# Automatically generated, 2010.
# KURASAWA Nozomu <nabetaro@debian.or.jp>, 2010.
msgid ""
msgstr ""
"Project-Id-Version: po 4a\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-11 09:11+0200\n"
"PO-Revision-Date: 2011-02-11 15:07+0900\n"
"Last-Translator: KURASAWA Nozomu <nabetaro@caldron.jp>\n"
"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Virtaal 0.5.2\n"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14 Nov 2010"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "名前"
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - 気の利いたエディタ、ペー"
"ジャ、ウェブブラウザ"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "書式"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [OPTIONS...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [OPTIONS...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> url"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "説明"
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager>, B<sensible-browser> は、どのエディタ、"
"ページャ、ウェブブラウザを使用するかを、それぞれ気の利いた選択をしてくれま"
"す。Debian にあるプログラムは、デフォルトのエディタ、ページャ、ウェブブラウザ"
"としてこのスクリプトを使えますし、その振る舞いをエミュレートできます。"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "関連項目"
#. type: Plain text
#: sensible-editor.man
#, fuzzy
#| msgid ""
#| "Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in "
#| "B<environ>(7)"
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
"B<environ>(7) にある環境変数 EDITOR, VISUAL, PAGER, BROWSER のドキュメント"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""
#~ msgid "03 Mar 2004"
#~ msgstr "03 Mar 2004"

3
man/po4a/pl.add Normal file
View File

@ -0,0 +1,3 @@
PO4A-HEADER:mode=after;position=^\.SH NAZWA;beginboundary=FakePo4aBoundary
.SH TŁUMACZENIE
Robert Luberda <robert@debian.org>, 2004

130
man/po4a/pl.po Normal file
View File

@ -0,0 +1,130 @@
# Polish translation of sensible-utils man pages
# Copyright (C) 2004, 2010 Robert Luberda <robert@debian.org>.
# This file is distributed under the same license as the PACKAGE package.
# Robert Luberda <robert@debian.org>, 2004
#
#
msgid ""
msgstr ""
"Project-Id-Version: sensible-utils 0.0.2\n"
"POT-Creation-Date: 2017-08-11 09:11+0200\n"
"PO-Revision-Date: 2010-04-06 22:31+0200\n"
"Last-Translator: Robert Luberda<robert@debian.org>\n"
"Language-Team: Polish <debian-l10n-polish@lists.debian.org>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14 listopad 2010"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "NAZWA"
#
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - rozsądne edytowanie, "
"przeglądanie plików i zasobów sieciowych"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "SKŁADNIA"
#
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [OPCJE...]"
#
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [OPCJE...]"
#
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> url"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "OPIS"
#
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager> i B<sensible-browser> podejmują "
"rozsądne decyzje o tym, jaki uruchomić - odpowiednio - edytor, pager czy "
"przeglądarkę www. Programy w systemie Debian mogą albo używać tych skryptów "
"jako domyślnego edytora, pagera czy przeglądarki stron www, albo naśladować "
"ich zachowanie."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "ZOBACZ TAKŻE"
#
#. type: Plain text
#: sensible-editor.man
#, fuzzy
#| msgid ""
#| "Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in "
#| "B<environ>(7)"
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
"Dokumentacja zmiennych środowiskowych EDITOR, VISUAL, PAGER i BROWSER w "
"B<environ>(7)"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""

7
man/po4a/po4a.cfg Normal file
View File

@ -0,0 +1,7 @@
[po4a_langs] cs de es fr it ja pl pt
[po4a_paths] po4a/sensible-utils.pot $lang:po4a/$lang.po
# Make sure the man pages are generated with the right encoding.
[po4a_alias:man] man opt:"-M UTF-8 -L UTF-8 -A UTF-8"
[type:man] sensible-editor.man $lang:$lang/sensible-editor.man add_$lang:po4a/$lang.add

1
man/po4a/pt.add Normal file
View File

@ -0,0 +1 @@
PO4A-HEADER:mode=after;position=^\.SH.*VEJA.*;beginboundary=FausseLimitePo4a

124
man/po4a/pt.po Normal file
View File

@ -0,0 +1,124 @@
# Translation of sensible-utils's manpage to European Portuguese
# Copyright (C) 2014 Free Software Foundation, Inc.
# This file is distributed under the same license as the sensible-utils package.
#
# Américo Monteiro <a_monteiro@gmx.com>, 2014.
msgid ""
msgstr ""
"Project-Id-Version: sensible-utils 0.0.9\n"
"POT-Creation-Date: 2017-08-11 09:11+0200\n"
"PO-Revision-Date: 2014-08-14 01:23+0100\n"
"Last-Translator: Américo Monteiro <a_monteiro@gmx.com>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 1.4\n"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr "SENSIBLE-EDITOR"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr "14 Nov 2010"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr "Debian"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr "NOME"
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
"sensible-editor, sensible-pager, sensible-browser - edição, paginação, e "
"exploração web sensíveis"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr "SINOPSE"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr "B<sensible-editor> [OPÇÕES...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr "B<sensible-pager> [OPÇÕES...]"
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr "B<sensible-browser> url"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr "DESCRIÇÃO"
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
"B<sensible-editor>, B<sensible-pager> a B<sensible-browser> tomam decisões "
"sensíveis sobre qual editor, paginador, e explorador web chamar, "
"respectivamente. Os programas em Debian podem usar estes scripts como seu "
"editor, paginador ou explorador web predefinido ou então emular o seu "
"comportamento."
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr "VEJA TAMBÉM"
#. type: Plain text
#: sensible-editor.man
#, fuzzy
#| msgid ""
#| "Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in "
#| "B<environ>(7)"
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
"Documentação das variáveis EDITOR, VISUAL, PAGER, e BROWSER em B<environ>(7)"
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under /usr/"
"share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""

111
man/po4a/sensible-utils.pot Normal file
View File

@ -0,0 +1,111 @@
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the sensible-utils package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: sensible-utils VERSION\n"
"POT-Creation-Date: 2018-03-12 12:18+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "SENSIBLE-EDITOR"
msgstr ""
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "14 Nov 2010"
msgstr ""
#. type: TH
#: sensible-editor.man
#, no-wrap
msgid "Debian"
msgstr ""
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "NAME"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"sensible-editor, sensible-pager, sensible-browser - sensible editing, "
"paging, and web browsing"
msgstr ""
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SYNOPSIS"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-editor> [OPTIONS...]"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-pager> [OPTIONS...]"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid "B<sensible-browser> url"
msgstr ""
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "DESCRIPTION"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"B<sensible-editor>, B<sensible-pager> and B<sensible-browser> make sensible "
"decisions on which editor, pager, and web browser to call, respectively. "
"Programs in Debian can use these scripts as their default editor, pager, or "
"web browser or emulate their behavior."
msgstr ""
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of the EDITOR, VISUAL and PAGER variables in B<environ>(7) "
"and B<select-editor>(1) for changing a user's default editor"
msgstr ""
#. type: SH
#: sensible-editor.man
#, no-wrap
msgid "STANDARD"
msgstr ""
#. type: Plain text
#: sensible-editor.man
msgid ""
"Documentation of behavior of sensible-utils under a debian system is "
"available under section 11.4 of debian-policy usually installed under "
"/usr/share/doc/debian-policy (you might need to install debian-policy)"
msgstr ""

18
man/select-editor.man Normal file
View File

@ -0,0 +1,18 @@
.\" -*- nroff -*-
.TH SELECT-EDITOR 1 "21 May 2008" "Debian"
.SH NAME
select-editor \- select your default sensible-editor from all installed editors
.SH SYNOPSIS
.BR select-editor
.br
.SH DESCRIPTION
.BR select-editor
provides a coherent mechanism for selecting and storing a preferred sensible-editor on a per-user basis.
It lists the available editors on a system and interactively prompts the user to select one.
The results are stored as SELECTED_EDITOR in ~/.selected_editor, which is sourced and used by sensible-editor.
SELECTED_EDITOR is overridden by the VISUAL and EDITOR environment variables.
.SH AUTHOR
.BR select-editor
was written by Dustin Kirkland <kirkland@canonical.com>.
.SH "SEE ALSO"
.BR sensible-editor (1)

1
man/sensible-browser.man Symbolic link
View File

@ -0,0 +1 @@
sensible-editor.man

26
man/sensible-editor.man Normal file
View File

@ -0,0 +1,26 @@
.\" -*- nroff -*-
.TH SENSIBLE-EDITOR 1 "14 Nov 2010" "Debian"
.SH NAME
sensible-editor, sensible-pager, sensible-browser \- sensible editing, paging, and web browsing
.SH SYNOPSIS
.BR sensible-editor " [OPTIONS...]"
.br
.BR sensible-pager " [OPTIONS...]"
.br
.BR sensible-browser " url"
.br
.SH DESCRIPTION
.BR sensible-editor ", " sensible-pager " and " sensible-browser
make sensible decisions on which editor, pager, and web browser to call,
respectively. Programs in Debian can use these scripts
as their default editor, pager, or web browser or emulate their behavior.
.SH "SEE ALSO"
Documentation of the EDITOR, VISUAL and PAGER variables in
.BR environ (7)
and
.BR select-editor (1)
for changing a user's default editor
.SH "STANDARD"
Documentation of behavior of sensible-utils under a debian system is available under
section 11.4 of debian-policy usually installed under
/usr/share/doc/debian-policy (you might need to install debian-policy)

1
man/sensible-pager.man Symbolic link
View File

@ -0,0 +1 @@
sensible-editor.man

88
man/utf8toman.sed Normal file
View File

@ -0,0 +1,88 @@
s//\\(hy/g
s//\\(en/g
s//\\(em/g
s//\\(bu/g
s/¡/\\(r!/g
s/¿/\\(r?/g
s/«/\\(Fo/g
s/»/\\(Fc/g
s//\\(oq/g
s//\\(cq/g
s//\\(bq/g
s//\\(lq/g
s//\\(rq/g
s//\\(Bq/g
s//\\(fo/g
s//\\(fc/g
s/À/\\(`A/g
s/Á/\\('A/g
s/Â/\\(^A/g
s/Ã/\\(~A/g
s/Ä/\\(:A/g
s/Å/\\(oA/g
s/Æ/\\(AE/g
s/Ç/\\(,C/g
s/È/\\(`E/g
s/É/\\('E/g
s/Ê/\\(^E/g
s/Ë/\\(:E/g
s/Ì/\\(`I/g
s/Í/\\('I/g
s/Î/\\(^I/g
s/Ï/\\(:I/g
s/Ñ/\\(~N/g
s/Ò/\\(`O/g
s/Ó/\\('O/g
s/Ô/\\(^O/g
s/Õ/\\(~O/g
s/Ö/\\(:O/g
s/Ø/\\(\/O/g
s/Ù/\\(`U/g
s/Ú/\\('U/g
s/Û/\\(^U/g
s/Ü/\\(:U/g
s/Ý/\\('Y/g
s/ß/\\(ss/g
s/à/\\(`a/g
s/á/\\('a/g
s/â/\\(^a/g
s/ã/\\(~a/g
s/ä/\\(:a/g
s/å/\\(oa/g
s/æ/\\(ae/g
s/ç/\\(,c/g
s/è/\\(`e/g
s/é/\\('e/g
s/ê/\\(^e/g
s/ë/\\(:e/g
s/ì/\\(`i/g
s/í/\\('i/g
s/î/\\(^i/g
s/ï/\\(:i/g
s/ñ/\\(~n/g
s/ò/\\(`o/g
s/ó/\\('o/g
s/ô/\\(^o/g
s/õ/\\(~o/g
s/ö/\\(:o/g
s/ø/\\(\/o/g
s/ù/\\(`u/g
s/ú/\\('u/g
s/û/\\(^u/g
s/ü/\\(:u/g
s/ý/\\('y/g
s/ÿ/\\(:y/g
s/Ć/\\('C/g
s/ć/\\('c/g
s/ı/\\(.i/g
s/IJ/\\(IJ/g
s/ij/\\(ij/g
s/Ł/\\(\/L/g
s/ł/\\(\/l/g
s/Œ/\\(OE/g
s/œ/\\(oe/g
s/Š/\\(vS/g
s/š/\\(vs/g
s/Ÿ/\\(:Y/g
s/Ž/\\(vZ/g
s/ž/\\(vz/g

79
select-editor Executable file
View File

@ -0,0 +1,79 @@
#!/bin/sh
# To generate localization information, run:
# xgettext -o - -L Shell select-editor
# if no gettext it will fallback to gettext on /usr/share/sensible-utils/bin
# see #728612
PATH=$PATH:/usr/sbin:/usr/local/share/sensible-utils/bin
# EASIEST editor
EASIEST="/bin/nano"
# Ensure that $HOME/.selected_editor is writeable
touch $HOME/.selected_editor || exit 1
sorted_list_of_editors() {
update-alternatives --query editor | while read emptyline; do
# skip the first entry (header) as well as the rest of processed entries
if [ -z "$emptyline" ]; then continue; fi
# extract the two interesting fields
local ALTERNATIVE=''
local PRIORITY=''
while read field value; do
case "${field}" in
'Alternative:') ALTERNATIVE="${value}";;
'Priority:') PRIORITY="${value}";;
esac
if [ -n "$ALTERNATIVE" ] && [ -n "$PRIORITY" ]; then break; fi
done
if [ -z "$ALTERNATIVE" ] || [ -z "$PRIORITY" ]; then continue; fi
echo "${PRIORITY}:${ALTERNATIVE}"
done | sort -n -r | cut -d':' -f 2-
}
editors=`update-alternatives --list editor | wc -l`
if [ $editors -gt 1 ]; then
# fix simple to 1 see #777168
simple=1
echo
echo "`gettext 'Select an editor. To change later, run'`" "'select-editor'."
i=0
editors=`sorted_list_of_editors`
for e in $editors; do
i=`expr $i + 1`
desc=
if [ $e = "$EASIEST" ]; then
desc=" <---- ` gettext 'easiest'`"
simple=$i
fi
echo " $i. $e$desc"
done
echo ""
selected=x
while /bin/true; do
if [ -z "$selected" -a ! -z "$simple" ]; then
selected="$simple"
elif ! test $selected -gt 0 2>/dev/null; then
echo -n "$(gettext 'Choose') 1-$i [$simple]: "
read -r selected
elif ! test $selected -le $i 2>/dev/null; then
echo -n "$(gettext 'Choose') 1-$i [$simple]: "
read -r selected
else
break
fi
done
i=0
for e in $editors; do
i=`expr $i + 1`
if [ $i -eq $selected ]; then
echo "# Generated by /usr/bin/select-editor" > $HOME/.selected_editor
echo "SELECTED_EDITOR=\"$e\"" >> $HOME/.selected_editor && exit 0
fi
done
fi
exit 1

79
select-editor.in Normal file
View File

@ -0,0 +1,79 @@
#!/bin/sh
# To generate localization information, run:
# xgettext -o - -L Shell select-editor
# if no gettext it will fallback to gettext on /usr/share/sensible-utils/bin
# see #728612
PATH=$PATH:/usr/sbin:@binpkgdatadir@
# EASIEST editor
EASIEST="/bin/nano"
# Ensure that $HOME/.selected_editor is writeable
touch $HOME/.selected_editor || exit 1
sorted_list_of_editors() {
update-alternatives --query editor | while read emptyline; do
# skip the first entry (header) as well as the rest of processed entries
if [ -z "$emptyline" ]; then continue; fi
# extract the two interesting fields
local ALTERNATIVE=''
local PRIORITY=''
while read field value; do
case "${field}" in
'Alternative:') ALTERNATIVE="${value}";;
'Priority:') PRIORITY="${value}";;
esac
if [ -n "$ALTERNATIVE" ] && [ -n "$PRIORITY" ]; then break; fi
done
if [ -z "$ALTERNATIVE" ] || [ -z "$PRIORITY" ]; then continue; fi
echo "${PRIORITY}:${ALTERNATIVE}"
done | sort -n -r | cut -d':' -f 2-
}
editors=`update-alternatives --list editor | wc -l`
if [ $editors -gt 1 ]; then
# fix simple to 1 see #777168
simple=1
echo
echo "`gettext 'Select an editor. To change later, run'`" "'select-editor'."
i=0
editors=`sorted_list_of_editors`
for e in $editors; do
i=`expr $i + 1`
desc=
if [ $e = "$EASIEST" ]; then
desc=" <---- ` gettext 'easiest'`"
simple=$i
fi
echo " $i. $e$desc"
done
echo ""
selected=x
while /bin/true; do
if [ -z "$selected" -a ! -z "$simple" ]; then
selected="$simple"
elif ! test $selected -gt 0 2>/dev/null; then
echo -n "$(gettext 'Choose') 1-$i [$simple]: "
read -r selected
elif ! test $selected -le $i 2>/dev/null; then
echo -n "$(gettext 'Choose') 1-$i [$simple]: "
read -r selected
else
break
fi
done
i=0
for e in $editors; do
i=`expr $i + 1`
if [ $i -eq $selected ]; then
echo "# Generated by /usr/bin/select-editor" > $HOME/.selected_editor
echo "SELECTED_EDITOR=\"$e\"" >> $HOME/.selected_editor && exit 0
fi
done
fi
exit 1

36
sensible-browser Executable file
View File

@ -0,0 +1,36 @@
#!/bin/sh
# Prevent recursive loops, where these values are set to this script
p="$(which sensible-browser)"
[ "$(which $BROWSER || true)" = "$p" ] && BROWSER=
if test -n "$BROWSER"; then
${BROWSER} "$@"
ret="$?"
if [ "$ret" -ne 126 ] && [ "$ret" -ne 127 ]; then
exit "$ret"
fi
fi
if test -n "$DISPLAY"; then
if test -n "$GNOME_DESKTOP_SESSION_ID"; then
if test -x /usr/bin/gnome-www-browser; then
exec /usr/bin/gnome-www-browser "$@"
elif test -x /usr/bin/x-www-browser; then
exec /usr/bin/x-www-browser "$@"
elif test -x /usr/bin/gnome-terminal && test -x /usr/bin/www-browser; then
exec /usr/bin/gnome-terminal -x /usr/bin/www-browser "$@"
fi
fi
if test -x /usr/bin/x-www-browser; then
exec /usr/bin/x-www-browser "$@"
elif test -x /usr/bin/x-terminal-emulator && test -x /usr/bin/www-browser; then
exec /usr/bin/x-terminal-emulator -x /usr/bin/www-browser "$@"
fi
elif test -x /usr/bin/www-browser; then
exec /usr/bin/www-browser "$@"
fi
printf "Couldn't find a suitable web browser!\n" >&2
printf "Set the BROWSER environment variable to your desired browser.\n" >&2
exit 1;

44
sensible-editor Executable file
View File

@ -0,0 +1,44 @@
#!/bin/sh
ret="$?"
# Prevent recursive loops, where these values are set to this script
p="$(which sensible-editor)"
[ "$(which $EDITOR || true)" = "$p" ] && EDITOR=
[ "$(which $VISUAL || true)" = "$p" ] && VISUAL=
[ "$(which $SELECTED_EDITOR || true)" = "$p" ] && SELECTED_EDITOR=
if [ -n "$VISUAL" ]; then
${VISUAL} "$@"
ret="$?"
if [ "$ret" -ne 126 ] && [ "$ret" -ne 127 ]; then
exit "$ret"
fi
fi
if [ -r ~/.selected_editor ]; then
. ~/.selected_editor 2>/dev/null || true
elif [ -z "$EDITOR" ] && [ -z "$SELECTED_EDITOR" ] && [ -t 0 ]; then
select-editor && . ~/.selected_editor 2>/dev/null || true
fi
${EDITOR:-${SELECTED_EDITOR:-editor}} "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
nano "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
nano-tiny "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
vi "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
echo "Couldn't find an editor!" 1>&2
echo "Set the \$EDITOR environment variable to your desired editor." 1>&2
exit 1
fi
fi
fi
fi
exit "$ret"

17
sensible-pager Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
# Prevent recursive loops, where these values are set to this script
p="$(which sensible-pager)"
[ "$(which $PAGER || true)" = "$p" ] && PAGER=
${PAGER:-pager} "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
more "$@"
ret="$?"
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
echo "Couldn't find a pager!" 1>&2
echo "Set the \$PAGER environment variable to your desired pager." 1>&2
exit 1
fi
fi

6
test/echo-as-browser Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
URL="http://www.debian.org/"
RETURNURL=$(BROWSER=echo sensible-browser "$URL")
test "$URL" = "$RETURNURL"

14
test/ed-as-sensible-editor Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
set -e
TEMPFILE=$(mktemp -p "")
echo $TEMPFILE
trap "rm -rf $TEMPFILE" HUP INT QUIT TERM STOP PWR EXIT
EDITOR=ed sensible-editor "$TEMPFILE" <<EOF
a
test
.
w
q
EOF

3
tools/gettext Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
# see #728612 emulate gettext in LANG=C
echo -n "$@"