Imported Upstream version 2.2

parent 34216d7b
This source diff could not be displayed because it is too large. You can view the blob instead.
Installation Instructions
*************************
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
......@@ -226,6 +226,11 @@ order to use an ANSI C compiler:
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 `<wchar.h>' header file. The option `-nodtk' can be used as
a workaround. If GNU CC is not installed, it is therefore recommended
......
# This file is part of GNU Dico
# Copyright (C) 1998, 1999, 2000, 2008, 2009, 2010 Sergey Poznyakoff
# Copyright (C) 1998-2000, 2008-2010, 2012 Sergey Poznyakoff
#
# GNU Dico is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -14,9 +14,24 @@
# You should have received a copy of the GNU General Public License
# along with GNU Dico. If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4 -I am -I gint
ACLOCAL_AMFLAGS = -I m4 -I am -I grecs/am -I gint -I imprimatur
SUBDIRS=include utils gint gnu lib libltdl dicod modules dico tests doc po
SUBDIRS=\
include\
utils\
examples\
gint\
gnu\
grecs\
lib\
libltdl\
dicod\
modules\
dico\
scripts\
imprimatur\
doc\
po
#FIXME: add these when ready: makedict client fonts
EXTRA_DIST = ChangeLog.2008
......@@ -25,34 +40,13 @@ dist-hook:
tar -C $(srcdir) -c -f - --exclude-vcs app dicoweb | \
tar -C $(distdir) -x -f -
# Define the following variables in order to use the ChangeLog rule below:
# prev_change_log [optional] Name of the previous ChangeLog file.
# gen_start_date [optional] Start ChangeLog from this date.
# changelog_dir [mandatory] Directory where to create ChangeLog
gen_start_date =
prev_change_log =
changelog_dir = .
# Start Git ChangeLog from this date.
gen_start_date = 2008-05-05
.PHONY: ChangeLog
ChangeLog:
ChangeLog:
$(AM_V_GEN)if test -d .git; then \
cmd=$(top_srcdir)/build-aux/gitlog-to-changelog; \
if test -n "$(gen_start_date)"; then \
cmd="$$cmd --since=\"$(gen_start_date)\""; \
fi; \
$$cmd --format='%s%n%n%b%n' | \
sed '/<unknown>$$/d' | fmt -s > $(changelog_dir)/cl-t; \
if test -n "$(prev_change_log)" && test -f "$(prev_change_log)"; \
then \
echo "" >> $(changelog_dir)/cl-t; \
cat "$(prev_change_log)" | \
sed '/^Local Variables:/,/^End:/d' >> $(changelog_dir)/cl-t; \
fi; \
echo "Local Variables:" >> $(changelog_dir)/cl-t; \
echo "mode: change-log" >> $(changelog_dir)/cl-t; \
echo "version-control: never" >> $(changelog_dir)/cl-t; \
echo "buffer-read-only: t" >> $(changelog_dir)/cl-t; \
echo "End:" >> $(changelog_dir)/cl-t; \
rm -f $(changelog_dir)/ChangeLog; \
mv $(changelog_dir)/cl-t $(changelog_dir)/ChangeLog; \
fi
git log --pretty='format:%ct %an <%ae>%n%n%s%n%n%b%n' | \
awk -f $(top_srcdir)/@GRECS_SUBDIR@/build-aux/git2chg.awk \
-vsince=$(gen_start_date) > ChangeLog; \
fi
This diff is collapsed.
GNU Dico NEWS -- history of user-visible changes. 2010-07-07
Copyright (C) 2008, 2009, 2010 Sergey Poznyakoff
GNU Dico NEWS -- history of user-visible changes. 2012-03-04
Copyright (C) 2008-2010, 2012 Sergey Poznyakoff
See the end of file for copying conditions.
Please send Dico bug reports to <bug-dico@gnu.org.ua>
Version 2.2, 2012-03-04
* Configuration changes
** load-module
The load-module form allows for a statement use, e.g.:
load-module word;
The above statement is equivalent to:
load-module word {
command "word";
}
Either string or list of strings is accepted as argument. The latter
is useful for loading several modules with a single statement, e.g.:
load-module (stratall,substr,word);
* New modules
** gcide
This module provides support for GNU Collaborative International
Dictionary of English.
** wordnet
This module provides support for WordNet, a lexical database for the
English language developed in the Princeton University and distributed
under a BSD style license.
** word
This module provides the following strategies:
word "Match separate words within headwords"
first "Match the first word within headwords"
last "Match the last word within headwords"
** nprefix
Provides the nprefix strategy. It is similar to prefix but returns the
specified range of matches. For example
MATCH <dict> nprefix <skip>#<count>#<string>
returns at most <count> headwords whose prefix matches <string>,
skipping first <skip> unique matches.
** pcre
Provides matching strategy based on Perl regular expressions.
** pam
Implements PAM authentication.
* New utility: gcider
"Gcider" is a window-based application for browsing the GNU
Collaborative International Dictionary of English (see
http://www.gnu.org/software/gcide).
Version 2.1, 2010-07-07
* Normalize exit codes.
......
GNU Dico README
Copyright (C) 2008, 2009, 2010 Sergey Poznyakoff
Copyright (C) 2008-2010, 2012 Sergey Poznyakoff
* Introduction
==============
......@@ -7,11 +7,11 @@ Copyright (C) 2008, 2009, 2010 Sergey Poznyakoff
This file contains brief information about configuring, testing
and running GNU Dico. It is *not* intended as a replacement
for the documentation, but is provided as a brief reference only.
The (almost) complete documentation for Dico is available in
doc/ subdirectory. To read it without installing the package
run `info -f doc/dico.info'. After the package is installed
the documentation can be accessed running `info Dico'. Invoking
`info dico' and `info dicod' (with a lower-case `d') will show you a
The complete documentation for Dico is available in doc/
subdirectory. To read it without installing the package run
`info -f doc/dico.info'. After the package is installed the
documentation can be accessed running `info Dico'. Invoking
`info dico' and `info dicod' (with a lower-case `d') will show you a
concise description of the command line syntax (similar to a man-page
style) of `dico' and `dicod' programs, correspondingly.
......@@ -28,8 +28,7 @@ searches are performed by functions supplied in loadable modules. A
single module can handle any number of database instances.
The package includes several modules for searching in different
dictionary databases, among them a module for dict.org databases and a
module for databases in Emacs "outline" format.
dictionary databases, such as dict.org, WordNet and others.
The server can be configured to handle both anonymous and authorized
access. It supports a wide variety of authentication algorithms.
......@@ -55,6 +54,18 @@ The package comes with the following modules:
- dictorg
This module handles databases in dict.org format.
- outline
Support for databases in Emacs outline format. This module is
designed mostly as an example and for testing purposes.
- gcide
GNUCIDE dictionary support.
- wordnet
WordNet support. WordNet is a lexical database for the English
language, created and maintained at the Cognitive Science Laboratory
of Princeton University.
- guile
An abstract layer for interfacing with database modules written in
Guile.
......@@ -63,10 +74,6 @@ The package comes with the following modules:
An abstract layer for interfacing with database modules written in
Python.
- outline
Support for databases in Emacs outline format. This module is
designed mostly as an example and for testing purposes.
- substr
Defines the "substr" lookup strategy, which matches a supplied
substring anywhere in the headword.
......@@ -75,8 +82,18 @@ The package comes with the following modules:
Defines a special lookup strategy, named "all", which returns all
headwords from the database.
- word
Defines the "word" lookup strategy, which matches a supplied
word anywhere in the headword.
- pcre
Defines a strategy for using Perl-compatible regular expressions.
- ldap
Brings support for LDAP user databases.
- pam
Implements PAM authentication.
* Building
==========
......@@ -137,6 +154,19 @@ its use if its version number is high enough.
If you do not wish to use Guile, use `--without-guile' to disable it.
** WordNet database
-------------------
If you plan to use WordNet database, you will most probably need the
`--with-wordnet' option to inform the script about the location where
WordNet libraries and headers can be found. For example, the command
./configure --with-wordnet=/usr/local/WordNet-3.0
instructs the script to look for WordNet library files in
/usr/local/WordNet-3.0/lib and for include files in
/usr/local/WordNet-3.0/include.
** Other Configure Settings
----------------------------
......@@ -154,7 +184,7 @@ Send bug reports to <bug-dico@gnu.org>.
* Copyright information:
Copyright (C) 2008, 2009, 2010 Sergey Poznyakoff
Copyright (C) 2008-2010, 2012 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
......
......@@ -4,6 +4,7 @@ Many people further contributed to GNU Dico by reporting problems,
suggesting various improvements or submitting actual code. Here is a list
of these people. Help us keep it complete and exempt of errors.
Goran Tal <goran.tal@gmail.com>
Karl Berry <karl@freefriends.org>
Marc Dequènes <duck@duckcorp.org>
Wojciech Polak <polak@gnu.org>
Dico TODO list.
* Streams
Drop stream functions from lib and import the stream library from Mailutils.
It sprang off from Dico a couple of years ago and evolved into a pretty
mature system.
* Documentation.
** Add a pointer to ellinika.gnu.org.ua:dict.
......
......@@ -108,6 +108,46 @@ AC_PREREQ([2.50])dnl
am_aux_dir=`cd $ac_aux_dir && pwd`
])
# AM_COND_IF -*- Autoconf -*-
# Copyright (C) 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 1
# _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 matching 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 _AM_COND_VALUE_$1; then
m4_default([$2], [:])
m4_ifval([$3],
[_AM_COND_ELSE([$1])dnl
else
$3
])dnl
_AM_COND_ENDIF([$1])dnl
fi[]dnl
])
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
......@@ -1026,14 +1066,19 @@ AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
m4_include([imprimatur/imprimatur.m4])
m4_include([gint/gint.m4])
m4_include([gint/guile.m4])
m4_include([grecs/am/grecs.m4])
m4_include([am/gsasl.m4])
m4_include([am/lib.m4])
m4_include([am/testdir.m4])
m4_include([m4/00gnulib.m4])
m4_include([m4/alloca.m4])
m4_include([m4/argz.m4])
m4_include([m4/btowc.m4])
m4_include([m4/codeset.m4])
m4_include([m4/configmake.m4])
m4_include([m4/des.m4])
m4_include([m4/errno_h.m4])
m4_include([m4/extensions.m4])
......@@ -1079,14 +1124,15 @@ m4_include([m4/ltsugar.m4])
m4_include([m4/ltversion.m4])
m4_include([m4/lt~obsolete.m4])
m4_include([m4/malloc.m4])
m4_include([m4/mbrlen.m4])
m4_include([m4/mbrtowc.m4])
m4_include([m4/mbsinit.m4])
m4_include([m4/mbstate_t.m4])
m4_include([m4/mbtowc.m4])
m4_include([m4/md5.m4])
m4_include([m4/memchr.m4])
m4_include([m4/mmap-anon.m4])
m4_include([m4/multiarch.m4])
m4_include([m4/netdb_h.m4])
m4_include([m4/nl_langinfo.m4])
m4_include([m4/nls.m4])
m4_include([m4/po.m4])
......@@ -1099,7 +1145,9 @@ m4_include([m4/regex.m4])
m4_include([m4/sha1.m4])
m4_include([m4/size_max.m4])
m4_include([m4/snprintf.m4])
m4_include([m4/socketlib.m4])
m4_include([m4/sockets.m4])
m4_include([m4/socklen.m4])
m4_include([m4/ssize_t.m4])
m4_include([m4/stdbool.m4])
m4_include([m4/stddef_h.m4])
......
dnl This file is part of GNU mailutils.
dnl Copyright (C) 2003, 2007, 2008 Free Software Foundation, Inc.
dnl Copyright (C) 2003, 2007-2008, 2012 Free Software Foundation, Inc.
dnl
dnl GNU Mailutils is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
......