summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2008-12-15 14:11:11 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2008-12-15 14:11:11 +0000
commitf0f274baeff2aebab6f5480c1675087a7ee86923 (patch)
tree43daea5cb646dda39c9f1732dd650dcfcaa4c910
parent1b75b2958cd9deaa3ebc71f61245459f769ab8a1 (diff)
downloadlibrcd-f0f274baeff2aebab6f5480c1675087a7ee86923.tar.gz
librcd-f0f274baeff2aebab6f5480c1675087a7ee86923.tar.bz2
librcd-f0f274baeff2aebab6f5480c1675087a7ee86923.tar.xz
librcd-f0f274baeff2aebab6f5480c1675087a7ee86923.zip
GPL disclaimers are added to all source files
-rw-r--r--README10
-rw-r--r--VERSION2
-rwxr-xr-xautogen.sh2
-rw-r--r--examples/example.c19
-rwxr-xr-xrelease5
-rw-r--r--src/librcd.c20
-rw-r--r--src/librcd.h19
-rw-r--r--statgen/ascii.c19
-rw-r--r--statgen/debug.c19
-rw-r--r--statgen/generate.c19
-rw-r--r--statgen/test.c19
-rw-r--r--statgen/upper.c19
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 <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>
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 <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>