From f0f274baeff2aebab6f5480c1675087a7ee86923 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 15 Dec 2008 14:11:11 +0000 Subject: GPL disclaimers are added to all source files --- README | 10 +++++++++- VERSION | 2 +- autogen.sh | 2 +- examples/example.c | 19 +++++++++++++++++++ release | 5 +++-- src/librcd.c | 20 ++++++++++++++++++++ src/librcd.h | 19 +++++++++++++++++++ statgen/ascii.c | 19 +++++++++++++++++++ statgen/debug.c | 19 +++++++++++++++++++ statgen/generate.c | 19 +++++++++++++++++++ statgen/test.c | 19 +++++++++++++++++++ statgen/upper.c | 19 +++++++++++++++++++ 12 files changed, 167 insertions(+), 5 deletions(-) diff --git a/README b/README index 1996700..77736a5 100644 --- a/README +++ b/README @@ -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. diff --git a/VERSION b/VERSION index 20f4951..0e24a92 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.11 +0.1.12 diff --git a/autogen.sh b/autogen.sh index 82a102f..e82459e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 + + 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 #include #include diff --git a/release b/release index 3be6013..8034297 100755 --- a/release +++ b/release @@ -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 + + 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 +#include #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 + + 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 + + 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 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 + + 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 #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 + + 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 #include #include 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 + + 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 #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 + + 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 #include #include -- cgit v1.2.3