From b2d38f17e56bf3b391fe20b77532df23e5721413 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Thu, 12 Aug 2010 16:20:23 +0000 Subject: Add copyright notes to python files --- diff --git a/NEWS b/NEWS index 905f5b5..47a1803 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +17 + +* Get rid of "smart" bundles(for ASLO).. and look ahead for smart packaging system +* Add copyright notes to python files + 16 * Fix launching under rainbow diff --git a/activity/activity.info b/activity/activity.info index 4fdac89..3bdfdeb 100644 --- a/activity/activity.info +++ b/activity/activity.info @@ -7,16 +7,21 @@ description = Speak is a talking face for the XO laptop. Anything you type will adjust the accent, rate and pitch of the voice as well as the shape of the eyes and mouth. This is a great way to experiment with the speech synthesizer, - learn to type or just have fun making a funny face for your XO. -icon = activity-speak.svg -license = GPLv3+ + learn to type or just have fun making a funny face for your XO. +icon = activity/activity-speak.svg homepage = http://wiki.sugarlabs.org/go/Activities/Speak -requires = polyol/python; gst-plugins-espeak -exec = sugar-activity activity.SpeakActivity -version = 16 +license = GPLv3+ + +version = 17 stability = testing +requires = gst-plugins-espeak; pyaiml +exec = sugar-activity activity.SpeakActivity + # deprecated icon = activity-speak bundle_id = vu.lux.olpc.Speak -activity_version = 16 +activity_version = 17 + +[Source] +exclude = MANIFEST; locale/**; aiml/** diff --git a/bot/aiml/AimlParser.py b/aiml/AimlParser.py index 75c2cf1..75c2cf1 100644 --- a/bot/aiml/AimlParser.py +++ b/aiml/AimlParser.py diff --git a/bot/aiml/DefaultSubs.py b/aiml/DefaultSubs.py index 5166cf6..5166cf6 100644 --- a/bot/aiml/DefaultSubs.py +++ b/aiml/DefaultSubs.py diff --git a/bot/aiml/Kernel.py b/aiml/Kernel.py index 1014ade..1014ade 100644 --- a/bot/aiml/Kernel.py +++ b/aiml/Kernel.py diff --git a/bot/aiml/PatternMgr.py b/aiml/PatternMgr.py index 21b73f1..21b73f1 100644 --- a/bot/aiml/PatternMgr.py +++ b/aiml/PatternMgr.py diff --git a/bot/PyAIML-0.8.5/CHANGES.txt b/aiml/PyAIML-0.8.5/CHANGES.txt index 9d4b0d5..9d4b0d5 100644 --- a/bot/PyAIML-0.8.5/CHANGES.txt +++ b/aiml/PyAIML-0.8.5/CHANGES.txt diff --git a/bot/PyAIML-0.8.5/README.txt b/aiml/PyAIML-0.8.5/README.txt index 82a7f8b..82a7f8b 100644 --- a/bot/PyAIML-0.8.5/README.txt +++ b/aiml/PyAIML-0.8.5/README.txt diff --git a/bot/PyAIML-0.8.5/SUPPORTED_TAGS.txt b/aiml/PyAIML-0.8.5/SUPPORTED_TAGS.txt index bbbf708..bbbf708 100644 --- a/bot/PyAIML-0.8.5/SUPPORTED_TAGS.txt +++ b/aiml/PyAIML-0.8.5/SUPPORTED_TAGS.txt diff --git a/bot/PyAIML-0.8.5/TODO.txt b/aiml/PyAIML-0.8.5/TODO.txt index cd75a71..cd75a71 100644 --- a/bot/PyAIML-0.8.5/TODO.txt +++ b/aiml/PyAIML-0.8.5/TODO.txt diff --git a/bot/PyAIML-0.8.5/pkg-info b/aiml/PyAIML-0.8.5/pkg-info index 908caaa..908caaa 100644 --- a/bot/PyAIML-0.8.5/pkg-info +++ b/aiml/PyAIML-0.8.5/pkg-info diff --git a/bot/PyAIML-0.8.5/setup.cfg b/aiml/PyAIML-0.8.5/setup.cfg index 89ca66e..89ca66e 100644 --- a/bot/PyAIML-0.8.5/setup.cfg +++ b/aiml/PyAIML-0.8.5/setup.cfg diff --git a/bot/PyAIML-0.8.5/setup.py b/aiml/PyAIML-0.8.5/setup.py index 3cc058a..3cc058a 100755 --- a/bot/PyAIML-0.8.5/setup.py +++ b/aiml/PyAIML-0.8.5/setup.py diff --git a/bot/aiml/Utils.py b/aiml/Utils.py index 75e5a1c..75e5a1c 100644 --- a/bot/aiml/Utils.py +++ b/aiml/Utils.py diff --git a/bot/aiml/WordSub.py b/aiml/WordSub.py index 9cae856..9cae856 100644 --- a/bot/aiml/WordSub.py +++ b/aiml/WordSub.py diff --git a/bot/aiml/__init__.py b/aiml/__init__.py index 75e188d..75e188d 100644 --- a/bot/aiml/__init__.py +++ b/aiml/__init__.py diff --git a/bot/aiml/self-test.aiml b/aiml/self-test.aiml index 8ad0ee1..8ad0ee1 100644 --- a/bot/aiml/self-test.aiml +++ b/aiml/self-test.aiml diff --git a/bot/__init__.py b/bot/__init__.py index e69de29..d2d59c7 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -0,0 +1,14 @@ +# Copyright (C) 2008 Sebastian Silva Fundacion FuenteLibre sebastian@fuentelibre.org +# +# HablarConSara.activity 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. +# +# HablarConSara.activity 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 HablarConSara.activity. If not, see . diff --git a/bot/gen_brains.py b/bot/gen_brains.py index 9d6f17e..12bee12 100755 --- a/bot/gen_brains.py +++ b/bot/gen_brains.py @@ -1,4 +1,21 @@ #!/usr/bin/env python + +# Copyright (C) 2008 Sebastian Silva Fundacion FuenteLibre sebastian@fuentelibre.org +# +# HablarConSara.activity 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. +# +# HablarConSara.activity 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 HablarConSara.activity. If not, see . + +# A simple hack to attach a chatterbot to speak activity #coding=utf-8 import aiml diff --git a/bot/test_brain.py b/bot/test_brain.py index 32dc9b0..2e5399d 100755 --- a/bot/test_brain.py +++ b/bot/test_brain.py @@ -1,4 +1,20 @@ #!/usr/bin/env python + +# Copyright (C) 2008 Sebastian Silva Fundacion FuenteLibre sebastian@fuentelibre.org +# +# HablarConSara.activity 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. +# +# HablarConSara.activity 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 HablarConSara.activity. If not, see . + #coding=utf-8 import aiml diff --git a/brain.py b/brain.py index 6f49638..2cbaa34 100644 --- a/brain.py +++ b/brain.py @@ -26,7 +26,7 @@ logger = logging.getLogger('speak') from toolkit.combobox import ComboBox -import bot.aiml +import aiml import voice BOTS = { @@ -87,7 +87,7 @@ def load(activity, voice, sorry=None): brain = BOTS[voice.friendlyname] logger.debug('Load bot: %s' % brain) - kernel = bot.aiml.Kernel() + kernel = aiml.Kernel() kernel.loadBrain(brain['brain']) for name, value in brain['predicates'].items(): kernel.setBotPredicate(name, value) diff --git a/chat.py b/chat.py index ddaa1af..fceda15 100644 --- a/chat.py +++ b/chat.py @@ -1,3 +1,5 @@ +# Copyright (C) 2009, Aleksey Lim +# # 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 2 of the License, or diff --git a/chatbox.py b/chatbox.py index f9fb2fd..8ebb563 100644 --- a/chatbox.py +++ b/chatbox.py @@ -1,3 +1,5 @@ +# Copyright (C) 2009, Aleksey Lim +# # 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 2 of the License, or diff --git a/espeak.py b/espeak.py index 389045d..3843c79 100644 --- a/espeak.py +++ b/espeak.py @@ -1,3 +1,5 @@ +# Copyright (C) 2009, Aleksey Lim +# # 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 2 of the License, or diff --git a/espeak_cmd.py b/espeak_cmd.py index 682bfcd..8f7bb9f 100644 --- a/espeak_cmd.py +++ b/espeak_cmd.py @@ -1,3 +1,5 @@ +# Copyright (C) 2009, Aleksey Lim +# # 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 2 of the License, or diff --git a/espeak_gst.py b/espeak_gst.py index 59fe2c0..27f20ec 100644 --- a/espeak_gst.py +++ b/espeak_gst.py @@ -1,3 +1,5 @@ +# Copyright (C) 2009, Aleksey Lim +# # 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 2 of the License, or diff --git a/messenger.py b/messenger.py index 427716c..14151e5 100644 --- a/messenger.py +++ b/messenger.py @@ -1,3 +1,5 @@ +# Copyright (C) 2009, Aleksey Lim +# # 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 2 of the License, or -- cgit v0.9.1