fswatch-1.11.2/ 000755 000765 000024 00000000000 13175374112 013661 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/man/ 000755 000765 000024 00000000000 13175374107 014440 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/configure.ac 000644 000765 000024 00000022512 13175367735 016166 0 ustar 00enrico staff 000000 000000 # -*- Autoconf -*-
#
# Copyright (C) 2014-2017 Enrico M. Crisostomo
#
# 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 3, 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 .
#
# Process this file with autoconf to produce a configure script.
#
dnl Copyright (C) 2014-2017 Enrico M. Crisostomo
AC_PREREQ([2.69])
m4_include([m4/fswatch_version.m4])
m4_include([m4/libfswatch_version.m4])
AC_INIT([fswatch], LIBFSWATCH_VERSION, [enrico.m.crisostomo@gmail.com], [], [https://github.com/emcrisostomo/fswatch])
AC_COPYRIGHT([2017 (C) Enrico M. Crisostomo])
AC_REVISION([$Revision: LIBFSWATCH_REVISION$])
AC_CONFIG_SRCDIR([fswatch/src/fswatch.cpp])
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_HEADERS([libfswatch_config.h])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([libfswatch/Makefile])
AC_CONFIG_FILES([libfswatch/doc/Makefile libfswatch/doc/doxygen/Makefile])
AC_CONFIG_FILES([libfswatch/src/Makefile libfswatch/src/libfswatch/Makefile])
AC_CONFIG_FILES([fswatch/Makefile fswatch/src/Makefile fswatch/doc/Makefile])
AC_CONFIG_FILES([po/Makefile.in])
AC_CONFIG_FILES([man/fswatch.7])
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_MACRO_DIR([m4])
# Compute the canonical target-system type variables
AC_CANONICAL_TARGET
TARGET_VENDOR=$target_vendor
TARGET_OS=$target_os
AC_SUBST([TARGET_VENDOR])
AC_SUBST([TARGET_OS])
# Initialize Automake.
AM_INIT_AUTOMAKE([-Wall -Werror gnu subdir-objects std-options 1.14])
AM_SILENT_RULES([yes])
AM_PROG_AR
# Configure language.
AC_LANG(C++)
AC_PROG_CXX([clang++ g++])
# Initialize libtool.
LT_PREREQ([2.4.2])
LT_INIT
AC_SUBST([LIBTOOL_DEPS])
# Configure package
AC_ARG_ENABLE([docker],
[AS_HELP_STRING([--enable-docker], [enable docker (default=no)])],
[use_docker=${enableval}],
[use_docker=no])
# OS-specific treatment
AM_CONDITIONAL([OS_CYGWIN], [test "x${target_os}" = "xcygwin"])
# Set library interface version
AC_SUBST([AM_LIBFSWATCH_API_VERSION], LIBFSWATCH_API_VERSION)
# Checks for programs.
EMC_PATH_PROG([DOXYGEN], [doxygen], [], [AC_MSG_WARN([Doxygen support disabled])], [doxygen path])
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "${DOXYGEN}"])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([libfswatch/doc/doxygen/Doxyfile])])
# Initialize gettext.
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.19.4])
AM_CONDITIONAL([USE_NLS], [test "x${USE_NLS}" = "xyes"])
# Configure C++ compiler
AX_CXX_COMPILE_STDCXX_11
AX_CXXFLAGS_WARN_ALL
# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_create])
# Checks for header files.
AC_CHECK_HEADERS([cstdlib], [], [AC_MSG_ERROR([A required header file is missing.])])
AC_CHECK_HEADERS([unistd.h], [], [AC_MSG_ERROR([A required header file is missing.])])
AC_CHECK_HEADERS([fcntl.h], [], [AC_MSG_ERROR([A required header file is missing.])])
# Check for optional header files.
AC_CHECK_HEADERS([unordered_map unordered_set])
AC_CHECK_HEADERS([getopt.h])
# Check for optional header files required to support OS-specific monitors
# Check for OS X FSEvents. FSEvents added file events in a later release, so
# this check must be performed separately.
AC_CHECK_HEADERS([CoreServices/CoreServices.h])
AS_VAR_IF([ac_cv_header_CoreServices_CoreServices_h], ["yes"], [AX_FSEVENTS_HAVE_FILE_EVENTS])
AM_CONDITIONAL([USE_FSEVENTS], [test "x${ax_cv_fsevents_have_file_events}" = "xyes"])
# Check for kqueue: if the sys/event.h header is present, perform a check for
# the kqueue and kevent functions.
AC_CHECK_HEADERS([sys/event.h])
AS_VAR_IF([ac_cv_header_sys_event_h], ["yes"], [
AS_VAR_SET([KQUEUE_AVAILABLE], ["yes"])
AC_CHECK_DECLS(
[kqueue, kevent],
[],
[AS_VAR_SET([KQUEUE_AVAILABLE], ["no"])],
[
AC_INCLUDES_DEFAULT
[#include ]
[#include ]
[#include ]
]
)
AC_CHECK_LIB([c], [kqueue], [], [AS_VAR_SET([KQUEUE_AVAILABLE], ["no"])])
])
AM_CONDITIONAL([USE_KQUEUE], [test "x${KQUEUE_AVAILABLE}" = "xyes"])
# Check for Solaris/Illumos File Events Notification API.
AC_CHECK_HEADERS([port.h])
AS_VAR_IF([ac_cv_header_port_h], ["yes"], [
AS_VAR_SET([FEN_AVAILABLE], ["yes"])
AC_CHECK_DECLS(
[port_create],
[],
[AS_VAR_SET([FEN_AVAILABLE], ["no"])],
[
AC_INCLUDES_DEFAULT
[#include ]
]
)
AC_CHECK_LIB([c], [port_create], [], [AS_VAR_SET([FEN_AVAILABLE], ["no"])])
])
AM_CONDITIONAL([USE_FEN], [test "x${FEN_AVAILABLE}" = "xyes"])
# Check for Linux inotify.
AC_CHECK_HEADERS([sys/inotify.h])
AS_VAR_IF([ac_cv_header_sys_inotify_h], ["yes"], [
AS_VAR_SET([INOTIFY_AVAILABLE], ["yes"])
AC_CHECK_DECLS(
[inotify_init, inotify_add_watch, inotify_rm_watch],
[],
[AS_VAR_SET([INOTIFY_AVAILABLE], ["no"])],
[
AC_INCLUDES_DEFAULT
[#include ]
]
)
AC_CHECK_LIB([c], [inotify_init], [], [AS_VAR_SET([INOTIFY_AVAILABLE], ["no"])])
])
AM_CONDITIONAL([USE_INOTIFY], [test "x${INOTIFY_AVAILABLE}" = "xyes"])
# Check for Microsoft Windows directory change notification API
AS_VAR_SET([WINDOWS_AVAILABLE], ["yes"])
AC_CHECK_HEADERS([windows.h], [], [AS_VAR_SET([WINDOWS_AVAILABLE], ["no"])])
AS_VAR_IF([WINDOWS_AVAILABLE], ["yes"], [
AC_CHECK_DECLS(
[FindFirstChangeNotification, FindNextChangeNotification, FindCloseChangeNotification, WaitForSingleObject, ReadDirectoryChangesW],
[],
[AS_VAR_SET([WINDOWS_AVAILABLE], ["no"])],
[
AC_INCLUDES_DEFAULT
[#include ]
]
)
])
AM_CONDITIONAL([USE_WINDOWS], [test "x${WINDOWS_AVAILABLE}" = "xyes"])
AS_VAR_IF([WINDOWS_AVAILABLE], ["yes"], [AC_DEFINE([HAVE_WINDOWS], [1], [Windows API present.])])
# Check for CygWin only if Windows is available
AS_VAR_IF([WINDOWS_AVAILABLE], ["yes"], [
AS_VAR_SET([CYGWIN_AVAILABLE], ["yes"])
AC_CHECK_HEADERS([sys/cygwin.h], [], [AS_VAR_SET([CYGWIN_AVAILABLE], ["no"])])
AS_VAR_IF([CYGWIN_AVAILABLE], ["yes"], [
AC_CHECK_DECLS(
[cygwin_create_path],
[],
[AS_VAR_SET([CYGWIN_AVAILABLE], ["no"])],
[
AC_INCLUDES_DEFAULT
[#include ]
]
)
])
])
AM_CONDITIONAL([USE_CYGWIN], [test "x${CYGWIN_AVAILABLE}" = "xyes"])
AS_VAR_IF([CYGWIN_AVAILABLE], ["yes"], [AC_DEFINE([HAVE_CYGWIN], [1], [CygWin API present.])])
# Some compilers declare to conform to C++11 but the library does not.
# These OS X versions are known to miss at least the listed headers:
# - 10.6 Snow Leopard: mutex, atomic
# - 10.7 Lion: mutex, atomic
# - 10.8 Mountain Lion: mutex, atomic
# Let's check for and skip multi-threading code if not found.
AC_CHECK_HEADER([mutex])
if test "x${ac_cv_header_mutex}" = "xyes" ; then
AC_DEFINE([HAVE_CXX_MUTEX],
[1],
[Define if is available.])
else
AC_MSG_WARN([AC_PACKAGE_NAME is not thread-safe because required C++11 library classes are not available.].)
fi
AC_CHECK_HEADER([atomic])
AS_VAR_IF([ac_cv_header_atomic],
["yes"],
[AC_DEFINE([HAVE_CXX_ATOMIC], [1], [Define if is available.])],
[AC_MSG_WARN([ unavailable: some functionalities will not be built.])])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT32_T
AC_TYPE_MODE_T
AC_CHECK_MEMBERS([struct stat.st_mtime],
[],
[],
[
AC_INCLUDES_DEFAULT
#include
])
AC_CHECK_MEMBERS([struct stat.st_mtimespec],
[],
[],
[
AC_INCLUDES_DEFAULT
#include
])
AC_CHECK_TYPE([std::unique_ptr],
[AC_DEFINE([HAVE_CXX_UNIQUE_PTR],
[1],
[Define if std::unique_ptr in is available.])],
[],
[[#include ]])
# Checks for library functions.
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_CHECK_FUNCS([modf], [], [AC_MSG_ERROR([The modf function cannot be found.])])
AC_CHECK_FUNCS([realpath], [], [AC_MSG_ERROR([The realpath function cannot be found.])])
AC_CHECK_FUNCS([regcomp], [], [AC_MSG_ERROR([The regcomp function cannot be found.])])
AC_CHECK_FUNCS([select], [], [AC_MSG_ERROR([The select function cannot be found.])])
AC_FUNC_STRTOD
AC_CHECK_FUNCS([atexit], [], [AC_MSG_ERROR([The atexit function cannot be found.])])
AC_CHECK_FUNCS([setlocale], [], [AC_MSG_ERROR([The setlocale function cannot be found.])])
AX_CXX_HAVE_THREAD_LOCAL
AS_VAR_IF(
[ax_cv_cxx_have_thread_local],
["yes"],
[],
[AC_MSG_WARN([The C API of AC_PACKAGE_NAME is not thread-safe because the current combination of compiler and libraries do not support the thread_local storage specifier.])])
# Check for optional library functions.
AS_VAR_IF([ac_cv_header_getopt_h], ["yes"], [AC_CHECK_FUNCS([getopt_long])])
# Create Dockerfile for test build containers
AS_VAR_IF([use_docker], [yes],
[
AX_GIT_CURRENT_BRANCH
AC_CONFIG_FILES([docker/alpine/Dockerfile])
AC_CONFIG_FILES([docker/debian9/Dockerfile])
],
[])
# Variables used in man files.
MAN_DATE=$(date +'%B %d, %Y')
FSWATCH=${PACKAGE_NAME}
MAN_BUG_REPORT=${PACKAGE_BUGREPORT}
AC_SUBST([MAN_DATE])
AC_SUBST([FSWATCH])
AC_SUBST([MAN_BUG_REPORT])
AC_OUTPUT
fswatch-1.11.2/docker/ 000755 000765 000024 00000000000 13175374107 015134 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/INSTALL 000644 000765 000024 00000036614 13175374062 014730 0 ustar 00enrico staff 000000 000000 Installation Instructions
*************************
Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.
Basic Installation
==================
Briefly, the shell command './configure && make && make install'
should configure, build, and install this package. The following
more-detailed instructions are generic; see the 'README' file for
instructions specific to this package. Some packages provide this
'INSTALL' file but do not implement all of the features documented
below. The lack of an optional feature in a given package is not
necessarily a bug. More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.
The 'configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a 'Makefile' in each directory of the package.
It may also create one or more '.h' files containing system-dependent
definitions. Finally, it creates a shell script 'config.status' that
you can run in the future to recreate the current configuration, and a
file 'config.log' containing compiler output (useful mainly for
debugging 'configure').
It can also use an optional file (typically called 'config.cache' and
enabled with '--cache-file=config.cache' or simply '-C') that saves the
results of its tests to speed up reconfiguring. Caching is disabled by
default to prevent problems with accidental use of stale cache files.
If you need to do unusual things to compile the package, please try
to figure out how 'configure' could check whether to do them, and mail
diffs or instructions to the address given in the 'README' so they can
be considered for the next release. If you are using the cache, and at
some point 'config.cache' contains results you don't want to keep, you
may remove or edit it.
The file 'configure.ac' (or 'configure.in') is used to create
'configure' by a program called 'autoconf'. You need 'configure.ac' if
you want to change it or regenerate 'configure' using a newer version of
'autoconf'.
The simplest way to compile this package is:
1. 'cd' to the directory containing the package's source code and type
'./configure' to configure the package for your system.
Running 'configure' might take a while. While running, it prints
some messages telling which features it is checking for.
2. Type 'make' to compile the package.
3. Optionally, type 'make check' to run any self-tests that come with
the package, generally using the just-built uninstalled binaries.
4. Type 'make install' to install the programs and any data files and
documentation. When installing into a prefix owned by root, it is
recommended that the package be configured and built as a regular
user, and only the 'make install' phase executed with root
privileges.
5. Optionally, type 'make installcheck' to repeat any self-tests, but
this time using the binaries in their final installed location.
This target does not install anything. Running this target as a
regular user, particularly if the prior 'make install' required
root privileges, verifies that the installation completed
correctly.
6. You can remove the program binaries and object files from the
source code directory by typing 'make clean'. To also remove the
files that 'configure' created (so you can compile the package for
a different kind of computer), type 'make distclean'. There is
also a 'make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
7. Often, you can also type 'make uninstall' to remove the installed
files again. In practice, not all packages have tested that
uninstallation works correctly, even though it is required by the
GNU Coding Standards.
8. Some packages, particularly those that use Automake, provide 'make
distcheck', which can by used by developers to test that all other
targets like 'make install' and 'make uninstall' work correctly.
This target is generally not run by end users.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the 'configure' script does not know about. Run './configure --help'
for details on some of the pertinent environment variables.
You can give 'configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here is
an example:
./configure CC=c99 CFLAGS=-g LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU 'make'. 'cd' to the
directory where you want the object files and executables to go and run
the 'configure' script. 'configure' automatically checks for the source
code in the directory that 'configure' is in and in '..'. This is known
as a "VPATH" build.
With a non-GNU 'make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use 'make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple '-arch' options to the
compiler but only a single '-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the 'lipo' tool if you have problems.
Installation Names
==================
By default, 'make install' installs the package's commands under
'/usr/local/bin', include files under '/usr/local/include', etc. You
can specify an installation prefix other than '/usr/local' by giving
'configure' the option '--prefix=PREFIX', where PREFIX must be an
absolute file name.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like '--bindir=DIR' to specify different values for particular
kinds of files. Run 'configure --help' for a list of the directories
you can set and what kinds of files go in them. In general, the default
for these options is expressed in terms of '${prefix}', so that
specifying just '--prefix' will affect all of the other directory
specifications that were not explicitly provided.
The most portable way to affect installation locations is to pass the
correct locations to 'configure'; however, many packages provide one or
both of the following shortcuts of passing variable assignments to the
'make install' command line to change installation locations without
having to reconfigure or recompile.
The first method involves providing an override variable for each
affected directory. For example, 'make install
prefix=/alternate/directory' will choose an alternate location for all
directory configuration variables that were expressed in terms of
'${prefix}'. Any directories that were specified during 'configure',
but not in terms of '${prefix}', must each be overridden at install time
for the entire installation to be relocated. The approach of makefile
variable overrides for each directory variable is required by the GNU
Coding Standards, and ideally causes no recompilation. However, some
platforms have known limitations with the semantics of shared libraries
that end up requiring recompilation when using this method, particularly
noticeable in packages that use GNU Libtool.
The second method involves providing the 'DESTDIR' variable. For
example, 'make install DESTDIR=/alternate/directory' will prepend
'/alternate/directory' before all installation names. The approach of
'DESTDIR' overrides is not required by the GNU Coding Standards, and
does not work on platforms that have drive letters. On the other hand,
it does better at avoiding recompilation issues, and works well even
when some directory options were not specified in terms of '${prefix}'
at 'configure' time.
Optional Features
=================
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving 'configure' the
option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
Some packages pay attention to '--enable-FEATURE' options to
'configure', where FEATURE indicates an optional part of the package.
They may also pay attention to '--with-PACKAGE' options, where PACKAGE
is something like 'gnu-as' or 'x' (for the X Window System). The
'README' should mention any '--enable-' and '--with-' options that the
package recognizes.
For packages that use the X Window System, 'configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the 'configure' options '--x-includes=DIR' and
'--x-libraries=DIR' to specify their locations.
Some packages offer the ability to configure how verbose the
execution of 'make' will be. For these packages, running './configure
--enable-silent-rules' sets the default to minimal output, which can be
overridden with 'make V=1'; while running './configure
--disable-silent-rules' sets the default to verbose, which can be
overridden with 'make V=0'.
Particular systems
==================
On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
HP-UX 'make' updates targets which have the same time stamps as their
prerequisites, which makes it generally unusable when shipped generated
files such as 'configure' are involved. Use GNU 'make' instead.
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its '' header file. The option '-nodtk' can be used as a
workaround. If GNU CC is not installed, it is therefore recommended to
try
./configure CC="cc"
and if that doesn't work, try
./configure CC="cc -nodtk"
On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
directory contains several dysfunctional programs; working variants of
these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
in your 'PATH', put it _after_ '/usr/bin'.
On Haiku, software installed for all users goes in '/boot/common',
not '/usr/local'. It is recommended to use the following options:
./configure --prefix=/boot/common
Specifying the System Type
==========================
There may be some features 'configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, 'configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
'--build=TYPE' option. TYPE can either be a short name for the system
type, such as 'sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
OS
KERNEL-OS
See the file 'config.sub' for the possible values of each field. If
'config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the option '--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with '--host=TYPE'.
Sharing Defaults
================
If you want to set default values for 'configure' scripts to share,
you can create a site shell script called 'config.site' that gives
default values for variables like 'CC', 'cache_file', and 'prefix'.
'configure' looks for 'PREFIX/share/config.site' if it exists, then
'PREFIX/etc/config.site' if it exists. Or, you can set the
'CONFIG_SITE' environment variable to the location of the site script.
A warning: not all 'configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
environment passed to 'configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the 'configure' command line, using 'VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
causes the specified 'gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
Autoconf limitation. Until the limitation is lifted, you can use this
workaround:
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
'configure' Invocation
======================
'configure' recognizes the following options to control how it
operates.
'--help'
'-h'
Print a summary of all of the options to 'configure', and exit.
'--help=short'
'--help=recursive'
Print a summary of the options unique to this package's
'configure', and exit. The 'short' variant lists options used only
in the top level, while the 'recursive' variant lists options also
present in any nested packages.
'--version'
'-V'
Print the version of Autoconf used to generate the 'configure'
script, and exit.
'--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally 'config.cache'. FILE defaults to '/dev/null' to
disable caching.
'--config-cache'
'-C'
Alias for '--cache-file=config.cache'.
'--quiet'
'--silent'
'-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to '/dev/null' (any error
messages will still be shown).
'--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
'configure' can determine that directory automatically.
'--prefix=DIR'
Use DIR as the installation prefix. *note Installation Names:: for
more details, including other options available for fine-tuning the
installation locations.
'--no-create'
'-n'
Run the configure checks, but stop before creating any output
files.
'configure' also accepts some other, not widely useful, options. Run
'configure --help' for more details.
fswatch-1.11.2/NEWS.libfswatch 000644 000765 000024 00000011236 13175372771 016521 0 ustar 00enrico staff 000000 000000 NEWS
****
New in 1.11.2:
* Issue 182: Generate a single message catalog for both fswatch and
libfswatch.
New in 1.11.1:
* Issue 182: Remove mandatory dependency to git.
New in 1.11.0:
* Issue 181: Make gettext an optional dependency.
New in 1.10.0:
* Add Doxygen documentation.
* Issue 60: Add function to load filters from a file.
* Issue 137: Deadlock on C function fsw_destroy_session if fsw_start_monitor
is called.
* Modify fsw_destroy_session function not to destroy a session that has a
running monitor.
* Issue 143: Add fsw_stop_monitor to the C API.
New in 1.9.3:
* Use C header names in C headers instead of C++.
* Explicitly use the enum keyword when referring to enum types in C headers.
* Remove default argument values from C headers.
New in 1.9.2:
* Issue 118: v. 1.9.0 breaks the -1 option.
New in 1.9.1:
* libfswatch API version 7:0:1.
New in 1.9.0:
* Update monitor::~monitor() to invoke monitor::stop(), close resources in
monitor::on_stop().
* Issue 84: Add the possibility of scheduling a periodic idle event.
* Run a separate thread to fire idle events.
* Improve logging.
* Do not fail if blocking calls are interrupted by a signal.
* Issue 114: fswatch does not track newly created directories recursively when
using the inotify monitor.
* The AX_CXX_COMPILE_STDCXX macro was patched so that the switches it adds to
the compiler are added to the preprocessor configuration as well.
New in 1.8.0:
* Unsupported CMake files and CLion project files are included as a courtesy.
* Parts of the code have been refactored to use move semantics.
* Fixed a bug in fsw::monitor_factory::create_monitor().
* Refactor fsw::monitor_factory to dynamically create the default monitor
using the factory registration information.
* Generate documentation using Doxygen.
* Texinfo documentation has been obsoleted by Doxygen documentation and has
been removed.
* Add fsw::monitor::stop() function to allow for cooperative monitor shutdown.
* Implement fsw::monitor::stop() on all available monitors.
* Fixed a but in the Solaris/Illumos monitor that prevented it to correctly
detect the ETIME status code upon waiting for events.
New in 1.7.0:
* Issue 35: Support Solaris/Illumos File Events Notification API.
* Issue 98: A monitor can be requested to watch directories only during a
recursive scan.
* Issue 99: A monitor using the File Events Notification API of the
Solaris/Illumos kernel has been added.
* Issue 101: Add flag to watch file accesses.
New in 1.6.1:
* Texinfo documentation now includes @dircategory and @direntry tags to be
compatible with install-info.
New in 1.6.0:
* libfswatch can now be built on Microsoft Windows using Cygwin.
* A monitor for Microsoft Windows has been added.
* libfswatch can report monitor buffer overflows (which cannot be avoided with
certain monitors) as regular events for callers to recover gracefully.
* Monitor can be customized by passing monitor-specific configuration
properties.
New in 1.5.1:
* Fixes Issue 91: Can't compile fswatch 1.5.0 on FreeBSD 9.3-RELEASE.
New in 1.5.0:
* Fix issue 46: Allow filtering by event type.
* Fix issue 83: Callback invocation should be moved into fsw::monitor.
New in 1.4.7:
* Provide a way to pass context data to the C API monitor callback.
New in 1.4.6:
* Fix issue 74: Assertion failed on fsw_destroy_session.
New in 1.4.5.3:
* Fix issue 67: 100% CPU usage while using libfswatch. This issue only
affects the inotify monitor, available only on Linux.
New in 1.4.5.2:
* Fix issue 66: Exclude items with poll_monitor not considered.
New in 1.4.4:
* Localize fswatch and libfswatch using GNU gettext.
* Add Italian (it) localization.
* Add Spanish (es) localization.
New in 1.4.3:
* Add Texinfo documentation.
* libfswatch API is now versioned.
* Improved Autoconf checks.
* The inotify monitor now waits for events and honours the latency settings.
* Automaticaly generate the ChangeLog using Git.
* Update autogen.sh to honour some commonly used environment variables.
New in 1.4.2:
* The inotify monitor now provides the same functionality provided by all the
other monitors. Recursive directory monitoring is now implemented.
* Version and revision is now determined dynamically from Git by ancillary
scripts invoked by the GNU Build System.
New in 1.4.0:
* The libfswatch library has been added with bindings for C and C++.
* Move monitors to separate library.
* Provide a libtool-configured library exposing the functionality of fswatch
monitors.
* Provide C and C++ headers and bindings.
fswatch-1.11.2/README.codestyle 000644 000765 000024 00000004732 13174733730 016545 0 ustar 00enrico staff 000000 000000 README.codestyle
================
The indent style used by `fswatch` is a custom Allman (BSD) style. The code is
formatted using NetBeans with the following format settings:
Indents
Indent Size = 2
Expand Tabs to Spaces = true
Tab Size = 2
Statement Continuation = 2
Constructor Continuation = 2
Preprocessor Directive = Preprocessor
# at Start Line = true
Indent Namespaces = true
Indent Case Statements = false
Absolute Label Indentation = true
Indent Visibility = None
Keep Extra Spaces = false
Braces Placement
Namespace Declaration = New Line
Class Declaration = New Line
Function Declaration = New Line
Ignore Empty Function = false
Lambda = New Line
"switch" statement = New Line
Other = New Line
Multiline Alignment
Function Parameters = true
Function Call Arguments = true
Array Initializer = false
"for" Statement = true
"if" Condition = true
"while" Condition = true
Other Parenthesis = false
New Line
Function Name = false
"catch" = true
"else" = true
"while" = true
Spaces Before Keywords
"catch" = true
"else" = true
"while" = true
Spaces Before Parentheses
Function Declaration = false
Function Call = false
"catch" = true
"for" = true
"if" = true
"switch" = true
"while" = true
Other Keywords = true
Spaces Around Operators
Assignment Operators = true
Binary Operators = true
Ternary Operators = true
Unary Operators = false
Spaces Before Left Braces
Class Declaration = true
Function Declaration = true
Lambda = true
Array Initializer = false
"catch" = true
"do" = true
"else" = true
"for" = true
"if" = true
"switch" = true
"try" = true
"while" = true
Spaces Within Parentheses
Function Declaration = false
Function Call = false
Braces = false
Parentheses = false
"catch" = false
"for" = false
"if" = false
"switch" = false
Type Cast = false
"while" = false
Other Spaces
Before Comma = false
After Comma = true
Before Semicolon = false
After Semicolon = true
Before Colon = true
After Colon = true
After Type Cast = true
After operator Keyword = false
Blank Lines
Before Class = 1
After Class Header = 0
Before Function = 1
Other
Add Leading Star in = true
Toggle block comment = false
Insert 'inline' keyword = false
fswatch-1.11.2/README.windows 000644 000765 000024 00000005427 13174733730 016246 0 ustar 00enrico staff 000000 000000 README.windows
**************
Introduction
============
This file describes the steps required to build fswatch on Windows. fswatch was
born as a POSIX application and the Windows monitor has been developed trying to
reduce the dependencies on the Windows API at a minimum. To fulfill this goal,
a dependency to Cygwin has been introduced.
Windows has historically provided multiple versions of the same API for single
byte and multibyte character sets. We have decided to only support the
multibyte API: the Windows monitor will thus not build on Windows system
supporting only the single-byte APIs. In this case, the only available monitor
on the Windows OS will be the poll monitor.
Cygwin
======
Cygwin is a required dependency and must be installed to provide the toolchain
and the libraries required by fswatch. The current Cygwin distribution can be
downloaded at:
https://cygwin.com
Cygwin is a modular environment and the following componentes are required to
successfully build fswatch:
* GNU GCC C++ compiler.
* GNU Autoconf.
* GNU Automake.
* GNU Autoconf.
* GNU libtool.
The following are optional:
* GNU gettext (optional)
Windows SDK
===========
The Windows SDK is required to successfully build fswatch since it ships the
headers and the libraries required to build Windows applications. Please,
consult your Windows documentation to get the latest SDK for your platform.
GNU Build System
================
For further instruction on building the GNU Build System from scratch, please
check the README.gnu-build-system file.
Localization and gettext
========================
fswatch is localizable and locale support requires GNU gettext to be available
at build time.
Depending on gettext installation path, configure may not be able to find
or libintl. In this case, you will need to instruct configure about
their location:
$ CPPFLAGS="-I/path/to/include" LDFLAGS="-L/path/to/lib" ./configure
If configure detects that gettext is available, you will find a message such as:
checking whether to use NLS... yes
or, which is equivalent, config.h will contain the following definition:
#define ENABLE_NLS 1
-----
Copyright (c) 2014-2015 Enrico M. Crisostomo
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 3, 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 .
fswatch-1.11.2/README.solaris 000644 000765 000024 00000004117 13174733730 016223 0 ustar 00enrico staff 000000 000000 README.solaris
**************
Introduction
============
This file describes the steps required to build this bundle on a supported
system running the Solaris or the Illumos kernel. See README for more
information about the tested configurations.
When Illumos was created, the Solaris kernel already included the File Events
Notification API. Hence, the fen_monitor should be available on any system
running Solaris (> 10) or an Illumos kernel.
Additionally, a Solaris/Illumos system should be able to use the following
monitors:
* inotify_monitor, depending on the kernel version.
* poll_monitor.
So far, however, the author has only tested this release on SmartOS. Feedback
on different Solaris/Illumos systems is much appreciated and will benefit other
users as well.
Installation
============
See the INSTALL file for detailed information about how to configure and install
fswatch.
fswatch is a C++ program and a C++ compiler compliant with the C++11 standard is
required to compile it. Check the documentation of your distribution to learn
how to install the required software.
The configure script enforces an ordered compiler search list and clang++ will
be used first if available. If you do not like this choice and wish to use
another compiler set the value of the CXX environment variable to the name of
your compiler binary. If, for example, you wish to use the g++ compiler, then
use this command to configure the build:
$ ./configure CXX=g++
-----
Copyright (c) 2015 Enrico M. Crisostomo
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 3, 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 . fswatch-1.11.2/ChangeLog 000644 000765 000024 00000147505 13175374113 015450 0 ustar 00enrico staff 000000 000000 ChangeLog
*********
This file has been automatically generated using the following command:
$ git log --oneline --decorate
2875be8 (HEAD -> master, origin/master, origin/HEAD) Update history
16ecbc0 Update NEWS files
c7b0f7b Update po and pot files
1240a71 Bump 1.11.2
480bdac Update po files
aa2a32f Update po and pot files
645711c Reconfigure output files after moving po directories
cc65d61 Remove po subdir from fswatch and libfswatch Makefiles
f7012b5 Update po/Makevars after location change
24a81fb Move fswatch po directory to package root
6a1893d Remove libfswatch/po
d75e89a Merge po and pot files
0e9261a Merge POTFILES.in
abfe0cc (tag: 1.11.1) Update po and pot files
a810f46 Bump 1.11.1
36f01b8 Refactor and substitute manual path tests with EMC_PATH_PROG
e412c4e Add option to enable the generation of docker files for test containers
05823d3 Refactor after changes to EMC_PATH_PROG
08e9932 Refactor to avoid using magic values when checking the result of AC_PATH_PROG
13a962b Reformat
07fd8ae Refactor ax_git_current_branch to use m4sh
666077e (tag: 1.11.0) Update po and pot files
23c94ca Update change history
3a93035 Update the manual to update the behaviour of the --event option
2c0c8f3 Refactor to use constants
4fa5249 Build documentation and copy it to the dist directory
97d2cc4 Update the build-from-scratch.sh
55c0672 Add build-from-scratch.sh
9033554 Update gettext.h
0659c70 Update NEWS
092f15b Merge branch 'master' into release/1.11.0
9678505 Merge branch 'master' into feature/issue-174-event-with-bitmask
1725945 Update README
a9591d2 Bump 1.11.0
049cb20 Only use a COPYING file for license
014c20d Copy COPYING over LICENSE
8b3ae3f Link LICENSE to COPYING
eeb457a Update CONTRIBUTING.md to reflect changes to the branch structure
3ff3806 Merge branch 'develop'
d97954e Recursively build the po subdirectory only if NLS is enabled
f116447 Distribute ABOUT-NLS only if NLS is enabled
f0cb6dd Add an automake conditional to check whether NLS is enabled
659a2a4 Use one dist_doc_DATA statement per file
9166e53 Reorder options in usage message
0fa6d20 Bump copyright year
7040d86 Merge branch 'master' of github.com:emcrisostomo/fswatch into feature/issue-174-event-with-bitmask
3a2510a Add copy constructor and assignment operator
88cacb8 Merge pull request #159 from nickmccurdy/hotfix-wording
4b35480 Overload --event to accept a bitmask
d655777 Add array with all event types
9397784 Update code style settings
3ada000 Require C++11 using the new CMAKE_CXX_STANDARD instead of CMAKE_CXX_FLAGS
f52783e Define HAVE_CONFIG_H in each project
93f1dbf Bump minimum cmake to 3.8
cd657a2 Merge branch 'master' into develop
dcf019f Add GNU gettext to the list of the development dependencies
7524f19 Update pot files
85ab057 Update ax_ macros
a496e8b Update ax macros
c91b5b1 Merge tag '1.10.1' into develop
529c7e8 (tag: 1.10.1) Merge branch 'hotfix/1.10.1'
f70fe73 Update Texinfo documentation
42fa6b7 Bump 1.11.0-develop
a4c426e Merge tag '1.10.0' into develop
bd58735 (tag: 1.10.0) Merge branch 'release/1.10.0'
ca955e8 Update NEWS
cde73f1 Rename debian-9 to debian9
56dfdf9 Update .gitignore to add debian-9/Dockerfile
61737a1 Use debian:9 when testing debian builds
b83d832 Update INSTALL
dfd42de Update man page description
a4063de Fix wording for monitor list
89ad43f Update NEWS
c70394c Update NEWS files
7762f80 Strengthen memory ordering
4825273 Fix build-images.sh
6bbbccf Refactor docker files to get git branch name from the configuration
2fb13f6 Set branch to HEAD if detached
9694a86 Clean up docker files
a2b0079 Get the current git branch
636a22e Add M4 macro to get the current git branch
1e2a2a3 Build fswatch on Docker images
2436e04 Merge branch 'release/1.10.0' of github.com:emcrisostomo/fswatch into release/1.10.0
d440a3d Clean up Alpine Dockerfile
e11d16b Merge pull request #145 from agaida/release/1.10.0
610628b Merge pull request #147 from agaida/fix-license
57da3cd Merge pull request #148 from agaida/fix-manpage
8ff8eff Fix manpage generation
09ce586 Fix license text
804ab6f Added basic .gitattributes to prevent the export of: - .gitignore - .gitattributes - .idea/ - .travis.yml - .*~
177614f Update Doxygen documentation
22d0a48 Add cmake-build-debug/ to .gitignore
7f768b6 Bump libfswatch 9:0:0
f4ee4fd Refactor code after FSW_HANDLE redefinition
cd15c60 Update FSW_HANDLE to be FSW_SESSION *
bb38ff9 Add fswatch_test binary to .gitignore
ba5a6e8 Add test compilation of a C program against the libfswatch library
ae48ea8 Update NEWS files
80db165 Add fsw_stop_monitor function to stop a running monitor. A session with a running monitor cannot be destroyed any longer.
28d1134 Update include directory after package refactoring
e70cfc6 Update po and pot files
9bfac0f Fix index
6ad0abb Update version history in Texinfo documentation
5181aa2 Update Texinfo documentation
93c61a3 Bump 1.10.0
2f2763e Merge branch 'feature/merge-projects' into develop
9c7cfd5 Update README.md
05b9874 Update AUTHORS.libfswatch
8b2c038 Remove libtool dependencies from child Makefile
fee0ede Remove dist hook from Makefile in child project
b8042ab Remove ChangeLog, INSTALL and README from child project
03732fc Update po and pot files
88eaf0d Rename root package to fswatch
26584da Rename pot files to fswatch.pot
b680da5 Move libfswatch README files to the project root
a0af954 Update copyright
e014579 Update po and pot files
5061858 Add docker-images target to build Docker images
f8420bd Add script to build Docker images
f474168 Fix paths in CMakeLists.txt after refactoring
fb332f6 Fix paths in .gitignore after refactoring
e5433e6 Fix paths in Doxyfile.in after refactoring
cd751ff Update po and pot files
6395745 Fix paths in po/POTFILES.in after refactoring
a5a2cba Fix paths in po/Makevars after refactoring
d578464 Update fswatch Makefile to recurse into po and doc subdirs
8282c5b Update paths in POTFILES.in after refactoring
0ff74ee Fix .gitignore paths after refactoring
8a2a1e9 Fix config header path after refactoring
7f8ba12 Update paths in .gitignore
c44f474 Update po/Makevars
a23fc5f Add fswatch/Makefile.am
f2a21e1 Fix paths in configure.ac after refactoring
85152bf Update root Makefile
b18e538 Merge libfswatch's and fswatch's configure.ac
bd723a6 Consolidate M4 macros into a shared directory
afc2c9d Move doc and po to fswatch
52d14e1 Move fswatch to root
9f8403b Move fswatch sources to src/fswatch/src
2883062 Unlock session mutex before starting the monitor
7c9f2e6 Refactor to improve readability
fc6402a Add Docker files for Alpine and Debian Linux
100b075 Merge branch 'hotfix/1.9.3' into develop
11ebf02 (tag: 1.9.3) Merge branch 'hotfix/1.9.3'
c1d9895 Update po and pot files
57084d1 Update NEWS
71c1c3d Remove stale comment
a08d5f1 Merge pull request #124 from johndid/hotfix/1.9.3
f9222ae Fixed headers for c compilation
28b8998 Update NEWS.
de24a48 Substitute C++ header names with C names in C headers.
895b901 Bump 1.9.3.
c556ebd Move filters parsed from file into filter vector instead of copying them.
a1e992a Pass const string by reference.
b75d793 Rewrap.
0be9d5c Update po and pot files.
2122224 Set correct case sensitivity.
7b25e7c Handle invalid_argument exceptions in main().
3b7ff7b Improve exception message when filter file cannot be opened.
8d9cd5f Add option to load filters from files.
3d737cb Provide a default value for the error handler of the filter parser.
69b5a24 Add doxygen documentation.
68dd90f Inline static functions.
fcc32cb Read filters from file.
3abd16a Merge tag '1.9.2' into develop
a79113a (tag: 1.9.2) Merge branch 'hotfix/1.9.2'
aed6b7a Update texinfo documentation.
dfed4fe Bump libtool 8:0:2.
e7d2e97 Update po and pot files.
c422884 Update news.
a320837 Add a mutex to protect the notify_events() method.
bc371e2 Fix missing #ifdef.
22fbeb1 Invoke close_monitor() instead of exit() after processing the first events and -1 was used.
ba0fa1a Bump 1.9.2.
83054a2 Merge tag '1.9.1' into develop
cb046d2 (tag: 1.9.1) Merge branch 'hotfix/1.9.1'
160875f Update PO and POT files for 1.9.1.
72b981a Update Texinfo documentation.
75c7769 Update NEWS.
d3af2e5 Bump libfswatch API version to 7:0:1.
933aafc Bump 1.9.1.
ec332db Bump 1.10.0-develop.
ef7260c Bump 1.10.0.develop.
1bbb077 Merge tag '1.9.0' into develop
be03582 (tag: 1.9.0) Merge branch 'release/1.9.0'
c364399 Update NEWS.
8d5c3a8 Update documentation.
a00bdbe Update copyright statement for 1.9.0.
e1ffb0a Update PO and POT files for 1.9.0.
153284b Update CLion project files.
be7ae7c Update README for 1.9.0.
834853a Update README for 1.9.0.
fffd2fd Update copyright on configure.ac for 1.9.0.
1889524 Update NEWS for 1.9.0.
6bd8d7c Update Texinfo documentation for 1.9.0.
1a67f25 Bump 1.9.0.
8091f20 Update ax_cxx_compile_stdcxx series of macro.
f114b2a Update PO and POT files.
b2acd97 Do not print an error message if port_get() is interrupted by a signal.
be4f319 Issue 114: fswatch (inotify) does not track newly created dirs recursively
26b3400 Link against pthread if available.
7a2accf Update.
8f219c3 Move variable into inner scope.
ff14906 Check for support.
78bb204 Check for support.
2e93863 Add missing header: .
a9911f4 Update macros to check for C++11 support and set the correct compiler flags.
1bd5bba Add check for the availability of std::atomic.
bbe5d83 Merge branch 'feature/inactivity-notification' into develop
75b6325 Add --fire-idle-events option to fswatch.
59dbc70 Add fsw::monitor::set_fire_idle_event() to enable idle events.
2945640 Do not exit() from signal handler: stop monitor and wait for it to stop.
8b5c6f7 Update inactivity callback to sleep a maximum time of 2 seconds.
21a5942 Refactor inactivity callback and make it sleep 10% more than latency.
394b31c Do not fail if kevent() is interrupted by a signal.
0222cec Move inactivity thread to fsw::monitor and refactor fsw::fsevents_monitor.
16ffbe7 Refactor to use monitor::notify_events instead of using a mutex of its own.
33b1e93 Protect access to monitor::notify_events() using monitor::run_mutex.
8a7a1b2 Improve logging.
98699a3 Run a separate thread to forge an inactivity event.
650f4b9 Close resources in monitor::on_stop() and clean up destructor.
d7aea67 Update monitor::~monitor() to invoke monitor::stop().
e7cab20 Travis CI: Use clang++-3.7.
3f8e13b Travis CI: Use Trusty while building and required sudo.
3e03d8b Enable builds on develop.
ab4e5b7 Only build master branch on Travis CI.
58e5e74 Bump 1.9.0-develop.
10f6437 Merge tag '1.8.0' into develop
cda2487 (tag: 1.8.0) Merge branch 'release/1.8.0'
21db940 Remove texinfo documentation of libfswatch (obsoleted by Doxygen documentation).
d9bd682 Do not manually distribute config.rpath.
91f1629 Update po and pot files.
1f41249 Include doxygen subdirectory in SUBDIRS so that Makefile.am is distributed.
d2fb73d Bump 1.8.0
b42c928 Update NEWS.
e73991d Update copyright statement.
796c563 Fix missing header.
6679f6d Update documentation and remove unused status codes.
fc6fea1 Merge branch 'feature/doxygen-support' into develop
7120d4d Update documentation.
3b4b600 Update documentation.
bc6938b Invoke the Doxygen generation target during all. Do not descend into the doxygen directory during normal builds.
0c6a1c7 Do not execute doxygen targets during all.
357ce6d Update documentation.
32c2823 Update documentation.
3ac437f Update documentation.
fc42131 Remove libfswatch_mem.{h, cpp}.
4a9b516 Add Doxygen documentation for cmonitor.h.
5c82e6d Update documentation.
2b5b75a Update documentation.
c839fc3 Update documentation.
63e04ec Update documentation.
0911cac Move constructor parameters instead of copy-constructing them.
620844d Add example to Doxygen C++ API page.
e5556a1 Add "C API" Doxygen page.
dd0b13d Update documentation.
c175b60 Generate Doxygen documentation from libfswatch_types.h.
fea506a Update documentation.
42234fe Add Path Filter page to Doxygen documentation.
537596f Generate Doxygen documentation from filter.hpp.
914f3c7 Format code using Markdown syntax.
99f3538 Add ignore pattern for Doxygen's output directories: html/ and latex/.
8b906e9 Update documentation.
c4eeea2 Update the changelog page.
36553ea Generate Doxygen documentation from event.hpp.
2ce4c8c Generate Doxygen documentation from cfilter.h.
693c2da Update documentation.
f991368 Generate Doxygen documentation from libfswatch.h.
d156773 Generate Doxygen documentation from libfswatch_log.h.
ff5b5f0 Add a history page containing an API changelog.
d754d93 Update documentation.
7ffbb7e Merge branch 'develop' into feature/doxygen-support
abaa9aa Refine thread-safety warning when a missing requirement affects only the C API.
fb17e90 Update documentation.
8464d36 Update documentation.
3e55a4a Merge branch 'feature/doxygen-support' of github.com:emcrisostomo/fswatch into feature/doxygen-support
98de813 Update documentation.
1b705f3 Update documentation.
c4d9884 Update documentation.
876a377 Update documentation.
3d89252 Update documentation.
6cc594b Change signature to monitor::set_properties(const std::map) so that parameter can be moved into field.
6e67d6a Remove unnecessary call from destructor.
6d0133b Update documentation.
b15becd Update documentation.
281c37b Update Doxyfile.in:
6d29b4f Merge branch 'develop' into feature/doxygen-support
5facbd4 Merge branch 'feature/monitor-stop' into develop
caaf8e6 Fix bug: port_get returns error in errno.
5e17511 Fix bug using timespec_t.
d369c32 Add support for monitor::stop() to fen_monitor.
8195985 Add support for monitor::stop() to windows_monitor.
877bfe1 Add support for monitor::stop() to poll_monitor.
a1da571 Move code that doesn't need to be repeated outside the loop.
1a34b47 Add support for monitor::stop() to inotify_monitor.
36562a8 Add support for monitor::stop() to kqueue_monitor.
4c107ce Let monitor::start() do nothing if monitor is already running.
4617e68 Allow monitor::stop() to be invoked on any monitor state.
4b1e1ac Add monitor::is_running();
edcd94e Stop the monitor before deleting it.
83642b3 Initial stop() implementation for the fsevents_monitor.
44184b6 Add a stop() method to the monitor class to allow for cooperative monitor shutdown.
0e17594 Update CLion code-style settings.
a76a61d Update documentation.
996adfd Update documentation.
17fdc63 Merge branch 'develop' into feature/doxygen-support
4d43be6 Update fsw_get_event_flag_by_name so that it does not throw exceptions.
37bb2d0 Move common types to libfswatch_types.h.
351b0fb Update main Doxygen page.
35f5115 Add documentation.
e04ac7d Add command ALIAS for @license.
48f273c Create Doxygen documentation on all-local.
6686415 Remove make target from main Makefile.
b6d5d8a Add Makefile.am for Doxygen documentation.
795648b Organize documentation by type.
ff51c3d Remove Doxygen configuration for fswatch.
63e88f2 Add Doxyfile for libfswatch and fswatch.
0bb7fc1 Add ignore pattern for Doxyfile.
23e13c0 Add macros to detect Doxygen availability to configure.ac.
58e268c Add ignore pattern for Doxygen configuration file.
0c3e4e9 Refactory monitor_factory to dynamically create the default monitor using the factory registration info.
13e2f9a Fix refactoring bug in monitor_factory::create_monitor: function would never return.
be36974 Reformat.
8b90b02 Add missing include.
a0635e3 Do not close handle during move or assignment if source and target objects contains the same handle.
3c6e366 Update po and pot files.
d783764 Refactor to use functions in fsw::string_utils.
2ff4b4b Move fsw::string to fsw::string_utils.
53701c8 Refactor log functions to use the string utility functions.
f3fcf66 Add functions to create a std::string from a printf format.
46a26c5 Add git ignore pattern for .idea/dictionaries.
655dc2b Move paths vector in monitor constructor.
6766211 Declare callback used by fswatch.
4254b97 Add factory function to register a monitor by type.
bb82169 Update code-style setting to put brace in new line in lambda.
0338825 Reformat using the newly-configured code-style settings.
386c7e2 Update CLion code-style settings.
6b61465 Remove non-accessed variables.
f27a10b Update code style rules for IDEA.
5c4fae1 Update library version.
9fa9ec3 Add CLion project files.
d52a97f Add README.cmake.
b57ebd1 Remove unused interface members.
927ea4e Cleanup unused imports.
3535b4b Initial CMake files.
a39b4e4 Exclude IDEA files.
295e4fe Merge branch 'master' into develop
925d495 Update README.md.
cbd3ecb Bump 1.8.0-develop.
81c8278 Merge tag '1.7.0' into develop
aa79549 (tag: 1.7.0) Merge branch 'release/1.7.0'
85d5454 Update po and pot files.
cc5bec4 Bump v. 1.7.0.
dd6d107 Update Texinfo documentation.
3c88f78 Reformat code.
5a76c0d Reorder getops options.
0ca8c1f Update Texinfo documentation.
c615999 Fix usage of @command and @file.
6025ecf Merge pull request #105 from MaxGabriel/patch-2
51f501e his => their in README
52b19b3 Update.
1aa0270 Update Texinfo documentation.
763599e Add Solaris/Illumos to the list of supported operating systems in the description.
bb6ec59 Update PO and POT files.
d951ef2 Merge branch 'feature/file-event-notification-support' into develop
91dc952 Issue 101: Add option to watch file accesses.
cdcaf70 Fix usage message.
2e1ddd6 Update NEWS files.
356d842 Add Solaris/Illumos' README files to distribution.
4662187 Add support for FILE_ACCESS filter.
b6d455d Update README.smartos.
3d6bfc3 Add README for SmartOS.
a008a03 Add README for illumos and solaris.
ffb3ab7 Add information about Freenode #fswatch channel.
28371bd Refactor:
08e6e0d Update ~fen_monitor_load().
20c49f8 Remove redundant event type mapping.
4b7270e Close port handle when finished.
b2c23a3 Detect removed files and port_disassociate() them.
fab032c Update fen_monitor.
937d172 Add draft implementation of the fen_monitor.
5cb66c0 Fix comparison.
26447e0 Remove unused variable.
fc9d66f Add configure check the availability of and port_create in libc. Refactor fen_monitor.
683f9ec Rename fen.{c,h}pp to fen_monitor.{c,h}pp.
7c16265 Add fen monitor sources to Makefile and POTFILES.in.
46f1c0c Add skeleton sources for Solaris/Illumos file events notification monitor.
370b172 Fix signed/unsigned integer comparison.
2b3b945 Fix wrong function call after refactoring.
b2efb47 Merge pull request #99 from AlainODea/IllumosBuildSupport
b3054d7 Cosmetic changes to the Texinfo documentation.
50220ed Allow build on Illumos
2b4c50d Merge branch 'feature/recurse-and-watch-directories-only' into develop
1150862 Update Texinfo documentation.
454036c Update the inotify monitor to treat the directory_only flag as if it were always set to true.
68f0f0a Ignore -d when processing a path that has been explicitly passed as a parameter.
e586031 Refactor get_directory_children to return a vector instead of requiring the caller to provide one.
c88a20f Update Texinfo documentation.
1515263 Update Texinfo documentation.
bcd6623 Update NEWS files.
af6a031 Update Texinfo documentation.
ea898cb Add C support for set_directory_only.
ad2b683 Bump libfswatch 5:0:2.
743758e Minor refactor in inotify_monitor.
db37bfa Update the kqueue monitor to support the (-d, --directories) option.
7ae8098 Add fsw_logf_perror function to wrap a call to perror passing a printf-style format string with parameters.
b5ed036 Migrate old logging code.
ff49cf8 Do not open files with O_NOFOLLOW.
cd60d38 Move implementation details into pimpl.
32064e6 Update the kqueue monitor to support the (-d, --directories) option.
ca54b8d Update the inotify monitor to support the (-d, --directories) option.
94dc106 Add (-d, --directories) option to fswatch and add corresponding flag in monitor.
a4f3411 Merge tag '1.6.1' into develop
14ec961 (tag: 1.6.1) Merge branch 'hotfix/1.6.1'
e3ce9c8 Remove debian package descriptors.
80a24b5 Update Debian changelog.
ca24599 Update Build-Depends in the Debian descriptors.
74adcff Merge branch 'hotfix/1.6.1' of github.com:emcrisostomo/fswatch into hotfix/1.6.1
4ac68a4 Update Automake configuration: require 1.14 and set std-options.
7328bb8 Add Debian packaging descriptors.
c851d1d Update NEWS.
e9b2577 Add @dircategory and @direntry to Texinfo files.
809b2f6 Bump v. 1.6.1.
fc8a63b Bump v. 1.7.0.develop.
331ae3b Merge tag '1.6.0' into develop
13f9a6b (tag: 1.6.0) Merge branch 'release/1.6.0'
e51a428 Add README.windows to the distribution.
b1ba1e9 Add README.windows.
2492a02 Update README.md.
4694cb8 Update NEWS.
33e70e1 Update translations (pot and po files).
609c1c2 Simplify guarding the session on multithreaded implementations using a macro.
f610f4a Add fsw_add_property to the C API.
3972767 Cleanup namespace explicit usage.
0a37aa6 Merge branch 'release/1.6.0' of github.com:emcrisostomo/fswatch into release/1.6.0
9d7e3c3 Use notify_overflow in the inotify monitor.
a2af3a0 Update notify_overflow signature.
39da6a6 Pass watched path when notifying an overflow event.
fa88815 Update Texinfo documentation.
b11595d Remove is_verbose() and use libfswatch instead.
74d0e07 Move includes from header to source file and clean up.
88a5a7d Clean up and remove unused includes.
ffcde63 Update Texinfo documentation.
44b5626 Update method signature to use a const reference.
8623e23 Use libfswatch log functions and remove legacy ones.
c7812f8 Update po and pot files.
8578c8b Refactor log functions.
f414fdf Exclude private OS-specific header from the install target.
4ede236 Remove useless header includes.
06aaa82 Update po files.
8241e0b Update POT files.
bf7406a Add missing headers to Makefile.am.
a19f0e8 Refactor windows_monitor.
3edaa23 Fix missing newline in PO file.
155bbb3 Update file header.
e362058 Update PO and POT files.
e764461 Update POTFILES.in.
5c51dd1 Move Windows-specific code to separate classes.
f5a8a9a Use strtol instead of string::stol because of a Windows C++ library bug.
517f824 Add --monitor-property option to pass monitor-specific configuration properties.
7f44574 Reset event and read next change event after an overflow.
d2ac21b Map Overflow event type.
1636faf Update Texinfo documentation.
6363c70 Update Texinfo documentation.
2d3804f Add the --allow-overflow option to allow monitor buffer overflows and have fswatch report them as change events.
e20205d Add the possibility to report monitor buffer overflows.
6c8c4b0 Bump 1.6.0.
6a7f704 Update README.
0e03508 Update Texinfo documentation.
01170f3 Update NEWS.
2febb99 Add *.t2p and documentation PDF to ignore list.
cbb62f8 Merge branch 'feature/windows-support' into develop
9a5f62b Bump libfswatch 4:0:1.
826aa6d Update pot templates.
da80f6c Update translations.
358e090 Move win_error_message to separate files.
ac3c5ae Move win_hamdle to separate files.
11d33e0 Merge branch 'develop' into feature/windows-support
59751f8 Convert global variables to static method functions to avoid global initialization race conditions.
3c5e548 Update translations.
822ef3d Update translations.
5a28af5 Merge branch 'feature/windows-support' of github.com:emcrisostomo/fswatch into feature/windows-support
ba8508f Merge branch 'develop' into feature/windows-support
ad4c093 Catch libfsw_exception in C API.
f143f70 Refactor the windows_monitor to use FSW_LOGF.
754e24c Define the macros FSW_LOG and FSW_LOGF to simplify log management and to automatically prepend the name of the method where this macro is invoked to the logged message.
1115888 Add windows_monitor.cpp to POTFILES.in.
1b24efc Convert Windows paths back to POSIX paths when printing events.
4cea26d Compile the Windows monitor only if both Windows and CygWin SDKs are detected.
c53cdf6 Make sure Automake conditionals are not defined conditionally.
c688df3 Check whether the CygWin library is available if Windows is available.
cebb510 Report event queue overflow on both the inotify and Windows monitor.
f46f609 Log diagnostic messages only if verbose mode is on.
3901c28 Use multibyte strings in iostreams.
214cf29 Refactor code.
67774fe Refactor code.
cf224e4 Refactor directory_change_event.
f488366 Refactor win_handle.
1a19946 Refactor win_error_message.
a4e5893 Remove unused headers.
901e818 Process event types.
6245788 Merge branch 'develop' into feature/windows-support
98c7bf6 Check if required kqueue functions are available in libc.
becfd8e Check for inotify functions in libc.
3137859 Update autogen.sh to treat warnings as errors.
8020f52 Check for the presence of inotify headers and for the availability of the necessary functions.
8505e13 Simplify string processing routines by defining ostream::operator+ to encapsulate string conversion from wide char to multibyte.
d38058e Refactor path processing routing to convert its output to UTF8.
508ce9d Add logging code to the Windows monitor.
03a3ddd Add log function accepting varargs.
b87f6ff Add verbose logging to libfswatch and propagate the -v option from fswatch to libfswatch.
e63f5d6 Remove debug output.
bfd7ac1 Use a single event per watched path through the process life.
a5e017d Use Windows' asynchronous I/O to wait for change events.
2e62e98 Initialize struct using brace initialization.
d455c22 Merge pull request #94 from kellytk/master
04a8cbe Spelling correction
046fb08 Add constructor to DirectoryChangeEvents to override the buffer size.
3b1b5ec Fix error management routine.
74be110 Fix error management routine.
1ab841a Update Windows monitor.
ea457a6 Add static object factory WinErrorMessage::current().
5aa8863 Encapsulate Windows system error message processing.
119a2c0 Refactor CHandle in terms of is_valid.
80ab48c Update.
1b59d4c Refactor.
e34b381 Add an assignment operator from HANDLE to CHandle.
0af8aad Create RAII wrapper for HANDLE.
09ac6f6 Refactor and encapsulate event data in a common struct.
d23ecb9 Use overlapped I/O.
bf23c50 Add windows monitor initial draft.
f68091c Add checks for the Windows directory change notification API and enable conditional compilation of the Windows monitor.
fcf4ed9 Add fswatch.exe to the ignore patterns.
0a9a465 Merge branch 'develop' into feature/windows-support
4efe605 Aesthetic cleanup.
a7b7348 Add mandatory check for unistd.h and conditionally check for getopt_long if getopt.h is available.
5153be6 Add autoscan.log and configure.scan to Git ignore patterns.
dd8b0a3 Update PO and POT files.
a9ded2e Move C++ header files to .hpp.
05f9ca6 Refactor monitor-checking code and fix kqueue detection by checking for the availability of both kqueue and kevent if sys/event.h has been found.
cb2d46b Update configure.ac to use M4sh when possible.
d5cae04 Have configure check for optional and required headers.
f7078f9 Update configure checks.
e0d6da1 Update .gitignore to filter out in-site build artifact.
714d0c3 Clean up code conditioned by HAVE_REGCOMP.
ed938dc Invoke AC_LANG before LT_INIT.
ab3b13a Update .gitignore to filter out in-site build artifact.
58d33d1 Move C++ header files to *.hpp.
a57d529 Merge branch 'master' into feature/windows-support
e1c1d64 Merge branch 'master' into develop
d43e23c Add CONTRIBUTING.md to the distribution.
b0fe50a Fix broken link.
d57282d Update list style.
20269b8 Add CONTRIBUTING.md.
f43a722 Add Contributing section to README.md.
ab9d7fe Remove unused configuration checks.
f5efca5 Use C++ headers for C libraries when available.
120d7c4 Update History section in Texinfo documentation.
64bc884 Update NEWS adding references to GitHub issues.
cb05c26 Remove legacy scripts.
568e5ad Merge branch 'hotfix/1.5.1' into develop
7752074 (tag: 1.5.1) Merge branch 'hotfix/1.5.1'
eced175 Update Texinfo documentation.
702e4b5 Update NEWS.
5d22033 Fix import required when building on FreeBSD 9.3.
6c584d3 Remove checks for Zsh and Bash and remove fswatch-run scripts.
ba71ceb Bump 1.5.1.
bada39c Bump 1.6.0.develop.
9519745 (tag: 1.5.0) Merge branch 'release/1.5.0'
81091b4 Merge branch 'release/1.5.0' into develop
e9a90e5 Fix signed/unsigned comparison on gcc.
1e264b9 Add missing include.
e3256f7 Distribute gettext.h.
8938e83 Update NEWS.
376de51 Simplify the Documentation section.
74db727 Rearrange README.md entries.
900a594 Fix anchor typo.
2480795 Update README.md.
94a334a Update README.md with links to the GitHub page.
ca17426 Merge branch 'develop' into release/1.5.0
4ab9103 Update README.md with links to fswatch's GitHub page.
86646a8 Rename Index node to General Index to avoid Texinfo clobbering the index.html page when outputting HTML.
8d167fb Rename Index node to General Index to avoid Texinfo clobbering the index.html page when outputting HTML.
08253a5 Update man page.
14b4e2f Update fswatch's TeXinfo documentation.
c4d026d Update libfswatch's TeXinfo documentation.
6d6b13e Cleanup and refactor libfswatch's Makefile.
54bd867 Refactor to use memory management functions.
6b3b01c Add memory management functions.
82101dd Rewrap document in Emacs' texinfo mode.
9dcea8b Bump 1.5.0 and libfswatch API version 3:0:0.
fb890fe Merge branch 'feature/event-type-filter' into develop
8d37e21 Remove custom xgettext invocation (available into the standard Autotools workflow).
1f2bcff Update PO configuration files.
f7b54eb Update translations.
ab12262 Update POTFILES.in.
8131fe9 Update PO and POT files.
3e97992 Use event::get_event_flag_name in fswatch.
7283c70 Use event::get_event_flag_name in std::ostream& operator<<(std::ostream& out, const fsw_event_flag flag).
f9b6a57 Reformat.
be853dd Move monitor_filter to fsw::monitor_filter.
af0fb7f Fix namespace bug: move event to fsw::event.
660b960 Add --event option to let users add event type filters.
7f7375e Add FSW_ERR_UNKNOWN_VALUE error code.
0d66937 Add API functions to get an event type by name and to get the name of an event type.
3c1d01c Refactor monitors to use monitor::notify_events.
bed5e45 Move path filtering logic, event filtering logic and callback invocation to monitor class.
70fa06b Add function to libfswatch to add event type filters to a session.
f0bd4e3 Update monitor to hold an optional list of event filters.
a8ddd22 Define a structure for an event flag filter.
3b24960 Fix signed/unsigned comparison.
b0bfd49 Configure libtool to use -no-undefined when linking shared libraries on CygWin.
5a1a49d Merge branch 'develop' into feature/windows-support
0160c9c Fix bug that had fsw_destroy_session always return FSW_ÖK.
650d1fe Import to define realpath.
7970806 Enable C++11 with extensions (realpath may not be available in strict ANSI mode).
1a5d300 Update ignore file for in-tree builds.
a852a9a Cosmetic refactoring.
836af3f Update obsolete Autoconf macros.
f2308ef Add missing const.
8188bf1 Update copyright and rewrap.
adde10b Fix constness.
b58eefd Update the TeXinfo documentation.
419f9d6 Update the TeXinfo documentation.
e0c4bd4 Update the TeXinfo documentation.
82a7bc2 Merge branch 'feature/libfswatch-texinfo-doc' into develop
dc6e14c Update the TeXinfo documentation.
5510966 Update TeXinfo documentation.
f7de6e3 Save last error even if the thread_local storage specified is not supported.
1bc4d8e Update TeXinfo documentation.
843de5e Update the TeXinfo documentation.
e33e479 Update TeXinfo documentation.
216408b Update TeXinfo documentation.
f43ca3d Update TeXinfo documentation.
721e714 Refactor factory methods to simplify them.
9d74a19 Rename factory methods.
9338f17 Update TeXinfo documentation.
0ae0904 Rephrase reference to the official documentation.
58fde3b Add --event-flag-separator option to the man page.
9817ea6 Add --batch-marker option to the man page.
b79363a Update the man page and add the (--list-monitors, -M) option.
f8229c7 Add the (--list-monitors, -M) option to the TeXinfo manual.
1686b87 Update the Italian (IT) po file.
5565062 Update the Spanish (ES) po file.
5edc19b Update fswatch po template file.
338808a Add (-M, --list-monitors) option.
d0606a2 Update libfswatch po files.
b1cec6b Bump 1.5.0.develop.
aa6174c Bump libfswatch 2:0:0.
7bf25db Move all the factory methods into monitor_factory and refactor.
70a8bdd Merge branch 'develop' into feature/libfswatch-texinfo-doc
7da8577 Merge branch 'feature/improve-monitor-factory' into develop
5cc1a8e Remove legacy code.
706eaf0 Refactor methods that can be const.
1a14945 Use intermediate variable.
40ae744 Merge branch 'develop' into feature/improve-monitor-factory
d85588c Fix quotation.
0eecd8e Rewrap text at 80th column.
c2f58ab Merge branch 'develop' into feature/libfswatch-texinfo-doc
e955614 (tag: 1.4.7) Merge branch 'release/1.4.7'
2a6e106 Merge branch 'release/1.4.7' into develop
5d678ac Update po and pot files.
bd367bc Update NEWS.
718e4bf Update po files.
0a6d352 Update TeXinfo documentation.
afcc607 Update.
acd7e82 Update NEWS.
4730e6b Add all README files to distribution.
1524737 Update po files.
bc59a7d Bump autotools dependencies.
e2f25e4 Bump autotools dependencies.
fcd0587 Require autoconf 2.68.
6318bc4 Update .travis.yml.
321e451 Remove sudo invocations from .travis.yml.
88ae7cc Use container-based builds.
9184ea4 Update Travis scripts.
6a7b3f2 Set required gettext version to 0.18.3 to accomodate for Travis CI VM packages.
72e0159 Add dependency to autopoint.
a3db8a7 Fix dependencies during Travis build.
60449bc Fix dependencies during Travis build.
f8daa01 Add gettext package from Brew before the Travis build.
4974cc4 Update Travis script.
ab9fba6 Add Travis configuration file.
c409ed8 Merge branch 'develop' into release/1.4.7
d8503c0 Add license badge.
c06e95d Update NEWS.
a26b35d Bump v. 1.4.7.
0a163a3 Fix filter behaviour and make them consistent with the documentation.
899cb3b Add indent style information.
d2591ad Reformat code.
8ec7736 Merge branch 'gsamokovarov-c-api-extra-context-data' into develop
6a0bde8 Merge branch 'c-api-extra-context-data' of https://github.com/gsamokovarov/fswatch into gsamokovarov-c-api-extra-context-data
b03141a Merge branch 'master' into develop
63fa31c Merge pull request #75 from Zearin/patch-1
0665e2c Minor edits to clarity, phrasing, and formatting
71392a1 Attach additional data to C API monitor callbacks
df65a49 Merge branch 'release/1.4.6' into develop
578c1d8 (tag: 1.4.6) Release 1.4.6.
505c9a1 Bump v. 1.4.6.
15842d7 Bump v. 1.4.6.
c655610 Fix Issue 74 (https://github.com/emcrisostomo/fswatch/issues/74): Assertion failed on fsw_destroy_session.
5ab39e4 Merge branch 'master' into develop
a6a26a1 Merge branch 'master' into develop
d4a7b30 Merge pull request #73 from sachinsudheendra/fix-doc-1
6390a31 Fixing documentation with correct flag option
a8701b8 Fix issue 67 (https://github.com/emcrisostomo/fswatch/issues/67): 100% CPU usage while using libfswatch.
3002295 (tag: 1.4.5.3) Merge branch 'release/1.4.5.3'
b4cacbc Merge branch 'release/1.4.5.3' into develop
1808eed Bump v. 1.4.5.3.
c0a8d0f Fix issue 67 (https://github.com/emcrisostomo/fswatch/issues/67): 100% CPU usage while using libfswatch.
0db6447 Bump v. 1.4.6-current.
785afb4 Merge branch 'master' into develop
8450dd5 (tag: 1.4.5.2) Update NEWS file for v. 1.4.5.2.
78b8e7c Merge branch 'release/1.4.5.2' into develop
e898dc9 Merge branch 'release/1.4.5.2'
8f97e51 Configure tar.gz distributions.
0cc4bb5 Bump v. 1.4.5.2.
fb982e5 Fix issue 66 (https://github.com/emcrisostomo/fswatch/issues/66): excluded items are not managed correctly by the poll monitor.
29b5eb2 Merge branch 'develop' into feature/improve-monitor-factory
6af533c Merge branch 'hotfix/1.4.5.1' into develop
a7842b6 (tag: 1.4.5.1) Merge branch 'hotfix/1.4.5.1'
ef82f2f Bump v. 1.4.5.1.
c306a54 Do not distribute wrapper scripts for shells which are not installed (the FreeBSD port system checks shebangs and complains).
4807457 Bump v. 1.4.6-current in .
6189da3 (tag: 1.4.5) Merge branch 'release/1.4.5'
2be6be5 Merge branch 'release/1.4.5' into develop
d630bb6 Merge branch 'juliekoubova-patch-1' into develop
5d1326e Merge branch 'patch-1' of https://github.com/juliekoubova/fswatch into juliekoubova-patch-1
1a85db0 Remove unnecessary std namespace qualifiers.
6ae54b6 fixed a typo
c43cfdf Update monitor_registrant in order to accept a creator function to create a specific monitor type.
aa633bc Add initial monitor_factory description to the documentation.
cfd0c5b Update teh C++ API section.
b63c2da Add Makefile for libfswatch's documentation.
b34ef4b Remove dependency on value.texi.
e22f738 Add initial texinfo documentation for libfswatch.
8ea7d78 Update README.md.
c559adf Bump v. 1.4.5.
45bae72 Update version.
83d6f75 Update version.
4dcf446 Use std-option when install-checking fswatch.
c5c117d Propagate M4 variable to Automake variable to set libfswatch version info.
c94281b Update PO and PO template file.
b04e93e Do not use shell scripts to set the package version because they are not detected as dependencies by Automake nor can be successfully executed when sources are outside the Git tree.
9548c93 Update fswatch so that --help and --version succeed and exit with 0.
b0c345d Amend missing Spanish locale in README.
6e63d7b Merge branch 'release/1.4.4' into develop
e2a2399 (tag: 1.4.4) Merge branch 'release/1.4.4'
1d4989f Use m4_esyscmd_s instead of m4_esyscmd so that trailing newlines are removed from the result in libfswatch.
de91ef5 Update NEWS.
2b984dc Update PO and PO template files.
4da4426 Merge branch 'feature/record-format' into develop
0985a93 Add section to event flag separator customization in the documentation.
da32daf Add --event-flag-separator to customize the event flag separator string.
47455c8 Update documentation adding section about custom record formats.
da67506 Update localisations.
f2a007b Update printf_event to accept an optional output stream and use it to test the format string.
4152b8f Update code so that line separator is not determined by the format.
7ab69cf Use default record format only when --format is not specified.
7214877 Update option parsing logic to make --format incompatible with other formatting options.
4a203b1 Map existing format options (-0, -t, -x) to corresponding formats for printf_event.
846e8f7 Print event records using printf_event.
b3ae34a Add printf-like function to print an event to stdout.
732d137 Add configure dependencies to trigger automatic Makefile rebuilds.
fe54b40 Add configure dependencies to trigger automatic Makefile rebuilds.
eb694b9 Use m4_esyscmd_s instead of m4_esyscmd so that trailing newlines are removed from the result.
0325fa1 Add README.linux to the list of distributed files.
2f536b5 Update README.freebsd.
3a056e3 Add README.linux file.
b4248f0 Update README files.
275f20d Add Emacs local variables to shell script files.
51e384a Update ChangeLog template.
be3e538 Fix README.md formatting.
8e2b8d6 Update README.md and README.osx.
08a2f1b Update NEWS.
b2368ab Add Emacs local variables.
8645ed2 (tag: 1.4.3.2) Merge branch 'hotfix/1.4.3.2'
87a422e Merge branch 'hotfix/1.4.3.2' into develop
d6f7c94 Fix Makefile.am because of broken link when DESTDIR installs are performed.
b08c444 Merge branch 'hotfix/1.4.3.1'
7b95bd4 Merge branch 'hotfix/1.4.3.1' into develop
a3952a0 Fix bug in fswatch-run wrapper script for ZSH which caused last argument not to be split when passed to xargs.
d5d98c6 Update PO and POT files.
9cece81 Update fswatch's include paths after source refactoring in libfswatch.
6a007a2 Update POTFILES.
c2deb5d Add Makefiles to libfswatch.
318b3c6 Make libfswatch a non-flat project and move sources into src/libfswatch.
6cbc780 Merge branch 'feature/libfswatch-gettext' into develop
eb7e79d Add Spanish (es) localization.
f97dd71 Add Italian (it) localization.
7cd12ff Localize strings in libfswatch.
0f15c33 Add library initialization library.
d10c41f Add LOCALEDIR definition to Makefile.am.
5f5120c Update .gitignore so that automatically generated PO files and GMO files are excluded at any depth.
47c53cf Add LINGUAS file declaring English (en and automatically generated variants), Italian (it) and Spanish (es) and add initial PO files.
c46c589 Add initial PO template file for libfswatch.
75c610a Make fsevents_monitor.cpp localizable.
ff6e676 Update Makefile.am to distribute gettext.h and gettext_defs.h
65c6ed8 Add gettext.h and add auxiliary header gettext_defs.h to define _() as a function of gettext().
f59b788 Add po directory with Makevars and POTFILES.in.
6f68ab7 Update Makefile.am and configure.ac after running gettextize.
32f631b Normalize Spanish PO file.
0665d29 Exclude automatically generated PO files and GMO files and add them to .gitignore.
843262c Add Spanish (es) localization.
71929e3 Merge branch 'feature/gettext' into develop
3d936dd Add localization information into README.md and README.osx.
1caa7cb Update PO files.
c50193e Canonically rearrange entries in Makefile.am.
5316fc9 Initialize gettext after language initialization.
3d498b9 Move compiler configuration macro in language section.
e516913 Update LINGUAS as described in the gettext manual.
a7148bc Add LINGUAS file.
d306db9 List files needing translation in POTFILES.in.
2ca2db9 Update Makefile.am as described in gettext manual.
d90a4ca Added Italian (it) translation.
f55dd1e Merge POT file with existing PO files.
817e1db Update fswatch PO file.
c7a5513 Add initial it.po PO file.
2ff4865 Add fswatch PO template file.
eb170a3 Mark translatable strings in fswatch.cpp.
6c513a3 Add template script build-aux/create-pot-template.sh.in to invoke xgettext with options populated by Autoconf.
e2cc018 Trigger gettext operations in main.
115b89d Convert the fswatch package to a non-flat package.
219935a Correctly quote argument of AM_GNU_GETTEXT_VERSION as suggested by gettextize.
753ed1a Add gettext.h so that conditional use of is available.
e8b6616 Add initial Makevars.
2edf92e Add initial POTFILES.in.
f11c596 Update Makefile.am and configure.ac with changes required by gettext and applied automatically by gettextize.
df4cb3c Add files automatically generated by gettextize and autoreconf to .gitignore.
740afb1 (tag: 1.4.3.1, tag: 1.4.3) Merge branch 'release/1.4.3'
adf5492 Merge branch 'release/1.4.3' into develop
de5acb3 Add disclaimer about documentation in package managers.
85bca11 Add information about install-pdf in README.md.
ba3ef70 Add download link for the PDF manual.
196e152 Enhance documentation section in README.md.
29414d3 Update NEWS for 1.4.3.
9744119 Update ChangeLog template to describe how change logs are generated using Git.
cb7d4e2 Add Documentation section to the README file.
b0e07cc Fix missing newline in help message.
2cbfcf0 Add batch marker documentation to texinfo manual.
ec67812 Merge branch 'feature/Batch_Marker' into develop
b82b03f Add batch marker feature.
6125ed3 Add batch marker feature.
08018f6 Add notice to redirect users to texinfo documentation in man page.
3683b97 Fix whitespaces.
1f8411b Update document and indices. Update Monitors section.
3bc7941 Add monitors section.
d46c361 Add description of the inotify monitor.
429fb8e Add Monitor chapter and describe the FSEvents and kqueue monitor.
5e75f7b Add section to describe the (--recursive, -r) option.
de599d5 Add monitor section to document the (--monitor, -m) option.
95d8579 Update numeric event flag section.
2b5ac43 Update.
60968c0 Update.
430066c Update.
d516d37 Add GNU Free Documentation License and add dependency in Makefile.
cd0447a Rename fsw occurrence in string to fswatch.
97b1207 Add TeXinfo file dependencies.
5e6ae93 Add skeleton of texinfo manual.
94971c9 Update NEWS.
31266fd Move auxiliary configuration scripts to build-aux.
de08131 Fix typos in man page.
b29ebb9 Add bug report email to man page.
4ed1d3e Add copyright and license to man page.
887b6b8 Fix whitespaces in man page.
634101d Add MONITORS and EXIT STATUS sections.
ca1003c Fill in bug report address in man page using PACKAGE_BUGREPORT.
33ff0c3 Update usage and examples in man page.
32645e2 Fill man page variable using Autoconf config file substitution.
6b98f13 Create man page using Autoconf config files.
cf43628 Move man files to man subdirectory.
ebdb85b Update the kqueue and the inotify monitor to sleep latency when no files can be watched yet.
df780c8 Use and if set.
ef172b8 Use git log to dynamically generate ChangeLog.
25135a4 Update.
dcc22b5 Use ::select to timeout a ::read using the monitor latency as the timeout amount.
5f5122e Add Autoconf function checks for ::modf and ::select.
c7773f3 Exit with error if atexit is not found.
eee7bd6 Add AC_PROG_RANLIB and AC_CHECK_FUNCS([atexit])
8ae47b1 Set library version info using an Autoconf-substituted variable.
65f7573 Set library version info to 1.0.0.
02e3036 Add --version option.
82579e1 Improve help message adding bug report email and web page.
d24087a Update README.
e0f003e Add mention to running ldconfig in README.md.
e0ddd15 (tag: 1.4.2) Merge branch 'release/1.4.2'
c674001 Update change logs.
3c558a8 Read version number and revision number from script output.
5ebdb13 Add scripts to get version from git tags.
5ada8a8 Read version number from file.
207bb9d Enable silent make rules.
21e1165 Set dist-zip by default and disable dist-gzip.
d8ba6f5 Merge branch 'develop' of https://github.com/emcrisostomo/fswatch into develop
c1fbe0b Update misleading ::perror argument.
bb2b052 Update misleading ÑÑperror argument.
1685374 Refactor method name.
fa65da3 Update the inotify monitor.
7b1311c Add the MovedFrom and MovedTo elements to fsw_event_flag.
c48ab53 (tag: 1.4.1.1) Merge branch 'hotfix/1.4.1.1'
85b2316 Merge branch 'hotfix/1.4.1.1' into develop
51991a9 Refactor code to support the unavailability of std::unique_ptr.
2d2b347 Add type check for std::unique_ptr in .
61ee86a Add type check for std::unique_ptr in .
09de366 (tag: 1.4.1) Merge branch 'hotfix/1.4.1'
aabc450 Merge branch 'hotfix/1.4.1' into develop
013a159 Bump v. 1.4.1.
777643b Issue a configure warning if is not found.
a4d3a2a Use only if HAVE_CXX_MUTEX is defined.
4754b80 Add an Autoconf check for the header.
e0355e7 Update the inotify monitor to recursively scan directories.
ed8f6e4 Do not check paths against filters during watch creation.
669a4b6 Do not throw on non-existing path.
900f248 (tag: 1.4.0) Merge branch 'release/1.4.0'
895ad32 Merge branch 'release/1.4.0' into develop
c3e59c5 Remove local cleanup hook becase it broke builds on the root directory.
1a0dc5c Update and rename fsw to fswatch.
be19c55 Update installation section with information about MacPorts and Homebrew.
7ff1897 Update.
7a2bae3 Rename inotify monitor's pimpl.
18a52ce Avoid race conditions when initializing static members.
2fba605 Define Automake conditionals in every code path.
bbf8602 Rename members using the fsevent_ prefix to use fsevents_.
1fcfd1a Refactor after fsevents_monitor name change.
75448ee Use the fsevent_monitor only if the FSEvents API supports file events.
13e5cb1 Compile the FSEvents monitor only if the OS X FSEvents API supports file events.
f1087b3 Add M4 macro to check whether the OS X FSEvents API supports file events.
3e8e382 Fix missed deallocation.
6bb3694 Do not compare signed types against unsigned types.
5416900 Include header required by unique_ptr.
0820f23 Declare destructor noexcept.
1ec1a58 Fix wrong included header path. Fix missing context parameter when invoking callback.
a7ed7e5 Free memory allocated by the C callback proxy.
b058478 Pass callback address to C proxy callback as context data.
bcec60c Simplify the libfsw_cpp_callback_proxy memory allocation.
49fb575 Document the libfswatch.h header.
c48772d Document the cevent.h header.
4152638 Update change log.
d1588b3 Document the libfswatch.h header.
671d21a Document the cmonitor.h header.
2e047f5 Document the cevent.h header.
15a4d15 Update.
0c44cad Link README.md to README.
a3ba3bc Updated instructions to setup the GNU Build System in a development environment.
78bddc9 Update to forward arguments to autoreconf.
3c1a7c5 Make private functions static.
0578239 Document the libfswatch.h header.
01943d7 Start documenting the libfswatch headers.
9741c3c Update the manifest files of the libfswatch package.
3ba8f67 Add usage example of the -m option.
b403217 Update NEWS.
11af6d3 Bump v. 1.4.0.
3101ff2 Update mane page.
d6f1a84 Update fswatch so that users can specify the monitor to be used by name. -k and -p options were removed.
d9810db Update all monitors to register themselves into the factory.
558c0a8 Add a monitor registration and factory facility in order to create monitors by name.
fb7ac7d Update distributed document data.
8059147 Add LICENSE file to libfswatch module.
3ec811f Merge branch 'master' into develop
9456a6d update History with new repo URL
92f6139 Update.
1e70591 Update ChangeLog.
38605ea Update sources after moving fsw to fswatch.
ed0b465 Remove elements migrated to libfswatch.
d07a6a0 Add libfswatch submodule from fsw. See ChangeLog for further details.
d298deb Merge configure.ac and Makefile.am from fsw. See ChangeLog for further details.
8f0ad27 Do not track files automatically generated by libtool.
b646c76 Add configure scripts for debug, static binary debug and release targets.
095dc3f Fix formatting.
3fb51da Add COPYING.
484dff5 Update AUTHORS.
9c7bb6b Correct some typos.
51ad155 Reindent.
90bf833 (tag: 1.3.9) Bump v. 1.3.9.
2c55578 Update NEWS and README.
58ea395 Update man page and include information about event filtering.
e6e7310 Directory names must be filtered when events are fired because they are not filtered while scanning.
7fc7969 Refactor kqueue monitor directory scanning implementation.
79c9c3d Refactor poll monitor directory scanning implementation.
b477578 Check filters only on the file path and not on scanned parent directories for the kqueue monitor.
d8054c5 Check filters only on the file path and not on scanned parent directories for the kqueue monitor.
7c2616f Check filters only on the file path and not on scanned parent directories.
bd7adf9 Change the filter rules so that the first wins, no matter whether it's an exclusion or an inclusion filter.
dd02b0e Add -i, --include option and basic implementation to support the use of an include regexp.
764f896 Move -i option to -I.
fb7b846 (tag: 1.3.8) Print diagnostic messages only when fswatch is run in verbose mode.
57e6fdf (tag: 1.3.7) Remove usages of C++11 initializer lists so that fswatch builds with older compilers.
10e0ea8 Fix typo.
35af754 (tag: 1.3.6) Updated.
2479407 Update.
07fdbf3 Update.
a48a107 Use /bin directory in the sha bang of a shell script whose shell has not been found in the system.
d7d73ef Add AC_PATH_PROG macros to detect the paths of ZSH and Bash and AC_SUBST them.
ffde403 Update scripts to be template files so that the Autoconf can fill in the correct shell path in the sha bang.
1a8199b Remove symbolic link during the uninstall target and use LN_S.
01a6af3 Link fswatch-run to the correct shell-specific wrapper.
9809e09 Bump v. 1.3.6, check if ZSH and Bash are available and prepare Automake variables.
63b2ef5 Add a fswatch-run wrapper for ZSH and Bash.
313ef4b (tag: 1.3.5) Bump v. 1.3.5 and update distribution files.
09e11be Write usage to standard error when invalid arguments are specified.
2430c95 (tag: 1.3.4) Bump v. 1.3.4.
3d2128a Merge pull request #26 from nobeans/fix/fswatch-run
e044bee Remove a quotation from xargs arguments to run a command with arguments
dbbd2de (tag: 1.3.3) Merge branch 'release/1.3.3'
64def03 Merge branch 'feature/Issue-20' into develop
2430fbc Update man page.
0096e40 Add information about fswatch-run in README.
7b25f6d Add shell script to mimic the behaviour of earlier fswatch versions and launch the specified command when change events are received.
922ac0c Add section about compatibility issues with v. 0.x.
5a48928 Add section about compatibility issues with v. 0.x.
fd531ca Add -o/--one-per-batch option to print a single message with the number of change events in the current batch.
9501e2b Bump v. 1.3.3.
f0c2e68 Issue 22: Add link to release page.
7c92230 (tag: 1.3.2) Bump v. 1.3.2 to align fswatch releases with fsw. Update ChangeLog.
9a33505 Add History section to README.
457ede7 Add man file.
0c5f4f7 Fix typo.
46b5095 Add README.* files.
10ea4d7 Bump v. 1.0.0 and update README.
96e66f1 Initial merge with fsw (https://github.com/emcrisostomo/fsw).
74c55f5 Update configure.ac and ChangeLog.
3ff7d03 Reconfigure the project as a C++ project.
70e5478 Establish the following ordered compiler search list: CLang, GCC.
e9534dc Merge pull request #16 from emcrisostomo/master
27dd186 Link LICENSE to COPYING, update copyright, license and authors.
8ff0e67 Update README file.
36e26d0 Update README file.
7c276cc Add files to build the program using the GNU Build System.
460e818 Add exclusions for GNU Build System, Eclipse CDT and NetBeans to .gitignore.
709b349 Remove custom Makefile.
38d47dc Merge pull request #15 from kud/patch-1
f79dab7 Add brew instructions.
5910b7a Merge pull request #13 from chetbox/master
ffbc670 allow bash commands with arguments to be passed as arguments to fswatch
c049e85 (tag: 0.0.2) added license (bsd new), closes #7
a6ff7fd Merge pull request #1 from marceloandrader/master
b1ba236 Added documentation to multiple dir support
62a9814 Allow watch multiple directories
5e9ef06 (tag: 0.0.1) fix a small tyop
0790697 bash formatting for rsync example
1acf9f1 README -> README.md
8139725 update readme
3273e6f a makefile, why not
a0db417 run shell command instead of path
c447f6e pass environ to child process
e7e5f4a initial commit
fswatch-1.11.2/config/ 000755 000765 000024 00000000000 13175374110 015124 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/AUTHORS 000644 000765 000024 00000000223 13174733730 014732 0 ustar 00enrico staff 000000 000000 AUTHORS
=======
Authors of libfswatch:
- Alan Dipert (v. < 1.0.0).
- Enrico M. Crisostomo
fswatch-1.11.2/README.smartos 000644 000765 000024 00000006043 13174733730 016237 0 ustar 00enrico staff 000000 000000 README.smartos
**************
Introduction
============
This file describes the steps required to build this bundle on SmartOS. A
complete C/C++ toolchain for SmartOS is provided on the base-multiarch image.
The user is currently using the following image for the development of fswatch
on SmartOS:
UUID: 9250f5a8-6e9c-11e5-9cdb-67fab8707bfd
NAME: base-multiarch
VERSION: 15.3.0
Setting Up a Development Zone
=============================
A development zone can be setup using the following procedure:
* Search for the latest base-multiarch image:
$ imgadm avail | grep base-multiarch
9250f5a8-6e9c-11e5-9cdb-67fab8707bfd base-multiarch 15.3.0 smartos 2015-10-09T15:44:05Z
* Install the latest image available:
$ imgadm import 9250f5a8-6e9c-11e5-9cdb-67fab8707bfd
* Create a zone manifest called development.json. A simple zone manifest
template is the following:
{
"brand": "joyent",
"image_uuid": "9250f5a8-6e9c-11e5-9cdb-67fab8707bfd",
"alias": "development",
"hostname": "development",
"max_physical_memory": 4096,
"quota": 10,
"resolvers": ["8.8.8.8", "8.8.4.4"],
"nics": [
{
"nic_tag": "admin",
"ip": "dhcp"
}
]
}
* Install a zone using the specified image and manifest:
$ vmadm create -f development.json
Prerequisites
=============
The following packages must be installed on the zone where fswatch is built:
* autoconf
* automake
* gettext
* libtool
* gcc49
* git
* gmake
* gtexinfo
Packages can be installed using pkgin:
$ pkgin update
$ pkgin install package ...
Installation
============
See the INSTALL file for detailed information about how to configure and install
fswatch.
fswatch is a C++ program and a C++ compiler compliant with the C++11 standard is
required to compile it. Check the documentation of your distribution to learn
how to install the required software.
The configure script enforces an ordered compiler search list and clang++ will
be used first if available. If you do not like this choice and wish to use
another compiler set the value of the CXX environment variable to the name of
your compiler binary. If, for example, you wish to use the g++ compiler, then
use this command to configure the build:
$ ./configure CXX=g++
-----
Copyright (c) 2015 Enrico M. Crisostomo
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 3, 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 . fswatch-1.11.2/libfswatch_config.h.in 000644 000765 000024 00000015736 13175374060 020130 0 ustar 00enrico staff 000000 000000 /* libfswatch_config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#undef ENABLE_NLS
/* Define to 1 if you have the `atexit' function. */
#undef HAVE_ATEXIT
/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
#undef HAVE_CFLOCALECOPYCURRENT
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
the CoreFoundation framework. */
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
/* Define to 1 if you have the header file. */
#undef HAVE_CORESERVICES_CORESERVICES_H
/* Define to 1 if you have the header file. */
#undef HAVE_CSTDLIB
/* define if the compiler supports basic C++11 syntax */
#undef HAVE_CXX11
/* Define if is available. */
#undef HAVE_CXX_ATOMIC
/* Define if is available. */
#undef HAVE_CXX_MUTEX
/* Define if the thread_local storage specified is available. */
#undef HAVE_CXX_THREAD_LOCAL
/* Define if std::unique_ptr in is available. */
#undef HAVE_CXX_UNIQUE_PTR
/* CygWin API present. */
#undef HAVE_CYGWIN
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/
#undef HAVE_DCGETTEXT
/* Define to 1 if you have the declaration of `cygwin_create_path', and to 0
if you don't. */
#undef HAVE_DECL_CYGWIN_CREATE_PATH
/* Define to 1 if you have the declaration of `FindCloseChangeNotification',
and to 0 if you don't. */
#undef HAVE_DECL_FINDCLOSECHANGENOTIFICATION
/* Define to 1 if you have the declaration of `FindFirstChangeNotification',
and to 0 if you don't. */
#undef HAVE_DECL_FINDFIRSTCHANGENOTIFICATION
/* Define to 1 if you have the declaration of `FindNextChangeNotification',
and to 0 if you don't. */
#undef HAVE_DECL_FINDNEXTCHANGENOTIFICATION
/* Define to 1 if you have the declaration of `inotify_add_watch', and to 0 if
you don't. */
#undef HAVE_DECL_INOTIFY_ADD_WATCH
/* Define to 1 if you have the declaration of `inotify_init', and to 0 if you
don't. */
#undef HAVE_DECL_INOTIFY_INIT
/* Define to 1 if you have the declaration of `inotify_rm_watch', and to 0 if
you don't. */
#undef HAVE_DECL_INOTIFY_RM_WATCH
/* Define to 1 if you have the declaration of `kevent', and to 0 if you don't.
*/
#undef HAVE_DECL_KEVENT
/* Define to 1 if you have the declaration of `kqueue', and to 0 if you don't.
*/
#undef HAVE_DECL_KQUEUE
/* Define to 1 if you have the declaration of `port_create', and to 0 if you
don't. */
#undef HAVE_DECL_PORT_CREATE
/* Define to 1 if you have the declaration of `ReadDirectoryChangesW', and to
0 if you don't. */
#undef HAVE_DECL_READDIRECTORYCHANGESW
/* Define to 1 if you have the declaration of `WaitForSingleObject', and to 0
if you don't. */
#undef HAVE_DECL_WAITFORSINGLEOBJECT
/* Define to 1 if you have the header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the header file. */
#undef HAVE_FCNTL_H
/* Define if the file events are supported by OS X FSEvents API. */
#undef HAVE_FSEVENTS_FILE_EVENTS
/* Define to 1 if you have the header file. */
#undef HAVE_GETOPT_H
/* Define to 1 if you have the `getopt_long' function. */
#undef HAVE_GETOPT_LONG
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define if you have the iconv() function and it works. */
#undef HAVE_ICONV
/* Define to 1 if you have the header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `c' library (-lc). */
#undef HAVE_LIBC
/* Define to 1 if you have the `pthread' library (-lpthread). */
#undef HAVE_LIBPTHREAD
/* Define to 1 if you have the header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `modf' function. */
#undef HAVE_MODF
/* Define to 1 if you have the header file. */
#undef HAVE_PORT_H
/* Define to 1 if you have the `realpath' function. */
#undef HAVE_REALPATH
/* Define to 1 if you have the `regcomp' function. */
#undef HAVE_REGCOMP
/* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
/* Define to 1 if you have the header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the header file. */
#undef HAVE_STRING_H
/* Define to 1 if `st_mtime' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_MTIME
/* Define to 1 if `st_mtimespec' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_MTIMESPEC
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_CYGWIN_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_EVENT_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_INOTIFY_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the header file. */
#undef HAVE_UNISTD_H
/* Define to 1 if you have the header file. */
#undef HAVE_UNORDERED_MAP
/* Define to 1 if you have the header file. */
#undef HAVE_UNORDERED_SET
/* Windows API present. */
#undef HAVE_WINDOWS
/* Define to 1 if you have the header file. */
#undef HAVE_WINDOWS_H
/* Define to 1 if the system has the type `_Bool'. */
#undef HAVE__BOOL
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Define for Solaris 2.5.1 so the uint32_t typedef from ,
, or is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
#undef _UINT32_T
/* Define to `int' if does not define. */
#undef mode_t
/* Define to `unsigned int' if does not define. */
#undef size_t
/* Define to `int' if does not define. */
#undef ssize_t
/* Define to the type of an unsigned integer type of width exactly 32 bits if
such a type exists and the standard includes do not define it. */
#undef uint32_t
fswatch-1.11.2/README.freebsd 000644 000765 000024 00000003645 13174733730 016166 0 ustar 00enrico staff 000000 000000 README.freebsd
**************
Introduction
============
This file describes the steps required to build this bundle on a supported
FreeBSD system. See README for more information about the tested
configurations.
The kqueue-based monitor should be compatible with any *BSD release with support
for kqueue. So far, however, the author has only tested this release on FreeBSD
v. >= 10.0. Feedback on different *BSD systems is much appreciated and will
benefit other users as well.
Installation
============
See the INSTALL file for detailed information about how to configure and install
fswatch.
fswatch is a C++ program and a C++ compiler compliant with the C++11 standard is
required to compile it. FreeBSD v. >= 10.0 ships by default with the CLang
compiler suite which builds this package correctly. The GCC compiler collection
shipped with FreeBSD, however, is not C++11 compliant and cannot build this
package.
The configure script enforces an ordered compiler search list and clang++ will
be used first if available. If you do not like this choice and wish to use
another compiler set the value of the CXX environment variable to the name of
your compiler binary. If, for example, you wish to use the g++ compiler, then
use this command to configure the build:
$ ./configure CXX=g++
-----
Copyright (c) 2014-2015 Enrico M. Crisostomo
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 3, 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 . fswatch-1.11.2/README 000644 000765 000024 00000026727 13174733730 014563 0 ustar 00enrico staff 000000 000000 [](https://github.com/emcrisostomo/fswatch/blob/master/COPYING)
README
======
`fswatch` is a file change monitor that receives notifications when the contents
of the specified files or directories are modified. `fswatch` implements
several monitors:
* A monitor based on the _File System Events API_ of Apple OS X.
* A monitor based on _kqueue_, a notification interface introduced in FreeBSD
4.1 (and supported on most *BSD systems, including OS X).
* A monitor based on the _File Events Notification_ API of the Solaris kernel
and its derivatives.
* A monitor based on _inotify_, a Linux kernel subsystem that reports file
system changes to applications.
* A monitor based on _ReadDirectoryChangesW_, a Microsoft Windows API that
reports changes to a directory.
* A monitor which periodically stats the file system, saves file modification
times in memory, and manually calculates file system changes (which works
anywhere `stat (2)` can be used).
`fswatch` should build and work correctly on any system shipping either of the
aforementioned APIs.
Table of Contents
-----------------
* [libfswatch](#libfswatch)
* [Features](#features)
* [Limitations](#limitations)
* [Getting fswatch](#getting-fswatch)
* [Building from Source](#building-from-source)
* [Installation](#installation)
* [Documentation](#documentation)
* [Localization](#localization)
* [Usage](#usage)
* [Contributing](#contributing)
* [Bug Reports](#bug-reports)
libfswatch
----------
`fswatch` is a frontend of `libfswatch`, a library with C and C++ binding. More
information on `libfswatch` can be found [here][README.libfswatch.md].
[README.libfswatch.md]: README.libfswatch.md
Features
--------
`fswatch` main features are:
* Support for many OS-specific APIs such as kevent, inotify, and FSEvents.
* Recursive directory monitoring.
* Path filtering using including and excluding regular expressions.
* Customizable record format.
* Support for periodic idle events.
Limitations
-----------
The limitations of `fswatch` depend largely on the monitor being used:
* The **FSEvents** monitor, available only on OS X, has no known limitations,
and scales very well with the number of files being observed.
* The **File Events Notification** monitor, available on Solaris kernels and
its derivatives, has no known limitations.
* The **kqueue** monitor, available on any \*BSD system featuring kqueue,
requires a file descriptor to be opened for every file being watched. As a
result, this monitor scales badly with the number of files being observed,
and may begin to misbehave as soon as the `fswatch` process runs out of file
descriptors. In this case, `fswatch` dumps one error on standard error for
every file that cannot be opened.
* The **inotify** monitor, available on Linux since kernel 2.6.13, may suffer
a queue overflow if events are generated faster than they are read from the
queue. In any case, the application is guaranteed to receive an overflow
notification which can be handled to gracefully recover. `fswatch`
currently throws an exception if a queue overflow occurs. Future versions
will handle the overflow by emitting proper notifications.
* The **Windows** monitor can only establish a watch _directories_, not files.
To watch a file, its parent directory must be watched in order to receive
change events for all the directory's children, _recursively_ at any depth.
Optionally, change events can be filtered to include only changes to the
desired file.
* The **poll** monitor, available on any platform, only relies on
available CPU and memory to perform its task. The performance of this
monitor degrades linearly with the number of files being watched.
Usage recommendations are as follows:
* On OS X, use only the `FSEvents` monitor (which is the default behaviour).
* On Solaris and its derivatives use the _File Events Notification_ monitor.
* On Linux, use the `inotify` monitor (which is the default behaviour).
* If the number of files to observe is sufficiently small, use the `kqueue`
monitor. Beware that on some systems the maximum number of file descriptors
that can be opened by a process is set to a very low value (values as low as
256 are not uncommon), even if the operating system may allow a much larger
value. In this case, check your OS documentation to raise this limit on
either a per process or a system-wide basis.
* If feasible, watch directories instead of files. Properly crafting the
receiving side of the events to deal with directories may sensibly reduce
the monitor resource consumption.
* On Windows, use the `windows` monitor.
* If none of the above applies, use the poll monitor. The authors' experience
indicates that `fswatch` requires approximately 150 MB of RAM memory to
observe a hierarchy of 500.000 files with a minimum path length of 32
characters. A common bottleneck of the poll monitor is disk access, since
`stat()`-ing a great number of files may take a huge amount of time. In
this case, the latency should be set to a sufficiently large value in order
to reduce the performance degradation that may result from frequent disk
access.
Getting fswatch
---------------
A regular user may be able to fetch `fswatch` from the package manager of your
OS or a third-party one. If you are looking for `fswatch` for OS X, you can
install it using either [MacPorts] or [Homebrew]:
```
# MacPorts
$ port install fswatch
# Homebrew
$ brew install fswatch
```
Check your favourite package manager and let us know if `fswatch` is missing
there.
[MacPorts]: https://www.macports.org
[Homebrew]: http://brew.sh
Building from Source
--------------------
A user who wishes to build `fswatch` should get a [release tarball][release].
A release tarball contains everything a user needs to build `fswatch` on their
system, following the instructions detailed in the Installation section below
and the `INSTALL` file.
A developer who wishes to modify `fswatch` should get the sources (either from a
source tarball or cloning the repository) and have the GNU Build System
installed on their machine. Please read `README.gnu-build-system` to get further
details about how to bootstrap `fswatch` from sources on your machine.
Getting a copy of the source repository is not recommended unless you are a
developer, you have the GNU Build System installed on your machine, and you know
how to bootstrap it on the sources.
[release]: https://github.com/emcrisostomo/fswatch/releases
Installation
------------
See the `INSTALL` file for detailed information about how to configure and
install `fswatch`. Since the `fswatch` builds and uses dynamic libraries, in
some platforms you may need to perform additional tasks before you can use
`fswatch`:
* Make sure the installation directory of dynamic libraries (`$PREFIX/lib`) is
included in the lookup paths of the dynamic linker of your operating system.
The default path, `/usr/local/lib`, will work in nearly every operating
system.
* Refreshing the links and cache to the dynamic libraries may be required. In
GNU/Linux systems you may need to run `ldconfig`:
$ ldconfig
`fswatch` is a C++ program and a C++ compiler compliant with the C++11 standard
is required to compile it. Check your OS documentation for information about
how to install the C++ toolchain and the C++ runtime.
No other software packages or dependencies are required to configure and install
`fswatch` but the aforementioned APIs used by the file system monitors.
Documentation
-------------
`fswatch` provides the following [documentation]:
* Texinfo documentation, included with the distribution.
* HTML documentation.
* PDF documentation.
* A [wiki] page.
* A man page.
`fswatch` official documentation is provided in Texinfo format. This is the
most comprehensive source of information about `fswatch` and the only
authoritative one. The man page, in particular, is a stub that suggests the
user to use the info page instead.
If you are installing `fswatch` using a package manager and you would like the
PDF manual to be bundled into the package, please send a feature request to the
package maintainer.
[documentation]: http://emcrisostomo.github.io/fswatch/doc
[wiki]: https://github.com/emcrisostomo/fswatch/wiki
Localization
------------
`fswatch` is localizable and internally uses GNU `gettext` to decouple
localizable string from their translation. The currently available locales are:
* English (`en`).
* Italian (`it`).
* Spanish (`es`).
To build `fswatch` with localization support, you need to have `gettext`
installed on your system. If `configure` cannot find `` or the
linker cannot find `libintl`, then you may need to manually provide their
location to `configure`, usually using the `CPPFLAGS` and the `LDFLAGS`
variables. See `README.osx` for an example.
If `gettext` is not available on your system, `fswatch` shall build correctly,
but it will lack localization support and the only available locale will be
English.
Usage
-----
`fswatch` accepts a list of paths for which change events should be received:
$ fswatch [options] ... path-0 ... path-n
The event stream is created even if any of the paths do not exist yet. If they
are created after `fswatch` is launched, change events will be properly
received. Depending on the watcher being used, newly created paths will be
monitored after the amount of configured latency has elapsed.
The output of `fswatch` can be piped to other program in order to process it
further:
$ fswatch -0 path | while read -d "" event \
do \
// do something with ${event}
done
To run a command when a set of change events is printed to standard output but
no event details are required, then the following command can be used:
$ fswatch -o path | xargs -n1 -I{} program
The behaviour is consistent with earlier versions of `fswatch` (v. 0.x).
Please, read the _Compatibility Issues with fswatch v. 0.x_ section for further
information.
By default `fswatch` chooses the best monitor available on the current platform,
in terms of performance and resource consumption. If the user wishes to specify
a different monitor, the `-m` option can be used to specify the monitor by name:
$ fswatch -m kqueue_monitor path
The list of available monitors can be obtained with the `-h` option.
For more information, refer to the `fswatch` documentation.
Contributing
------------
Everybody is welcome to contribute to `fswatch`. Please, see
[`CONTRIBUTING`][contrib] for further information.
[contrib]: CONTRIBUTING.md
Bug Reports
-----------
Bug reports can be sent directly to the authors.
Contact the Authors
-------------------
The author can be contacted on IRC, using the Freenode `#fswatch` channel.
-----
Copyright (c) 2013-2017 Enrico M. Crisostomo
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 3, 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 .
fswatch-1.11.2/ABOUT-NLS 000644 000765 000024 00000267133 13175374041 015125 0 ustar 00enrico staff 000000 000000 1 Notes on the Free Translation Project
***************************************
Free software is going international! The Free Translation Project is
a way to get maintainers of free software, translators, and users all
together, so that free software will gradually become able to speak many
languages. A few packages already provide translations for their
messages.
If you found this `ABOUT-NLS' file inside a distribution, you may
assume that the distributed package does use GNU `gettext' internally,
itself available at your nearest GNU archive site. But you do _not_
need to install GNU `gettext' prior to configuring, installing or using
this package with messages translated.
Installers will find here some useful hints. These notes also
explain how users should proceed for getting the programs to use the
available translations. They tell how people wanting to contribute and
work on translations can contact the appropriate team.
1.1 INSTALL Matters
===================
Some packages are "localizable" when properly installed; the programs
they contain can be made to speak your own native language. Most such
packages use GNU `gettext'. Other packages have their own ways to
internationalization, predating GNU `gettext'.
By default, this package will be installed to allow translation of
messages. It will automatically detect whether the system already
provides the GNU `gettext' functions. Installers may use special
options at configuration time for changing the default behaviour. The
command:
./configure --disable-nls
will _totally_ disable translation of messages.
When you already have GNU `gettext' installed on your system and run
configure without an option for your new package, `configure' will
probably detect the previously built and installed `libintl' library
and will decide to use it. If not, you may have to to use the
`--with-libintl-prefix' option to tell `configure' where to look for it.
Internationalized packages usually have many `po/LL.po' files, where
LL gives an ISO 639 two-letter code identifying the language. Unless
translations have been forbidden at `configure' time by using the
`--disable-nls' switch, all available translations are installed
together with the package. However, the environment variable `LINGUAS'
may be set, prior to configuration, to limit the installed set.
`LINGUAS' should then contain a space separated list of two-letter
codes, stating which languages are allowed.
1.2 Using This Package
======================
As a user, if your language has been installed for this package, you
only have to set the `LANG' environment variable to the appropriate
`LL_CC' combination. If you happen to have the `LC_ALL' or some other
`LC_xxx' environment variables set, you should unset them before
setting `LANG', otherwise the setting of `LANG' will not have the
desired effect. Here `LL' is an ISO 639 two-letter language code, and
`CC' is an ISO 3166 two-letter country code. For example, let's
suppose that you speak German and live in Germany. At the shell
prompt, merely execute `setenv LANG de_DE' (in `csh'),
`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
This can be done from your `.login' or `.profile' file, once and for
all.
You might think that the country code specification is redundant.
But in fact, some languages have dialects in different countries. For
example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
country code serves to distinguish the dialects.
The locale naming convention of `LL_CC', with `LL' denoting the
language and `CC' denoting the country, is the one use on systems based
on GNU libc. On other systems, some variations of this scheme are
used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
locales supported by your system for your language by running the
command `locale -a | grep '^LL''.
Not all programs have translations for all languages. By default, an
English message is shown in place of a nonexistent translation. If you
understand other languages, you can set up a priority list of languages.
This is done through a different environment variable, called
`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG'
for the purpose of message handling, but you still need to have `LANG'
set to the primary language; this is required by other parts of the
system libraries. For example, some Swedish users who would rather
read translations in German than English for when Swedish is not
available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.
Special advice for Norwegian users: The language code for Norwegian
bokma*l changed from `no' to `nb' recently (in 2003). During the
transition period, while some message catalogs for this language are
installed under `nb' and some older ones under `no', it's recommended
for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and
older translations are used.
In the `LANGUAGE' environment variable, but not in the `LANG'
environment variable, `LL_CC' combinations can be abbreviated as `LL'
to denote the language's main dialect. For example, `de' is equivalent
to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
(Portuguese as spoken in Portugal) in this context.
1.3 Translating Teams
=====================
For the Free Translation Project to be a success, we need interested
people who like their own language and write it well, and who are also
able to synergize with other translators speaking the same language.
Each translation team has its own mailing list. The up-to-date list of
teams can be found at the Free Translation Project's homepage,
`http://translationproject.org/', in the "Teams" area.
If you'd like to volunteer to _work_ at translating messages, you
should become a member of the translating team for your own language.
The subscribing address is _not_ the same as the list itself, it has
`-request' appended. For example, speakers of Swedish can send a
message to `sv-request@li.org', having this message body:
subscribe
Keep in mind that team members are expected to participate
_actively_ in translations, or at solving translational difficulties,
rather than merely lurking around. If your team does not exist yet and
you want to start one, or if you are unsure about what to do or how to
get started, please write to `coordinator@translationproject.org' to
reach the coordinator for all translator teams.
The English team is special. It works at improving and uniformizing
the terminology in use. Proven linguistic skills are praised more than
programming skills, here.
1.4 Available Packages
======================
Languages are not equally supported in all packages. The following
matrix shows the current state of internationalization, as of June
2010. The matrix shows, in regard of each package, for which languages
PO files have been submitted to translation coordination, with a
translation percentage of at least 50%.
Ready PO files af am an ar as ast az be be@latin bg bn_IN bs ca
+--------------------------------------------------+
a2ps | [] [] |
aegis | |
ant-phone | |
anubis | |
aspell | [] [] |
bash | |
bfd | |
bibshelf | [] |
binutils | |
bison | |
bison-runtime | [] |
bluez-pin | [] [] |
bombono-dvd | |
buzztard | |
cflow | |
clisp | |
coreutils | [] [] |
cpio | |
cppi | |
cpplib | [] |
cryptsetup | |
dfarc | |
dialog | [] [] |
dico | |
diffutils | [] |
dink | |
doodle | |
e2fsprogs | [] |
enscript | [] |
exif | |
fetchmail | [] |
findutils | [] |
flex | [] |
freedink | |
gas | |
gawk | [] [] |
gcal | [] |
gcc | |
gettext-examples | [] [] [] [] |
gettext-runtime | [] [] |
gettext-tools | [] [] |
gip | [] |
gjay | |
gliv | [] |
glunarclock | [] [] |
gnubiff | |
gnucash | [] |
gnuedu | |
gnulib | |
gnunet | |
gnunet-gtk | |
gnutls | |
gold | |
gpe-aerial | |
gpe-beam | |
gpe-bluetooth | |
gpe-calendar | |
gpe-clock | [] |
gpe-conf | |
gpe-contacts | |
gpe-edit | |
gpe-filemanager | |
gpe-go | |
gpe-login | |
gpe-ownerinfo | [] |
gpe-package | |
gpe-sketchbook | |
gpe-su | [] |
gpe-taskmanager | [] |
gpe-timesheet | [] |
gpe-today | [] |
gpe-todo | |
gphoto2 | |
gprof | [] |
gpsdrive | |
gramadoir | |
grep | |
grub | [] [] |
gsasl | |
gss | |
gst-plugins-bad | [] |
gst-plugins-base | [] |
gst-plugins-good | [] |
gst-plugins-ugly | [] |
gstreamer | [] [] [] |
gtick | |
gtkam | [] |
gtkorphan | [] |
gtkspell | [] [] [] |
gutenprint | |
hello | [] |
help2man | |
hylafax | |
idutils | |
indent | [] [] |
iso_15924 | |
iso_3166 | [] [] [] [] [] [] [] |
iso_3166_2 | |
iso_4217 | |
iso_639 | [] [] [] [] |
iso_639_3 | |
jwhois | |
kbd | |
keytouch | [] |
keytouch-editor | |
keytouch-keyboa... | [] |
klavaro | [] |
latrine | |
ld | [] |
leafpad | [] [] |
libc | [] [] |
libexif | () |
libextractor | |
libgnutls | |
libgpewidget | |
libgpg-error | |
libgphoto2 | |
libgphoto2_port | |
libgsasl | |
libiconv | [] |
libidn | |
lifelines | |
liferea | [] [] |
lilypond | |
linkdr | [] |
lordsawar | |
lprng | |
lynx | [] |
m4 | |
mailfromd | |
mailutils | |
make | |
man-db | |
man-db-manpages | |
minicom | |
mkisofs | |
myserver | |
nano | [] [] |
opcodes | |
parted | |
pies | |
popt | |
psmisc | |
pspp | [] |
pwdutils | |
radius | [] |
recode | [] [] |
rosegarden | |
rpm | |
rush | |
sarg | |
screem | |
scrollkeeper | [] [] [] |
sed | [] [] |
sharutils | [] [] |
shishi | |
skencil | |
solfege | |
solfege-manual | |
soundtracker | |
sp | |
sysstat | |
tar | [] |
texinfo | |
tin | |
unicode-han-tra... | |
unicode-transla... | |
util-linux-ng | [] |
vice | |
vmm | |
vorbis-tools | |
wastesedge | |
wdiff | |
wget | [] [] |
wyslij-po | |
xchat | [] [] [] [] |
xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
xkeyboard-config | [] [] |
+--------------------------------------------------+
af am an ar as ast az be be@latin bg bn_IN bs ca
6 0 1 2 3 19 1 10 3 28 3 1 38
crh cs da de el en en_GB en_ZA eo es et eu fa
+-------------------------------------------------+
a2ps | [] [] [] [] [] [] [] |
aegis | [] [] [] |
ant-phone | [] () |
anubis | [] [] |
aspell | [] [] [] [] [] |
bash | [] [] [] |
bfd | [] |
bibshelf | [] [] [] |
binutils | [] |
bison | [] [] |
bison-runtime | [] [] [] [] |
bluez-pin | [] [] [] [] [] [] |
bombono-dvd | [] |
buzztard | [] [] [] |
cflow | [] [] |
clisp | [] [] [] [] |
coreutils | [] [] [] [] |
cpio | |
cppi | |
cpplib | [] [] [] |
cryptsetup | [] |
dfarc | [] [] [] |
dialog | [] [] [] [] [] |
dico | |
diffutils | [] [] [] [] [] [] |
dink | [] [] [] |
doodle | [] |
e2fsprogs | [] [] [] |
enscript | [] [] [] |
exif | () [] [] |
fetchmail | [] [] () [] [] [] |
findutils | [] [] [] |
flex | [] [] |
freedink | [] [] [] |
gas | [] |
gawk | [] [] [] |
gcal | [] |
gcc | [] [] |
gettext-examples | [] [] [] [] |
gettext-runtime | [] [] [] [] |
gettext-tools | [] [] [] |
gip | [] [] [] [] |
gjay | [] |
gliv | [] [] [] |
glunarclock | [] [] |
gnubiff | () |
gnucash | [] () () () () |
gnuedu | [] [] |
gnulib | [] [] |
gnunet | |
gnunet-gtk | [] |
gnutls | [] [] |
gold | [] |
gpe-aerial | [] [] [] [] |
gpe-beam | [] [] [] [] |
gpe-bluetooth | [] [] |
gpe-calendar | [] |
gpe-clock | [] [] [] [] |
gpe-conf | [] [] [] |
gpe-contacts | [] [] [] |
gpe-edit | [] [] |
gpe-filemanager | [] [] [] |
gpe-go | [] [] [] [] |
gpe-login | [] [] |
gpe-ownerinfo | [] [] [] [] |
gpe-package | [] [] [] |
gpe-sketchbook | [] [] [] [] |
gpe-su | [] [] [] [] |
gpe-taskmanager | [] [] [] [] |
gpe-timesheet | [] [] [] [] |
gpe-today | [] [] [] [] |
gpe-todo | [] [] [] |
gphoto2 | [] [] () [] [] [] |
gprof | [] [] [] |
gpsdrive | [] [] [] |
gramadoir | [] [] [] |
grep | [] |
grub | [] [] |
gsasl | [] |
gss | |
gst-plugins-bad | [] [] [] [] [] |
gst-plugins-base | [] [] [] [] [] |
gst-plugins-good | [] [] [] [] [] [] |
gst-plugins-ugly | [] [] [] [] [] [] |
gstreamer | [] [] [] [] [] |
gtick | [] () [] |
gtkam | [] [] () [] [] |
gtkorphan | [] [] [] [] |
gtkspell | [] [] [] [] [] [] [] |
gutenprint | [] [] [] |
hello | [] [] [] [] |
help2man | [] |
hylafax | [] [] |
idutils | [] [] |
indent | [] [] [] [] [] [] [] |
iso_15924 | [] () [] [] |
iso_3166 | [] [] [] [] () [] [] [] () |
iso_3166_2 | () |
iso_4217 | [] [] [] () [] [] |
iso_639 | [] [] [] [] () [] [] |
iso_639_3 | [] |
jwhois | [] |
kbd | [] [] [] [] [] |
keytouch | [] [] |
keytouch-editor | [] [] |
keytouch-keyboa... | [] |
klavaro | [] [] [] [] |
latrine | [] () |
ld | [] [] |
leafpad | [] [] [] [] [] [] |
libc | [] [] [] [] |
libexif | [] [] () |
libextractor | |
libgnutls | [] |
libgpewidget | [] [] |
libgpg-error | [] [] |
libgphoto2 | [] () |
libgphoto2_port | [] () [] |
libgsasl | |
libiconv | [] [] [] [] [] |
libidn | [] [] [] |
lifelines | [] () |
liferea | [] [] [] [] [] |
lilypond | [] [] [] |
linkdr | [] [] [] |
lordsawar | [] |
lprng | |
lynx | [] [] [] [] |
m4 | [] [] [] [] |
mailfromd | |
mailutils | [] |
make | [] [] [] |
man-db | |
man-db-manpages | |
minicom | [] [] [] [] |
mkisofs | |
myserver | |
nano | [] [] [] |
opcodes | [] [] |
parted | [] [] |
pies | |
popt | [] [] [] [] [] |
psmisc | [] [] [] |
pspp | [] |
pwdutils | [] |
radius | [] |
recode | [] [] [] [] [] [] |
rosegarden | () () () |
rpm | [] [] [] |
rush | |
sarg | |
screem | |
scrollkeeper | [] [] [] [] [] |
sed | [] [] [] [] [] [] |
sharutils | [] [] [] [] |
shishi | |
skencil | [] () [] |
solfege | [] [] [] |
solfege-manual | [] [] |
soundtracker | [] [] [] |
sp | [] |
sysstat | [] [] [] |
tar | [] [] [] [] |
texinfo | [] [] [] |
tin | [] [] |
unicode-han-tra... | |
unicode-transla... | |
util-linux-ng | [] [] [] [] |
vice | () () |
vmm | [] |
vorbis-tools | [] [] |
wastesedge | [] |
wdiff | [] [] |
wget | [] [] [] |
wyslij-po | |
xchat | [] [] [] [] [] |
xdg-user-dirs | [] [] [] [] [] [] [] [] [] |
xkeyboard-config | [] [] [] [] [] [] |
+-------------------------------------------------+
crh cs da de el en en_GB en_ZA eo es et eu fa
5 64 105 117 18 1 8 0 28 89 18 19 0
fi fr ga gl gu he hi hr hu hy id is it ja ka kn
+----------------------------------------------------+
a2ps | [] [] [] [] |
aegis | [] [] |
ant-phone | [] [] |
anubis | [] [] [] [] |
aspell | [] [] [] [] |
bash | [] [] [] [] |
bfd | [] [] [] |
bibshelf | [] [] [] [] [] |
binutils | [] [] [] |
bison | [] [] [] [] |
bison-runtime | [] [] [] [] [] [] |
bluez-pin | [] [] [] [] [] [] [] [] |
bombono-dvd | [] |
buzztard | [] |
cflow | [] [] [] |
clisp | [] |
coreutils | [] [] [] [] [] |
cpio | [] [] [] [] |
cppi | [] [] |
cpplib | [] [] [] |
cryptsetup | [] [] [] |
dfarc | [] [] [] |
dialog | [] [] [] [] [] [] [] |
dico | |
diffutils | [] [] [] [] [] [] [] [] [] |
dink | [] |
doodle | [] [] |
e2fsprogs | [] [] |
enscript | [] [] [] [] |
exif | [] [] [] [] [] [] |
fetchmail | [] [] [] [] |
findutils | [] [] [] [] [] [] |
flex | [] [] [] |
freedink | [] [] [] |
gas | [] [] |
gawk | [] [] [] [] () [] |
gcal | [] |
gcc | [] |
gettext-examples | [] [] [] [] [] [] [] |
gettext-runtime | [] [] [] [] [] [] |
gettext-tools | [] [] [] [] |
gip | [] [] [] [] [] [] |
gjay | [] |
gliv | [] () |
glunarclock | [] [] [] [] |
gnubiff | () [] () |
gnucash | () () () () () [] |
gnuedu | [] [] |
gnulib | [] [] [] [] [] [] |
gnunet | |
gnunet-gtk | [] |
gnutls | [] [] |
gold | [] [] |
gpe-aerial | [] [] [] |
gpe-beam | [] [] [] [] |
gpe-bluetooth | [] [] [] [] |
gpe-calendar | [] [] |
gpe-clock | [] [] [] [] [] |
gpe-conf | [] [] [] [] |
gpe-contacts | [] [] [] [] |
gpe-edit | [] [] [] |
gpe-filemanager | [] [] [] [] |
gpe-go | [] [] [] [] [] |
gpe-login | [] [] [] |
gpe-ownerinfo | [] [] [] [] [] |
gpe-package | [] [] [] |
gpe-sketchbook | [] [] [] [] |
gpe-su | [] [] [] [] [] [] |
gpe-taskmanager | [] [] [] [] [] |
gpe-timesheet | [] [] [] [] [] |
gpe-today | [] [] [] [] [] [] [] |
gpe-todo | [] [] [] |
gphoto2 | [] [] [] [] [] [] |
gprof | [] [] [] [] |
gpsdrive | [] [] [] |
gramadoir | [] [] [] |
grep | [] [] |
grub | [] [] [] [] |
gsasl | [] [] [] [] [] |
gss | [] [] [] [] [] |
gst-plugins-bad | [] [] [] [] [] [] |
gst-plugins-base | [] [] [] [] [] [] |
gst-plugins-good | [] [] [] [] [] [] |
gst-plugins-ugly | [] [] [] [] [] [] |
gstreamer | [] [] [] [] [] |
gtick | [] [] [] [] [] |
gtkam | [] [] [] [] [] |
gtkorphan | [] [] [] |
gtkspell | [] [] [] [] [] [] [] [] [] |
gutenprint | [] [] [] [] |
hello | [] [] [] |
help2man | [] [] |
hylafax | [] |
idutils | [] [] [] [] [] [] |
indent | [] [] [] [] [] [] [] [] |
iso_15924 | [] () [] [] |
iso_3166 | [] () [] [] [] [] [] [] [] [] [] [] |
iso_3166_2 | () [] [] [] |
iso_4217 | [] () [] [] [] [] |
iso_639 | [] () [] [] [] [] [] [] [] |
iso_639_3 | () [] [] |
jwhois | [] [] [] [] [] |
kbd | [] [] |
keytouch | [] [] [] [] [] [] |
keytouch-editor | [] [] [] [] [] |
keytouch-keyboa... | [] [] [] [] [] |
klavaro | [] [] |
latrine | [] [] [] |
ld | [] [] [] [] |
leafpad | [] [] [] [] [] [] [] () |
libc | [] [] [] [] [] |
libexif | [] |
libextractor | |
libgnutls | [] [] |
libgpewidget | [] [] [] [] |
libgpg-error | [] [] |
libgphoto2 | [] [] [] |
libgphoto2_port | [] [] [] |
libgsasl | [] [] [] [] [] |
libiconv | [] [] [] [] [] [] |
libidn | [] [] [] [] |
lifelines | () |
liferea | [] [] [] [] |
lilypond | [] [] |
linkdr | [] [] [] [] [] |
lordsawar | |
lprng | [] |
lynx | [] [] [] [] [] |
m4 | [] [] [] [] [] [] |
mailfromd | |
mailutils | [] [] |
make | [] [] [] [] [] [] [] [] [] |
man-db | [] [] |
man-db-manpages | [] |
minicom | [] [] [] [] [] |
mkisofs | [] [] [] [] |
myserver | |
nano | [] [] [] [] [] [] |
opcodes | [] [] [] [] |
parted | [] [] [] [] |
pies | |
popt | [] [] [] [] [] [] [] [] [] |
psmisc | [] [] [] |
pspp | |
pwdutils | [] [] |
radius | [] [] |
recode | [] [] [] [] [] [] [] [] |
rosegarden | () () () () () |
rpm | [] [] |
rush | |
sarg | [] |
screem | [] [] |
scrollkeeper | [] [] [] [] |
sed | [] [] [] [] [] [] [] [] |
sharutils | [] [] [] [] [] [] [] |
shishi | [] |
skencil | [] |
solfege | [] [] [] [] |
solfege-manual | [] [] |
soundtracker | [] [] |
sp | [] () |
sysstat | [] [] [] [] [] |
tar | [] [] [] [] [] [] [] |
texinfo | [] [] [] [] |
tin | [] |
unicode-han-tra... | |
unicode-transla... | [] [] |
util-linux-ng | [] [] [] [] [] [] |
vice | () () () |
vmm | [] |
vorbis-tools | [] |
wastesedge | () () |
wdiff | [] |
wget | [] [] [] [] [] [] [] [] |
wyslij-po | [] [] [] |
xchat | [] [] [] [] [] [] [] [] [] |
xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] |
xkeyboard-config | [] [] [] [] [] |
+----------------------------------------------------+
fi fr ga gl gu he hi hr hu hy id is it ja ka kn
105 121 53 20 4 8 3 5 53 2 120 5 84 67 0 4
ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
+-----------------------------------------------+
a2ps | [] |
aegis | |
ant-phone | |
anubis | [] [] |
aspell | [] |
bash | |
bfd | |
bibshelf | [] [] |
binutils | |
bison | [] |
bison-runtime | [] [] [] [] [] |
bluez-pin | [] [] [] [] [] |
bombono-dvd | |
buzztard | |
cflow | |
clisp | |
coreutils | [] |
cpio | |
cppi | |
cpplib | |
cryptsetup | |
dfarc | [] |
dialog | [] [] [] [] [] |
dico | |
diffutils | [] [] |
dink | |
doodle | |
e2fsprogs | |
enscript | |
exif | [] |
fetchmail | |
findutils | |
flex | |
freedink | [] |
gas | |
gawk | |
gcal | |
gcc | |
gettext-examples | [] [] [] [] |
gettext-runtime | [] |
gettext-tools | [] |
gip | [] [] |
gjay | |
gliv | |
glunarclock | [] |
gnubiff | |
gnucash | () () () () |
gnuedu | |
gnulib | |
gnunet | |
gnunet-gtk | |
gnutls | [] |
gold | |
gpe-aerial | [] |
gpe-beam | [] |
gpe-bluetooth | [] [] |
gpe-calendar | [] |
gpe-clock | [] [] [] [] [] |
gpe-conf | [] [] |
gpe-contacts | [] [] |
gpe-edit | [] |
gpe-filemanager | [] [] |
gpe-go | [] [] [] |
gpe-login | [] |
gpe-ownerinfo | [] [] |
gpe-package | [] [] |
gpe-sketchbook | [] [] |
gpe-su | [] [] [] [] [] [] |
gpe-taskmanager | [] [] [] [] [] [] |
gpe-timesheet | [] [] |
gpe-today | [] [] [] [] |
gpe-todo | [] [] |
gphoto2 | |
gprof | [] |
gpsdrive | |
gramadoir | |
grep | |
grub | |
gsasl | |
gss | |
gst-plugins-bad | [] [] [] [] |
gst-plugins-base | [] [] |
gst-plugins-good | [] [] |
gst-plugins-ugly | [] [] [] [] [] |
gstreamer | |
gtick | |
gtkam | [] |
gtkorphan | [] [] |
gtkspell | [] [] [] [] [] [] [] |
gutenprint | |
hello | [] [] [] |
help2man | |
hylafax | |
idutils | |
indent | |
iso_15924 | [] [] |
iso_3166 | [] [] () [] [] [] [] [] |
iso_3166_2 | |
iso_4217 | [] [] |
iso_639 | [] [] |
iso_639_3 | [] |
jwhois | [] |
kbd | |
keytouch | [] |
keytouch-editor | [] |
keytouch-keyboa... | [] |
klavaro | [] |
latrine | [] |
ld | |
leafpad | [] [] [] |
libc | [] |
libexif | |
libextractor | |
libgnutls | [] |
libgpewidget | [] [] |
libgpg-error | |
libgphoto2 | |
libgphoto2_port | |
libgsasl | |
libiconv | |
libidn | |
lifelines | |
liferea | |
lilypond | |
linkdr | |
lordsawar | |
lprng | |
lynx | |
m4 | |
mailfromd | |
mailutils | |
make | [] |
man-db | |
man-db-manpages | |
minicom | [] |
mkisofs | |
myserver | |
nano | [] [] |
opcodes | |
parted | |
pies | |
popt | [] [] [] |
psmisc | |
pspp | |
pwdutils | |
radius | |
recode | |
rosegarden | |
rpm | |
rush | |
sarg | |
screem | |
scrollkeeper | [] [] |
sed | |
sharutils | |
shishi | |
skencil | |
solfege | [] |
solfege-manual | |
soundtracker | |
sp | |
sysstat | [] |
tar | [] |
texinfo | [] |
tin | |
unicode-han-tra... | |
unicode-transla... | |
util-linux-ng | |
vice | |
vmm | |
vorbis-tools | |
wastesedge | |
wdiff | |
wget | [] |
wyslij-po | |
xchat | [] [] [] |
xdg-user-dirs | [] [] [] [] [] [] [] [] |
xkeyboard-config | [] [] [] |
+-----------------------------------------------+
ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
20 5 10 1 13 48 4 2 2 4 24 10 20 3 1
nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
+---------------------------------------------------+
a2ps | [] [] [] [] [] [] [] [] |
aegis | [] [] [] |
ant-phone | [] [] |
anubis | [] [] [] |
aspell | [] [] [] [] [] |
bash | [] [] |
bfd | [] |
bibshelf | [] [] |
binutils | [] [] |
bison | [] [] [] |
bison-runtime | [] [] [] [] [] [] [] |
bluez-pin | [] [] [] [] [] [] [] [] |
bombono-dvd | [] () |
buzztard | [] [] |
cflow | [] |
clisp | [] [] |
coreutils | [] [] [] [] [] [] |
cpio | [] [] [] |
cppi | [] |
cpplib | [] |
cryptsetup | [] |
dfarc | [] |
dialog | [] [] [] [] |
dico | [] |
diffutils | [] [] [] [] [] [] |
dink | () |
doodle | [] [] |
e2fsprogs | [] [] |
enscript | [] [] [] [] [] |
exif | [] [] [] () [] |
fetchmail | [] [] [] [] |
findutils | [] [] [] [] [] |
flex | [] [] [] [] [] |
freedink | [] [] |
gas | |
gawk | [] [] [] [] |
gcal | |
gcc | [] |
gettext-examples | [] [] [] [] [] [] [] [] |
gettext-runtime | [] [] [] [] [] [] [] [] [] |
gettext-tools | [] [] [] [] [] [] |
gip | [] [] [] [] [] |
gjay | |
gliv | [] [] [] [] [] [] |
glunarclock | [] [] [] [] [] |
gnubiff | [] () |
gnucash | [] () () () |
gnuedu | [] |
gnulib | [] [] [] [] |
gnunet | |
gnunet-gtk | |
gnutls | [] [] |
gold | |
gpe-aerial | [] [] [] [] [] [] [] |
gpe-beam | [] [] [] [] [] [] [] |
gpe-bluetooth | [] [] |
gpe-calendar | [] [] [] [] |
gpe-clock | [] [] [] [] [] [] [] [] |
gpe-conf | [] [] [] [] [] [] [] |
gpe-contacts | [] [] [] [] [] |
gpe-edit | [] [] [] |
gpe-filemanager | [] [] [] |
gpe-go | [] [] [] [] [] [] [] [] |
gpe-login | [] [] |
gpe-ownerinfo | [] [] [] [] [] [] [] [] |
gpe-package | [] [] |
gpe-sketchbook | [] [] [] [] [] [] [] |
gpe-su | [] [] [] [] [] [] [] [] |
gpe-taskmanager | [] [] [] [] [] [] [] [] |
gpe-timesheet | [] [] [] [] [] [] [] [] |
gpe-today | [] [] [] [] [] [] [] [] |
gpe-todo | [] [] [] [] [] |
gphoto2 | [] [] [] [] [] [] [] [] |
gprof | [] [] [] |
gpsdrive | [] [] |
gramadoir | [] [] |
grep | [] [] [] [] |
grub | [] [] [] |
gsasl | [] [] [] [] |
gss | [] [] [] |
gst-plugins-bad | [] [] [] [] [] [] |
gst-plugins-base | [] [] [] [] [] |
gst-plugins-good | [] [] [] [] [] |
gst-plugins-ugly | [] [] [] [] [] [] |
gstreamer | [] [] [] [] [] |
gtick | [] [] [] |
gtkam | [] [] [] [] [] [] |
gtkorphan | [] |
gtkspell | [] [] [] [] [] [] [] [] [] [] |
gutenprint | [] [] |
hello | [] [] [] [] |
help2man | [] [] |
hylafax | [] |
idutils | [] [] [] [] [] |
indent | [] [] [] [] [] [] [] |
iso_15924 | [] [] [] [] |
iso_3166 | [] [] [] [] [] () [] [] [] [] [] [] [] [] |
iso_3166_2 | [] [] [] |
iso_4217 | [] [] [] [] [] [] [] [] |
iso_639 | [] [] [] [] [] [] [] [] [] |
iso_639_3 | [] [] |
jwhois | [] [] [] [] |
kbd | [] [] [] |
keytouch | [] [] [] |
keytouch-editor | [] [] [] |
keytouch-keyboa... | [] [] [] |
klavaro | [] [] |
latrine | [] [] |
ld | |
leafpad | [] [] [] [] [] [] [] [] [] |
libc | [] [] [] [] |
libexif | [] [] () [] |
libextractor | |
libgnutls | [] [] |
libgpewidget | [] [] [] |
libgpg-error | [] [] |
libgphoto2 | [] [] |
libgphoto2_port | [] [] [] [] [] |
libgsasl | [] [] [] [] [] |
libiconv | [] [] [] [] [] |
libidn | [] [] |
lifelines | [] [] |
liferea | [] [] [] [] [] () () [] |
lilypond | [] |
linkdr | [] [] [] |
lordsawar | |
lprng | [] |
lynx | [] [] [] |
m4 | [] [] [] [] [] |
mailfromd | [] |
mailutils | [] |
make | [] [] [] [] |
man-db | [] [] [] |
man-db-manpages | [] [] [] |
minicom | [] [] [] [] |
mkisofs | [] [] [] |
myserver | |
nano | [] [] [] [] |
opcodes | [] [] |
parted | [] [] [] [] |
pies | [] |
popt | [] [] [] [] |
psmisc | [] [] [] |
pspp | [] [] |
pwdutils | [] |
radius | [] [] [] |
recode | [] [] [] [] [] [] [] [] |
rosegarden | () () |
rpm | [] [] [] |
rush | [] [] |
sarg | |
screem | |
scrollkeeper | [] [] [] [] [] [] [] [] |
sed | [] [] [] [] [] [] [] [] [] |
sharutils | [] [] [] [] |
shishi | [] |
skencil | [] [] |
solfege | [] [] [] [] |
solfege-manual | [] [] [] |
soundtracker | [] |
sp | |
sysstat | [] [] [] [] |
tar | [] [] [] [] |
texinfo | [] [] [] [] |
tin | [] |
unicode-han-tra... | |
unicode-transla... | |
util-linux-ng | [] [] [] [] [] |
vice | [] |
vmm | [] |
vorbis-tools | [] [] |
wastesedge | [] |
wdiff | [] [] |
wget | [] [] [] [] [] [] [] |
wyslij-po | [] [] [] |
xchat | [] [] [] [] [] [] [] [] [] |
xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] [] [] [] [] |
xkeyboard-config | [] [] [] |
+---------------------------------------------------+
nl nn or pa pl ps pt pt_BR ro ru rw sk sl sq sr
135 10 4 7 105 1 29 62 47 91 3 54 46 9 37
sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
+---------------------------------------------------+
a2ps | [] [] [] [] [] | 27
aegis | [] | 9
ant-phone | [] [] [] [] | 9
anubis | [] [] [] [] | 15
aspell | [] [] [] | 20
bash | [] [] [] | 12
bfd | [] | 6
bibshelf | [] [] [] | 16
binutils | [] [] | 8
bison | [] [] | 12
bison-runtime | [] [] [] [] [] [] | 29
bluez-pin | [] [] [] [] [] [] [] [] | 37
bombono-dvd | [] | 4
buzztard | [] | 7
cflow | [] [] [] | 9
clisp | | 10
coreutils | [] [] [] [] | 22
cpio | [] [] [] [] [] [] | 13
cppi | [] [] | 5
cpplib | [] [] [] [] [] [] | 14
cryptsetup | [] [] | 7
dfarc | [] | 9
dialog | [] [] [] [] [] [] [] | 30
dico | [] | 2
diffutils | [] [] [] [] [] [] | 30
dink | | 4
doodle | [] [] | 7
e2fsprogs | [] [] [] | 11
enscript | [] [] [] [] | 17
exif | [] [] [] | 16
fetchmail | [] [] [] | 17
findutils | [] [] [] [] [] | 20
flex | [] [] [] [] | 15
freedink | [] | 10
gas | [] | 4
gawk | [] [] [] [] | 18
gcal | [] [] | 5
gcc | [] [] [] | 7
gettext-examples | [] [] [] [] [] [] [] | 34
gettext-runtime | [] [] [] [] [] [] [] | 29
gettext-tools | [] [] [] [] [] [] | 22
gip | [] [] [] [] | 22
gjay | [] | 3
gliv | [] [] [] | 14
glunarclock | [] [] [] [] [] | 19
gnubiff | [] [] | 4
gnucash | () [] () [] () | 10
gnuedu | [] [] | 7
gnulib | [] [] [] [] | 16
gnunet | [] | 1
gnunet-gtk | [] [] [] | 5
gnutls | [] [] [] | 10
gold | [] | 4
gpe-aerial | [] [] [] | 18
gpe-beam | [] [] [] | 19
gpe-bluetooth | [] [] [] | 13
gpe-calendar | [] [] [] [] | 12
gpe-clock | [] [] [] [] [] | 28
gpe-conf | [] [] [] [] | 20
gpe-contacts | [] [] [] | 17
gpe-edit | [] [] [] | 12
gpe-filemanager | [] [] [] [] | 16
gpe-go | [] [] [] [] [] | 25
gpe-login | [] [] [] | 11
gpe-ownerinfo | [] [] [] [] [] | 25
gpe-package | [] [] [] | 13
gpe-sketchbook | [] [] [] | 20
gpe-su | [] [] [] [] [] | 30
gpe-taskmanager | [] [] [] [] [] | 29
gpe-timesheet | [] [] [] [] [] | 25
gpe-today | [] [] [] [] [] [] | 30
gpe-todo | [] [] [] [] | 17
gphoto2 | [] [] [] [] [] | 24
gprof | [] [] [] | 15
gpsdrive | [] [] [] | 11
gramadoir | [] [] [] | 11
grep | [] [] [] | 10
grub | [] [] [] | 14
gsasl | [] [] [] [] | 14
gss | [] [] [] | 11
gst-plugins-bad | [] [] [] [] | 26
gst-plugins-base | [] [] [] [] [] | 24
gst-plugins-good | [] [] [] [] | 24
gst-plugins-ugly | [] [] [] [] [] | 29
gstreamer | [] [] [] [] | 22
gtick | [] [] [] | 13
gtkam | [] [] [] | 20
gtkorphan | [] [] [] | 14
gtkspell | [] [] [] [] [] [] [] [] [] | 45
gutenprint | [] | 10
hello | [] [] [] [] [] [] | 21
help2man | [] [] | 7
hylafax | [] | 5
idutils | [] [] [] [] | 17
indent | [] [] [] [] [] [] | 30
iso_15924 | () [] () [] [] | 16
iso_3166 | [] [] () [] [] () [] [] [] () | 53
iso_3166_2 | () [] () [] | 9
iso_4217 | [] () [] [] () [] [] | 26
iso_639 | [] [] [] () [] () [] [] [] [] | 38
iso_639_3 | [] () | 8
jwhois | [] [] [] [] [] | 16
kbd | [] [] [] [] [] | 15
keytouch | [] [] [] | 16
keytouch-editor | [] [] [] | 14
keytouch-keyboa... | [] [] [] | 14
klavaro | [] | 11
latrine | [] [] [] | 10
ld | [] [] [] [] | 11
leafpad | [] [] [] [] [] [] | 33
libc | [] [] [] [] [] | 21
libexif | [] () | 7
libextractor | [] | 1
libgnutls | [] [] [] | 9
libgpewidget | [] [] [] | 14
libgpg-error | [] [] [] | 9
libgphoto2 | [] [] | 8
libgphoto2_port | [] [] [] [] | 14
libgsasl | [] [] [] | 13
libiconv | [] [] [] [] | 21
libidn | () [] [] | 11
lifelines | [] | 4
liferea | [] [] [] | 21
lilypond | [] | 7
linkdr | [] [] [] [] [] | 17
lordsawar | | 1
lprng | [] | 3
lynx | [] [] [] [] | 17
m4 | [] [] [] [] | 19
mailfromd | [] [] | 3
mailutils | [] | 5
make | [] [] [] [] | 21
man-db | [] [] [] | 8
man-db-manpages | | 4
minicom | [] [] | 16
mkisofs | [] [] | 9
myserver | | 0
nano | [] [] [] [] | 21
opcodes | [] [] [] | 11
parted | [] [] [] [] [] | 15
pies | [] [] | 3
popt | [] [] [] [] [] [] | 27
psmisc | [] [] | 11
pspp | | 4
pwdutils | [] [] | 6
radius | [] [] | 9
recode | [] [] [] [] | 28
rosegarden | () | 0
rpm | [] [] [] | 11
rush | [] [] | 4
sarg | | 1
screem | [] | 3
scrollkeeper | [] [] [] [] [] | 27
sed | [] [] [] [] [] | 30
sharutils | [] [] [] [] [] | 22
shishi | [] | 3
skencil | [] [] | 7
solfege | [] [] [] [] | 16
solfege-manual | [] | 8
soundtracker | [] [] [] | 9
sp | [] | 3
sysstat | [] [] | 15
tar | [] [] [] [] [] [] | 23
texinfo | [] [] [] [] [] | 17
tin | | 4
unicode-han-tra... | | 0
unicode-transla... | | 2
util-linux-ng | [] [] [] [] | 20
vice | () () | 1
vmm | [] | 4
vorbis-tools | [] | 6
wastesedge | | 2
wdiff | [] [] | 7
wget | [] [] [] [] [] | 26
wyslij-po | [] [] | 8
xchat | [] [] [] [] [] [] | 36
xdg-user-dirs | [] [] [] [] [] [] [] [] [] [] | 63
xkeyboard-config | [] [] [] | 22
+---------------------------------------------------+
85 teams sv sw ta te tg th tr uk vi wa zh_CN zh_HK zh_TW
178 domains 119 1 3 3 0 10 65 51 155 17 98 7 41 2618
Some counters in the preceding matrix are higher than the number of
visible blocks let us expect. This is because a few extra PO files are
used for implementing regional variants of languages, or language
dialects.
For a PO file in the matrix above to be effective, the package to
which it applies should also have been internationalized and
distributed as such by its maintainer. There might be an observable
lag between the mere existence a PO file and its wide availability in a
distribution.
If June 2010 seems to be old, you may fetch a more recent copy of
this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
matrix with full percentage details can be found at
`http://translationproject.org/extra/matrix.html'.
1.5 Using `gettext' in new packages
===================================
If you are writing a freely available program and want to
internationalize it you are welcome to use GNU `gettext' in your
package. Of course you have to respect the GNU Library General Public
License which covers the use of the GNU `gettext' library. This means
in particular that even non-free programs can use `libintl' as a shared
library, whereas only free software can use `libintl' as a static
library or use modified versions of `libintl'.
Once the sources are changed appropriately and the setup can handle
the use of `gettext' the only thing missing are the translations. The
Free Translation Project is also available for packages which are not
developed inside the GNU project. Therefore the information given above
applies also for every other Free Software Project. Contact
`coordinator@translationproject.org' to make the `.pot' files available
to the translation teams.
fswatch-1.11.2/Makefile.am 000644 000765 000024 00000003573 13175367735 015742 0 ustar 00enrico staff 000000 000000 #
# Copyright (c) 2014-2017 Enrico M. Crisostomo
#
# 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 3, 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 .
#
ACLOCAL_AMFLAGS = -I m4
# Refresh configuration if libtool dependencies change
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) $(top_builddir)/config.status libtool
if USE_NLS
FSW_PO_SUBDIR = po
endif
SUBDIRS = libfswatch fswatch $(FSW_PO_SUBDIR)
dist_man_MANS = man/fswatch.7
dist_doc_DATA = README.bsd
dist_doc_DATA += README.codestyle
dist_doc_DATA += README.freebsd
dist_doc_DATA += README.gnu-build-system
dist_doc_DATA += README.illumos
dist_doc_DATA += README.md
dist_doc_DATA += README.libfswatch.md
dist_doc_DATA += README.linux
dist_doc_DATA += README.osx
dist_doc_DATA += README.smartos
dist_doc_DATA += README.solaris
dist_doc_DATA += README.windows
if USE_NLS
dist_doc_DATA += ABOUT-NLS
endif
dist_doc_DATA += AUTHORS
dist_doc_DATA += CONTRIBUTING.md
dist_doc_DATA += COPYING
dist_doc_DATA += NEWS
dist_doc_DATA += AUTHORS.libfswatch
dist_doc_DATA += NEWS.libfswatch
dist-hook:
# The recipe cannot assume a file in $(distdir) is writable.
chmod u+w $(distdir)/ChangeLog
git log --oneline --decorate >> $(distdir)/ChangeLog
# Manually distributing config.rpath seems not to be required any longer with
# current Autotools.
#
# EXTRA_DIST = config/config.rpath
docker-images:
./docker/build-images.sh
fswatch-1.11.2/README.md 000644 000765 000024 00000026727 13174733730 015162 0 ustar 00enrico staff 000000 000000 [](https://github.com/emcrisostomo/fswatch/blob/master/COPYING)
README
======
`fswatch` is a file change monitor that receives notifications when the contents
of the specified files or directories are modified. `fswatch` implements
several monitors:
* A monitor based on the _File System Events API_ of Apple OS X.
* A monitor based on _kqueue_, a notification interface introduced in FreeBSD
4.1 (and supported on most *BSD systems, including OS X).
* A monitor based on the _File Events Notification_ API of the Solaris kernel
and its derivatives.
* A monitor based on _inotify_, a Linux kernel subsystem that reports file
system changes to applications.
* A monitor based on _ReadDirectoryChangesW_, a Microsoft Windows API that
reports changes to a directory.
* A monitor which periodically stats the file system, saves file modification
times in memory, and manually calculates file system changes (which works
anywhere `stat (2)` can be used).
`fswatch` should build and work correctly on any system shipping either of the
aforementioned APIs.
Table of Contents
-----------------
* [libfswatch](#libfswatch)
* [Features](#features)
* [Limitations](#limitations)
* [Getting fswatch](#getting-fswatch)
* [Building from Source](#building-from-source)
* [Installation](#installation)
* [Documentation](#documentation)
* [Localization](#localization)
* [Usage](#usage)
* [Contributing](#contributing)
* [Bug Reports](#bug-reports)
libfswatch
----------
`fswatch` is a frontend of `libfswatch`, a library with C and C++ binding. More
information on `libfswatch` can be found [here][README.libfswatch.md].
[README.libfswatch.md]: README.libfswatch.md
Features
--------
`fswatch` main features are:
* Support for many OS-specific APIs such as kevent, inotify, and FSEvents.
* Recursive directory monitoring.
* Path filtering using including and excluding regular expressions.
* Customizable record format.
* Support for periodic idle events.
Limitations
-----------
The limitations of `fswatch` depend largely on the monitor being used:
* The **FSEvents** monitor, available only on OS X, has no known limitations,
and scales very well with the number of files being observed.
* The **File Events Notification** monitor, available on Solaris kernels and
its derivatives, has no known limitations.
* The **kqueue** monitor, available on any \*BSD system featuring kqueue,
requires a file descriptor to be opened for every file being watched. As a
result, this monitor scales badly with the number of files being observed,
and may begin to misbehave as soon as the `fswatch` process runs out of file
descriptors. In this case, `fswatch` dumps one error on standard error for
every file that cannot be opened.
* The **inotify** monitor, available on Linux since kernel 2.6.13, may suffer
a queue overflow if events are generated faster than they are read from the
queue. In any case, the application is guaranteed to receive an overflow
notification which can be handled to gracefully recover. `fswatch`
currently throws an exception if a queue overflow occurs. Future versions
will handle the overflow by emitting proper notifications.
* The **Windows** monitor can only establish a watch _directories_, not files.
To watch a file, its parent directory must be watched in order to receive
change events for all the directory's children, _recursively_ at any depth.
Optionally, change events can be filtered to include only changes to the
desired file.
* The **poll** monitor, available on any platform, only relies on
available CPU and memory to perform its task. The performance of this
monitor degrades linearly with the number of files being watched.
Usage recommendations are as follows:
* On OS X, use only the `FSEvents` monitor (which is the default behaviour).
* On Solaris and its derivatives use the _File Events Notification_ monitor.
* On Linux, use the `inotify` monitor (which is the default behaviour).
* If the number of files to observe is sufficiently small, use the `kqueue`
monitor. Beware that on some systems the maximum number of file descriptors
that can be opened by a process is set to a very low value (values as low as
256 are not uncommon), even if the operating system may allow a much larger
value. In this case, check your OS documentation to raise this limit on
either a per process or a system-wide basis.
* If feasible, watch directories instead of files. Properly crafting the
receiving side of the events to deal with directories may sensibly reduce
the monitor resource consumption.
* On Windows, use the `windows` monitor.
* If none of the above applies, use the poll monitor. The authors' experience
indicates that `fswatch` requires approximately 150 MB of RAM memory to
observe a hierarchy of 500.000 files with a minimum path length of 32
characters. A common bottleneck of the poll monitor is disk access, since
`stat()`-ing a great number of files may take a huge amount of time. In
this case, the latency should be set to a sufficiently large value in order
to reduce the performance degradation that may result from frequent disk
access.
Getting fswatch
---------------
A regular user may be able to fetch `fswatch` from the package manager of your
OS or a third-party one. If you are looking for `fswatch` for OS X, you can
install it using either [MacPorts] or [Homebrew]:
```
# MacPorts
$ port install fswatch
# Homebrew
$ brew install fswatch
```
Check your favourite package manager and let us know if `fswatch` is missing
there.
[MacPorts]: https://www.macports.org
[Homebrew]: http://brew.sh
Building from Source
--------------------
A user who wishes to build `fswatch` should get a [release tarball][release].
A release tarball contains everything a user needs to build `fswatch` on their
system, following the instructions detailed in the Installation section below
and the `INSTALL` file.
A developer who wishes to modify `fswatch` should get the sources (either from a
source tarball or cloning the repository) and have the GNU Build System
installed on their machine. Please read `README.gnu-build-system` to get further
details about how to bootstrap `fswatch` from sources on your machine.
Getting a copy of the source repository is not recommended unless you are a
developer, you have the GNU Build System installed on your machine, and you know
how to bootstrap it on the sources.
[release]: https://github.com/emcrisostomo/fswatch/releases
Installation
------------
See the `INSTALL` file for detailed information about how to configure and
install `fswatch`. Since the `fswatch` builds and uses dynamic libraries, in
some platforms you may need to perform additional tasks before you can use
`fswatch`:
* Make sure the installation directory of dynamic libraries (`$PREFIX/lib`) is
included in the lookup paths of the dynamic linker of your operating system.
The default path, `/usr/local/lib`, will work in nearly every operating
system.
* Refreshing the links and cache to the dynamic libraries may be required. In
GNU/Linux systems you may need to run `ldconfig`:
$ ldconfig
`fswatch` is a C++ program and a C++ compiler compliant with the C++11 standard
is required to compile it. Check your OS documentation for information about
how to install the C++ toolchain and the C++ runtime.
No other software packages or dependencies are required to configure and install
`fswatch` but the aforementioned APIs used by the file system monitors.
Documentation
-------------
`fswatch` provides the following [documentation]:
* Texinfo documentation, included with the distribution.
* HTML documentation.
* PDF documentation.
* A [wiki] page.
* A man page.
`fswatch` official documentation is provided in Texinfo format. This is the
most comprehensive source of information about `fswatch` and the only
authoritative one. The man page, in particular, is a stub that suggests the
user to use the info page instead.
If you are installing `fswatch` using a package manager and you would like the
PDF manual to be bundled into the package, please send a feature request to the
package maintainer.
[documentation]: http://emcrisostomo.github.io/fswatch/doc
[wiki]: https://github.com/emcrisostomo/fswatch/wiki
Localization
------------
`fswatch` is localizable and internally uses GNU `gettext` to decouple
localizable string from their translation. The currently available locales are:
* English (`en`).
* Italian (`it`).
* Spanish (`es`).
To build `fswatch` with localization support, you need to have `gettext`
installed on your system. If `configure` cannot find `` or the
linker cannot find `libintl`, then you may need to manually provide their
location to `configure`, usually using the `CPPFLAGS` and the `LDFLAGS`
variables. See `README.osx` for an example.
If `gettext` is not available on your system, `fswatch` shall build correctly,
but it will lack localization support and the only available locale will be
English.
Usage
-----
`fswatch` accepts a list of paths for which change events should be received:
$ fswatch [options] ... path-0 ... path-n
The event stream is created even if any of the paths do not exist yet. If they
are created after `fswatch` is launched, change events will be properly
received. Depending on the watcher being used, newly created paths will be
monitored after the amount of configured latency has elapsed.
The output of `fswatch` can be piped to other program in order to process it
further:
$ fswatch -0 path | while read -d "" event \
do \
// do something with ${event}
done
To run a command when a set of change events is printed to standard output but
no event details are required, then the following command can be used:
$ fswatch -o path | xargs -n1 -I{} program
The behaviour is consistent with earlier versions of `fswatch` (v. 0.x).
Please, read the _Compatibility Issues with fswatch v. 0.x_ section for further
information.
By default `fswatch` chooses the best monitor available on the current platform,
in terms of performance and resource consumption. If the user wishes to specify
a different monitor, the `-m` option can be used to specify the monitor by name:
$ fswatch -m kqueue_monitor path
The list of available monitors can be obtained with the `-h` option.
For more information, refer to the `fswatch` documentation.
Contributing
------------
Everybody is welcome to contribute to `fswatch`. Please, see
[`CONTRIBUTING`][contrib] for further information.
[contrib]: CONTRIBUTING.md
Bug Reports
-----------
Bug reports can be sent directly to the authors.
Contact the Authors
-------------------
The author can be contacted on IRC, using the Freenode `#fswatch` channel.
-----
Copyright (c) 2013-2017 Enrico M. Crisostomo
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 3, 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 .
fswatch-1.11.2/COPYING 000644 000765 000024 00000104513 13174733730 014724 0 ustar 00enrico staff 000000 000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
fswatch-1.11.2/README.gnu-build-system 000644 000765 000024 00000005677 13174733730 017773 0 ustar 00enrico staff 000000 000000 README.gnu-build-system
=======================
Introduction
------------
`fswatch` is built using the GNU Build System (a.k.a. the Autotools) and
developers willing to modify the configuration files must have the GNU Build
System installed in order to do so.
For further information about the GNU Build System and its use, please refer to
its official documentation.
Installing the GNU Build System
-------------------------------
To install the GNU Build System, the following operations must be performed:
* Get the GNU Build System components:
- [Autoconf] (>= v. 2.69).
- [Automake]: (>= v. 1.14.1).
- [Libtool]: (>= v. 2.4.2).
- [Gettext]: (>= v. 0.19.4).
* Install the packages in the following order:
- Autoconf
- Automake
- Libtool
- Gettext
* From now on, `` will indicate any of the above-mentioned
components.
* Grab the sources:
$ wget
* Uncompress the source bundle:
$ gunzip .tar.gz
$ tar -xf .tar
* Configure the GNU Build System using the provided `autogen.sh` script:
$ ./autogen.sh
Whenever any component of the GNU Build System is updated, the `--force`
option should be passed to `autogen.sh`, which in turn forwards it to
`autoreconf`, to make sure that automatically generated scripts and macros
are updated:
$ ./autogen.sh --force
* Configure the package:
$ ./configure [...]
* If you want to install the package in the default location
(`/usr/local/bin`) you can invoke `./configure` with no option, otherwise
provide the desired installation directory using the `--prefix` option:
$ ./configure --prefix=/destdir
* Build the package:
$ make
* Test the components:
$ make check
* Test the installed components:
$ make check
* Install the components:
$ make install
Depending on the installation directory additional privileges may be
required.
* Add the installation directory to the `PATH`, otherwise builds of the
package may fail:
$ export PATH=/destdir/bin:$PATH
[Autoconf]: https://www.gnu.org/software/autoconf/
[Automake]: https://www.gnu.org/software/automake/
[Libtool]: https://www.gnu.org/software/libtool/
[Gettext]: https://www.gnu.org/software/gettext/
-----
Copyright (c) 2014-2017 Enrico M. Crisostomo
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 3, 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 .
fswatch-1.11.2/po/ 000755 000765 000024 00000000000 13175374113 014300 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/NEWS 000644 000765 000024 00000014143 13175372713 014370 0 ustar 00enrico staff 000000 000000 NEWS
****
New in 1.11.2:
* Issue 182: Generate a single message catalog for both fswatch and
libfswatch.
New in 1.11.1:
* Issue 182: Remove mandatory dependency to git.
New in 1.11.0:
* Issue 174: Allow a numeric event mask to be specified.
* Issue 181: Make gettext an optional dependency.
New in 1.10.0:
* Issue 60: Allow excluding file patterns by passing in a file.
* Issue 119: Merge fswatch and libfswatch Autotools project into one.
* Issue 141: Add Docker files for Linux distributions used for testing.
* Add target to build fswatch on Alpine Linux and Debian.
New in 1.9.3:
* Only libfswatch has been updated.
New in 1.9.2:
* Issue 118: v. 1.9.0 breaks the -1 option.
New in 1.9.1:
* Only libfswatch has been updated.
New in 1.9.0:
* Issue 84: Add the possibility of scheduling a periodic event.
* Issue 114: fswatch does not track newly created directories recursively when
using the inotify monitor.
* The AX_CXX_COMPILE_STDCXX macro was patched so that the switches it adds to
the compiler are added to the preprocessor configuration as well.
New in 1.8.0:
* Unsupported CMake files and CLion project files are included as a courtesy.
New in 1.7.0:
* Issue 35: Support Solaris/Illumos File Events Notification API.
* Issue 98: Add (-d, --directories) option to request the monitor to watch
directories only during a recursive scan.
* Issue 99: A monitor using the File Events Notification API of the
Solaris/Illumos kernel has been added.
* Issue 101: Add flag to watch file accesses.
New in 1.6.1:
* Texinfo documentation now includes @dircategory and @direntry tags to be
compatible with install-info.
New in 1.6.0:
* fswatch can now be built on Microsoft Windows using Cygwin.
* A monitor for Microsoft Windows has been added.
* fswatch can report monitor buffer overflows (which cannot be avoided with
certain monitors) as regular events for callers to recover gracefully.
* Monitors can be customized by passing monitor-specific configuration
properties.
New in 1.5.1:
* fswatch-run scripts have been removed.
* Dependency on at least one supported shell (Zsh or Bash) has been removed.
* Fixes Issue 91: Can't compile fswatch 1.5.0 on FreeBSD 9.3-RELEASE.
New in 1.5.0:
* Fix issue 46: Allow filtering by event type.
New in 1.4.7:
* Fix bug in exclusion filter ordering (PR 75).
* README.md improvements.
* Documentation improvements.
New in 1.4.6:
* Fix issue 74: Assertion failed on fsw_destroy_session.
New in 1.4.5.3:
* Fix issue 67: 100% CPU usage while using libfswatch. This issue only
affects the inotify monitor, available only on Linux.
New in 1.4.5.2:
* Fix issue 66: Exclude items with poll_monitor not considered.
New in 1.4.5.1:
* Do not distribute wrapper scripts for shells which are not installed (the
FreeBSD port system checks shebangs and complains).
New in 1.4.5:
* Add custom record formats.
New in 1.4.4:
* Localize fswatch and libfswatch using GNU gettext.
* Add Italian (it) localization.
* Add Spanish (es) localization.
New in 1.4.3.2:
* Fix Makefile.am because of broken link when DESTDIR installs are performed.
New in 1.4.3.1:
* Fix bug in fswatch-run wrapper script for ZSH which caused last argument not
to be split when passed to xargs.
New in 1.4.3:
* Add batch marker feature to delimit the boundaries of a batch of events.
* Add Texinfo documentation.
* libfswatch API is now versioned.
* Improved Autoconf checks.
* The inotify monitor now waits for events and honours the latency settings.
* Automaticaly generate the ChangeLog using Git.
* Update autogen.sh to honour some commonly used environment variables.
New in 1.4.2:
* The inotify monitor now provides the same functionality provided by all the
other monitors. Recursive directory monitoring is now implemented.
* Version and revision is now determined dynamically from Git by ancillary
scripts invoked by the GNU Build System.
New in 1.4.1.1:
* fswatch does not compile on OS X < 10.9 because some required C++11 classes
are not supported by the C++ runtime.
New in 1.4.1:
* fswatch does not compile on OS X < 10.9 because some required C++11 classes
are not supported by the C++ runtime.
New in 1.4.0:
* The libfswatch library has been added with bindings for C and C++.
* fswatch let users specify the monitor to use by name.
New in 1.3.9:
* Fix Issue 23: Add `--include [regex]` option.
* Fix Issue 25: Add `--include [regex]` option.
* Paths can be included using -i/--include and providing a set of regular
expressions.
New in 1.3.8:
* Fix Issue 34: Diagnostic messages were output by the inotify monitor even if
fswatch was not run in verbose mode.
New in 1.3.7:
* Fix Issue 32: Problems building fswatch 1.3.6 on Mac v10.8.5
* Remove usages of C++11 initializer lists so that fswatch builds with older
compiler.
New in 1.3.6:
* Fix Issue 26: fswatch-run can't run a command with arguments.
* fswatch-run scripts are provided for ZSH and Bash.
* System is scanned during installation to check for ZSH and Bash
availability. Path of found shells is substituted in the corresponding
scripts, otherwise the default /bin/[shell] is used.
* If a supported shell is found, the fswatch-run symbolic link is created in
the installation directory to the corresponding script. The lookup order
of the shells is:
- ZSH.
- Bash.
New in 1.3.5:
* Fix Issue 27: Redirect usage text to standard error unless `-h` or
`--help`.
* Fix bug to write usage to standard error when invalid arguments are
specified.
New in 1.3.4:
* Fix bug in fswatch-run script to allow arguments to be passed to the
command to run.
New in 1.3.3:
* Add -o/--one-per-batch option to print a single message with the number of
change events in the current batch.
* Add fswatch-run shell script to mimic the behaviour of earlier fswatch
versions and launch the specified command when change events are received.
New in 1.3.2:
* fswatch has been merged with fsw (https://github.com/emcrisostomo/fsw).
fswatch-1.11.2/README.linux 000644 000765 000024 00000003763 13174733730 015714 0 ustar 00enrico staff 000000 000000 README.linux
************
Introduction
============
This file describes the steps required to build fswatch on a supported GNU/Linux
system.
The supported monitors on GNU/Linux systems are:
* The inotify monitor (on Linux kernels > 2.6.13).
* The poll monitor.
The availability of the inotify API is checked by configure and it will be built
into fswatch when found. When available, the inotify monitor is the default
choice on GNU/Linux systems.
The list of monitors built into libfswatch can be read in the help message of
fswatch:
$ fswatch --help
Installation
============
See the INSTALL file for detailed information about how to configure and install
fswatch.
fswatch is a C++ program and a C++ compiler compliant with the C++11 standard is
required to compile it. Reasonably recent GNU/Linux distributions usually ship
at least two such compilers:
* GCC.
* Clang.
Please, check your distribution documentation to find an appropriate C++
compiler and how to install it.
The configure script enforces an ordered compiler search list and clang++ will
be used first if available. If you do not like this choice and wish to use
another compiler set the value of the CXX environment variable to the name of
your compiler binary. If, for example, you wish to use the g++ compiler, then
use this command to configure the build:
$ ./configure CXX=g++
-----
Copyright (c) 2014-2015 Enrico M. Crisostomo
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 3, 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 .
fswatch-1.11.2/CONTRIBUTING.md 000644 000765 000024 00000001577 13174733730 016130 0 ustar 00enrico staff 000000 000000 Contributing to fswatch
=======================
The easiest ways to contribute to `fswatch` are:
* Creating a new [issue].
* Forking the repository, make your contribution and submit a pull request.
See [GitHub Flow](#github-flow) for further information.
[issue]: https://github.com/emcrisostomo/fswatch/issues/new
Github Flow
-----------
I chose to use the [Github flow][flow] for `fswatch`, so you are
kindly required to follow the same model when making your contributions.
[flow]: https://help.github.com/articles/github-flow/
Coding Conventions and Style
----------------------------
The C and C++ code uses `snake_case` and is formatted with a customized
[Allman (BSD)][allman] style. See [`README.codestyle`][codestyle] for further
information on how setting up your IDE.
[codestyle]: README.codestyle
[allman]: https://en.wikipedia.org/wiki/Indent_style#Allman_style
fswatch-1.11.2/libfswatch/ 000755 000765 000024 00000000000 13175374110 016005 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/m4/ 000755 000765 000024 00000000000 13175374107 014205 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/README.osx 000644 000765 000024 00000011205 13174733730 015354 0 ustar 00enrico staff 000000 000000 README.osx
**********
Introduction
============
This file describes the steps required to build this bundle on a supported Apple
OS X system. A complete C/C++ toolchain for OS X is provided with Apple XCode,
which can be freely installed from the Apple App Store. See README for more
information about the tested configurations.
XCode
=====
If you plan to build the bundle with CLang/LLVM, the easiest way to get a
working toolchain is installing Apple XCode. Apple XCode ships with both the
CLang/LLVM and the GCC compiler.
XCode, however, does not install some required command line tools by default.
To install them, the following operations must be performed:
1. Choose the "XCode/Preferences..." menu item.
2. Navigate to the "Downloads" pane.
3. Select the "Components" tab.
4. Select the "Command Line Tools" item and press the "Install" button.
XCode 4.x
=========
XCode 4 ships with the following C/C++ compilers:
1. Apple clang++/LLVM v. 4.2:
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
2. GNU GCC v. 4.2.1:
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1
(Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Only clang++ implements the required C++11 features required by fswatch, so that
it must be configured with this compiler:
$ CXX=clang++ ./configure
XCode 5.x
=========
XCode 5 ships with the following C/C++ compilers:
1. Apple clang++/LLVM v. 5.0:
Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
2. GNU GCC v. 5.0:
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
The GCC suite has been deprecated in favour of LLVM/CLang and gcc/g++ are now
aliases to clang/clang++. The project can be configured with the default
compiler:
$ ./configure
GNU Build System
================
The GNU Build System is required only by developers willing to modify the code
on a OS X machine. Regular users only willing to install fswatch do not need
the GNU Build System.
Recent XCode Command Line Tools releases are not shipping all the components of
the GNU Build System any longer. OS X users are thus required to build an
alternate GNU Build System on their system.
The required source bundles can be downloaded from their official web pages:
1. Autoconf:
(http://www.gnu.org/software/autoconf/) (>= v. 2.69)
2. Automake
(http://www.gnu.org/software/automake/) (>= v. 1.14.1)
3. Libtool:
(http://www.gnu.org/software/libtool/) (>= v. 2.4.2)
Libtool is not required to build this package but it's a core component of the
GNU Build System.
XCode Command Line Tools still ships GNU M4 (v. 1.4.6).
To avoid conflicts with the binaries installed by XCode, it is strongly
suggested to install the GNU Build System in an alternate location (such as the
default /usr/local/bin) or in a private user folder. To choose the desired
install location, use the --prefix configure option.
For further instruction on building the GNU Build System from scratch, please
check the README.gnu-build-system file.
Localization and gettext
========================
fswatch is localizable and locale support requires GNU gettext to be available
at build time. OS X does not ship gettext you will need to build it yourself or
use a package manager such as MacPorts or Homebrew to install it.
Depending on gettext installation path, configure may not be able to find
or libintl. In this case, you will need to instruct configure about
their location (this example assumes you use MacPorts' default installation path
/opt/local):
$ CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure
If configure detects that gettext is available, you will find a message such as:
checking whether to use NLS... yes
or, which is equivalent, config.h will contain the following definition:
#define ENABLE_NLS 1
-----
Copyright (c) 2014-2015 Enrico M. Crisostomo
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 3, 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 .
fswatch-1.11.2/README.libfswatch.md 000644 000765 000024 00000003362 13174733730 017275 0 ustar 00enrico staff 000000 000000 README
======
`libfswatch` is a library that provides developers the functionality of
`fswatch`, the main `libfswatch` frontend. The library provides both C and C++
bindings.
`libfswatch` provides the following [documentation]:
* Texinfo documentation, included with the distribution.
* HTML documentation.
* PDF documentation.
* A [wiki] page.
* A man page.
`libfswatch` official documentation is provided in Texinfo format. This is the
most comprehensive source of information about `libfswatch` and the only
authoritative one. The man page, in particular, is a stub that suggests the
user to use the info page instead.
If you are installing `libfswatch` using a package manager and you would like
the PDF manual to be bundled into the package, please send a feature request to
the package maintainer.
[documentation]: http://emcrisostomo.github.io/fswatch/doc
[wiki]: https://github.com/emcrisostomo/fswatch/wiki
Bug Reports
-----------
Bug reports can be sent directly to the authors.
Contact the Authors
-------------------
The author can be contacted on IRC, using the Freenode `#fswatch` channel.
-----
Copyright (c) 2013-2016 Enrico M. Crisostomo
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 3, 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 .
fswatch-1.11.2/AUTHORS.libfswatch 000644 000765 000024 00000000142 13174733730 017057 0 ustar 00enrico staff 000000 000000 AUTHORS
=======
Authors of libfswatch:
- Enrico M. Crisostomo
fswatch-1.11.2/aclocal.m4 000644 000765 000024 00000131556 13175374056 015543 0 ustar 00enrico staff 000000 000000 # 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]))])
# Copyright (C) 2011-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_AR([ACT-IF-FAIL])
# -------------------------
# Try to determine the archiver interface, and trigger the ar-lib wrapper
# if it is needed. If the detection of archiver interface fails, run
# ACT-IF-FAIL (default is to abort configure with a proper error message).
AC_DEFUN([AM_PROG_AR],
[AC_BEFORE([$0], [LT_INIT])dnl
AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([ar-lib])dnl
AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
: ${AR=ar}
AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
[AC_LANG_PUSH([C])
am_cv_ar_interface=ar
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
[am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
AC_TRY_EVAL([am_ar_try])
if test "$ac_status" -eq 0; then
am_cv_ar_interface=ar
else
am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
AC_TRY_EVAL([am_ar_try])
if test "$ac_status" -eq 0; then
am_cv_ar_interface=lib
else
am_cv_ar_interface=unknown
fi
fi
rm -f conftest.lib libconftest.a
])
AC_LANG_POP([C])])
case $am_cv_ar_interface in
ar)
;;
lib)
# Microsoft lib, so override with the ar-lib wrapper script.
# FIXME: It is wrong to rewrite AR.
# But if we don't then we get into trouble of one sort or another.
# A longer-term fix would be to have automake use am__AR in this case,
# and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
# similar.
AR="$am_aux_dir/ar-lib $AR"
;;
unknown)
m4_default([$1],
[AC_MSG_ERROR([could not determine $AR interface])])
;;
esac
AC_SUBST([AR])dnl
])
# 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`
])
# AM_COND_IF -*- Autoconf -*-
# Copyright (C) 2008-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_COND_IF
# _AM_COND_ELSE
# _AM_COND_ENDIF
# --------------
# These macros are only used for tracing.
m4_define([_AM_COND_IF])
m4_define([_AM_COND_ELSE])
m4_define([_AM_COND_ENDIF])
# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
# ---------------------------------------
# If the shell condition COND is true, execute IF-TRUE, otherwise execute
# IF-FALSE. Allow automake to learn about conditional instantiating macros
# (the AC_CONFIG_FOOS).
AC_DEFUN([AM_COND_IF],
[m4_ifndef([_AM_COND_VALUE_$1],
[m4_fatal([$0: no such condition "$1"])])dnl
_AM_COND_IF([$1])dnl
if test -z "$$1_TRUE"; then :
m4_n([$2])[]dnl
m4_ifval([$3],
[_AM_COND_ELSE([$1])dnl
else
$3
])dnl
_AM_COND_ENDIF([$1])dnl
fi[]dnl
])
# AM_CONDITIONAL -*- 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_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ([2.52])dnl
m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])dnl
AC_SUBST([$1_FALSE])dnl
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
m4_define([_AM_COND_VALUE_$1], [$2])dnl
if $2; then
$1_TRUE=
$1_FALSE='#'
else
$1_TRUE='#'
$1_FALSE=
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999-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.
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery. Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
# _AM_DEPENDENCIES(NAME)
# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
[$1], [CXX], [depcc="$CXX" am_compiler_list=],
[$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
[$1], [UPC], [depcc="$UPC" am_compiler_list=],
[$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named 'D' -- because '-MD' means "put the output
# in D".
rm -rf conftest.dir
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
am__universal=false
m4_case([$1], [CC],
[case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;;
esac],
[CXX],
[case " $depcc " in #(
*\ -arch\ *\ -arch\ *) am__universal=true ;;
esac])
for depmode in $am_compiler_list; do
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
# Solaris 10 /bin/sh.
echo '/* dummy */' > sub/conftst$i.h
done
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
# We check with '-c' and '-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle '-M -o', and we need to detect this. Also, some Intel
# versions had trouble with output in subdirs.
am__obj=sub/conftest.${OBJEXT-o}
am__minus_obj="-o $am__obj"
case $depmode in
gcc)
# This depmode causes a compiler race in universal mode.
test "$am__universal" = false || continue
;;
nosideeffect)
# After this tag, mechanisms are not by side-effect, so they'll
# only be used when explicitly requested.
if test "x$enable_dependency_tracking" = xyes; then
continue
else
break
fi
;;
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
# This compiler won't grok '-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
am__obj=conftest.${OBJEXT-o}
am__minus_obj=
;;
none) break ;;
esac
if depmode=$depmode \
source=sub/conftest.c object=$am__obj \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
>/dev/null 2>conftest.err &&
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
break
fi
fi
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
test "x$enable_dependency_tracking" != xno \
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])
# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE([dependency-tracking], [dnl
AS_HELP_STRING(
[--enable-dependency-tracking],
[do not reject slow dependency extractors])
AS_HELP_STRING(
[--disable-dependency-tracking],
[speeds up one-time build])])
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
am__nodep='_no'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
AC_SUBST([AMDEPBACKSLASH])dnl
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
AC_SUBST([am__nodep])dnl
_AM_SUBST_NOTMAKE([am__nodep])dnl
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999-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_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
*\'*) eval set x "$CONFIG_FILES" ;;
*) set x $CONFIG_FILES ;;
esac
shift
for mf
do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "$am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each '.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996-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:
#
#
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:
Please tell bug-automake@gnu.org about your system, including the value
of your $PATH and any error possibly output before this message. This
can help us improve future automake versions.
END
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
echo 'Configuration will proceed anyway, since you have set the' >&2
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
echo >&2
else
cat >&2 <<'END'
Aborting the configuration process, to ensure you take notice of the issue.
You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: .
If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
to "yes", and re-run configure.
END
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])])
# Check to see how 'make' treats includes. -*- 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_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
am__doit:
@echo this is the am__doit target
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# Ignore all kinds of additional output from 'make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
am__quote=
_am_result=GNU
;;
esac
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=.include
am__quote="\""
_am_result=BSD
;;
esac
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997-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])])
# Copyright (C) 1999-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_CC_C_O
# ---------------
# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
# to automatically call this.
AC_DEFUN([_AM_PROG_CC_C_O],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([compile])dnl
AC_LANG_PUSH([C])dnl
AC_CACHE_CHECK(
[whether $CC understands -c and -o together],
[am_cv_prog_cc_c_o],
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
# Make sure it works both with $CC and with simple cc.
# Following AC_PROG_CC_C_O, we do the test twice because some
# compilers refuse to overwrite an existing .o file with -o,
# though they will create one.
am_cv_prog_cc_c_o=yes
for am_i in 1 2; do
if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
&& test -f conftest2.$ac_objext; then
: OK
else
am_cv_prog_cc_c_o=no
break
fi
done
rm -f core conftest*
unset am_i])
if test "$am_cv_prog_cc_c_o" != yes; then
# Losing compiler, so override with the script.
# FIXME: It is wrong to rewrite CC.
# But if we don't then we get into trouble of one sort or another.
# A longer-term fix would be to have automake use am__CC in this case,
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
CC="$am_aux_dir/compile $CC"
fi
AC_LANG_POP([C])])
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
# 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_RUN_LOG(COMMAND)
# -------------------
# Run COMMAND, save the exit status in ac_status, and log it.
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
AC_DEFUN([AM_RUN_LOG],
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
(exit $ac_status); }])
# 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 /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([m4/ax_append_flag.m4])
m4_include([m4/ax_cflags_warn_all.m4])
m4_include([m4/ax_cxx_compile_stdcxx.m4])
m4_include([m4/ax_cxx_compile_stdcxx_11.m4])
m4_include([m4/ax_cxx_have_thread_local.m4])
m4_include([m4/ax_fsevents_have_file_events.m4])
m4_include([m4/ax_git_current_branch.m4])
m4_include([m4/ax_require_defined.m4])
m4_include([m4/emc_path_prog.m4])
m4_include([m4/gettext.m4])
m4_include([m4/iconv.m4])
m4_include([m4/intlmacosx.m4])
m4_include([m4/lib-ld.m4])
m4_include([m4/lib-link.m4])
m4_include([m4/lib-prefix.m4])
m4_include([m4/libtool.m4])
m4_include([m4/ltoptions.m4])
m4_include([m4/ltsugar.m4])
m4_include([m4/ltversion.m4])
m4_include([m4/lt~obsolete.m4])
m4_include([m4/nls.m4])
m4_include([m4/po.m4])
m4_include([m4/progtest.m4])
fswatch-1.11.2/README.bsd 000644 000765 000024 00000001710 13174733730 015313 0 ustar 00enrico staff 000000 000000 README.bsd
**********
Introduction
============
The kqueue-based monitor should be compatible with any *BSD release with support
for kqueue. So far, however, the author has only tested this release on FreeBSD
v. >= 10.0. Feedback on different *BSD systems is much appreciated and will
benefit other users as well.
-----
Copyright (c) 2014-2015 Enrico M. Crisostomo
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 3, 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 . fswatch-1.11.2/README.illumos 000644 000765 000024 00000004117 13174733730 016233 0 ustar 00enrico staff 000000 000000 README.solaris
**************
Introduction
============
This file describes the steps required to build this bundle on a supported
system running the Solaris or the Illumos kernel. See README for more
information about the tested configurations.
When Illumos was created, the Solaris kernel already included the File Events
Notification API. Hence, the fen_monitor should be available on any system
running Solaris (> 10) or an Illumos kernel.
Additionally, a Solaris/Illumos system should be able to use the following
monitors:
* inotify_monitor, depending on the kernel version.
* poll_monitor.
So far, however, the author has only tested this release on SmartOS. Feedback
on different Solaris/Illumos systems is much appreciated and will benefit other
users as well.
Installation
============
See the INSTALL file for detailed information about how to configure and install
fswatch.
fswatch is a C++ program and a C++ compiler compliant with the C++11 standard is
required to compile it. Check the documentation of your distribution to learn
how to install the required software.
The configure script enforces an ordered compiler search list and clang++ will
be used first if available. If you do not like this choice and wish to use
another compiler set the value of the CXX environment variable to the name of
your compiler binary. If, for example, you wish to use the g++ compiler, then
use this command to configure the build:
$ ./configure CXX=g++
-----
Copyright (c) 2015 Enrico M. Crisostomo
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 3, 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 . fswatch-1.11.2/fswatch/ 000755 000765 000024 00000000000 13175374110 015316 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/fswatch/Makefile.am 000644 000765 000024 00000001261 13175367735 017371 0 ustar 00enrico staff 000000 000000 #
# Copyright (c) 2014-2017 Enrico M. Crisostomo
#
# 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 3, 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 .
#
SUBDIRS = src doc
fswatch-1.11.2/fswatch/doc/ 000755 000765 000024 00000000000 13175374112 016065 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/fswatch/src/ 000755 000765 000024 00000000000 13175374110 016105 5 ustar 00enrico staff 000000 000000 fswatch-1.11.2/fswatch/src/fswatch.hpp 000644 000765 000024 00000002124 13174733730 020262 0 ustar 00enrico staff 000000 000000 /*
* Copyright (c) 2014-2015 Enrico M. Crisostomo
*
* 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 3, 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 .
*/
#ifndef FSW_H
# define FSW_H
# define FSW_EXIT_OK 0
# define FSW_EXIT_UNK_OPT 1
# define FSW_EXIT_USAGE 2
# define FSW_EXIT_LATENCY 3
# define FSW_EXIT_STREAM 4
# define FSW_EXIT_ERROR 5
# define FSW_EXIT_ENFILE 6
# define FSW_EXIT_OPT 7
# define FSW_EXIT_MONITOR_NAME 8
# define FSW_EXIT_FORMAT 9
#endif /* FSW_H */
fswatch-1.11.2/fswatch/src/Makefile.am 000644 000765 000024 00000002226 13174733730 020151 0 ustar 00enrico staff 000000 000000 #
# Copyright (c) 2014-2015 Enrico M. Crisostomo
#
# 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 3, 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 .
#
AUTOMAKE_OPTIONS = std-options
bin_PROGRAMS = fswatch
fswatch_SOURCES = fswatch.hpp fswatch.cpp
fswatch_SOURCES += gettext.h
# Set include path for libfswatch
AM_CPPFLAGS = -I$(top_srcdir)/libfswatch/src
# Prepare gettext-related symbols used by programs
AM_CPPFLAGS += -DLOCALEDIR=\"$(localedir)\"
# Link fswatch against dependent libraries
fswatch_LDADD = $(top_builddir)/libfswatch/src/libfswatch/libfswatch.la
# Link fswatch against libintl if gettext is being used
fswatch_LDADD += @LTLIBINTL@
fswatch-1.11.2/fswatch/src/fswatch.cpp 000644 000765 000024 00000056477 13174733730 020301 0 ustar 00enrico staff 000000 000000 /*
* Copyright (c) 2014-2017 Enrico M. Crisostomo
*
* 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 3, 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 .
*/
#ifdef HAVE_CONFIG_H
# include "libfswatch_config.h"
#endif
#include "gettext.h"
#include "fswatch.hpp"
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include