diff options
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | examples/example.c | 19 | ||||
-rwxr-xr-x | release | 5 | ||||
-rw-r--r-- | src/librcd.c | 20 | ||||
-rw-r--r-- | src/librcd.h | 19 | ||||
-rw-r--r-- | statgen/ascii.c | 19 | ||||
-rw-r--r-- | statgen/debug.c | 19 | ||||
-rw-r--r-- | statgen/generate.c | 19 | ||||
-rw-r--r-- | statgen/test.c | 19 | ||||
-rw-r--r-- | statgen/upper.c | 19 |
12 files changed, 167 insertions, 5 deletions
@@ -1 +1,9 @@ -Library for autodection charset of russian text
\ No newline at end of file +Library for autodection charset of russian text + +LibRCD is used by RusXMMS project for encoding auto-detection. It is optimized +to handle very short titles, like ID3 tags, file names and etc, and provides +very high accuracy even for short 3-4 letter words. Current version supports +Russian and Ukrainian languages and able to distinguish UTF-8, KOI8-R, CP1251, +CP866, ISO8859-1. If compared with Enca, LibRCC provides better detection +accuracy on short titles and is able to detect ISO8859-1 (non-cyrillic) +encoding what allows to properly display correct ID3 v.1 titles. @@ -1 +1 @@ -0.1.11 +0.1.12 @@ -8,7 +8,7 @@ KEYFILE=src/librcd.c # autoconf binary AUTOCONF=`which autoconf` -if test x"${AUTOCONF}" != x -a -f ${AUTOCONF} +if test x"${AUTOCONF}" != x -a -f "${AUTOCONF}" then AUTOCONF=autoconf AUTOMAKE=automake diff --git a/examples/example.c b/examples/example.c index 71f269b..d6e0847 100644 --- a/examples/example.c +++ b/examples/example.c @@ -1,3 +1,22 @@ +/* + LibRCD - Example application + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #include <stdio.h> #include <string.h> #include <librcd.h> @@ -36,13 +36,14 @@ cp -a * $RDIR/$rname cd $RDIR/$rname ./autogen.sh ./configure - make clean + make clean distclean distclean-am make clean -C examples make clean -C statgen rm -rf autom4te*.cache rm -rf "{arch}" rm -rf `find . -name .arch-ids` - rm -rf `find . -name .deps` +# rm -rf `find . -name .deps` +# rm -f config.log config.status rm -rf debian cd .. if [ -a $rname.tar.bz2 ]; then diff --git a/src/librcd.c b/src/librcd.c index b81d27f..60aebdc 100644 --- a/src/librcd.c +++ b/src/librcd.c @@ -1,4 +1,24 @@ +/* + LibRCD + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #include <stdio.h> +#include <string.h> #include "../config.h" diff --git a/src/librcd.h b/src/librcd.h index 918d8c0..5dc4ce4 100644 --- a/src/librcd.h +++ b/src/librcd.h @@ -1,3 +1,22 @@ +/* + LibRCD - Public Interface + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #ifndef _LIBRCD_H #define _LIBRCD_H diff --git a/statgen/ascii.c b/statgen/ascii.c index 73dd6e4..7bb572e 100644 --- a/statgen/ascii.c +++ b/statgen/ascii.c @@ -1,3 +1,22 @@ +/* + LibRCD tools - ASCII table + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #include <stdio.h> main() { diff --git a/statgen/debug.c b/statgen/debug.c index 72bd0b1..4b87ec6 100644 --- a/statgen/debug.c +++ b/statgen/debug.c @@ -1,3 +1,22 @@ +/* + LibRCD tools - Debugging information + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #include <stdio.h> #define _AUTO_DEBUG #include "librcd.tmp.c" diff --git a/statgen/generate.c b/statgen/generate.c index 838c0a7..eb0f0bc 100644 --- a/statgen/generate.c +++ b/statgen/generate.c @@ -1,3 +1,22 @@ +/* + LibRCD - Statistic generator + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #include <stdio.h> #include <unistd.h> #include <ctype.h> diff --git a/statgen/test.c b/statgen/test.c index 46d4951..0c3d506 100644 --- a/statgen/test.c +++ b/statgen/test.c @@ -1,3 +1,22 @@ +/* + LibRCD tools - test utility + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #include <stdio.h> #include "librcd.tmp.c" diff --git a/statgen/upper.c b/statgen/upper.c index be1a01c..e7c6ed6 100644 --- a/statgen/upper.c +++ b/statgen/upper.c @@ -1,3 +1,22 @@ +/* + LibRCD tools - change a case of words in text files + + Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> + + This program is free software; you can redistribute it and/or modify it + under the terms of version 2 of the GNU General Public License as published + by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. +*/ + #include <stdio.h> #include <unistd.h> #include <ctype.h> |