summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2010-03-29 15:24:59 +0100
committerMartyn Russell <martyn@lanedo.com>2010-03-29 15:24:59 +0100
commit74f3226bdbb78d8fadd914b7d1eef885cd0b0e21 (patch)
treeb8c099087bb512c5bf7e71a495ac8bea32d35b9f /utils
parent0a4e17cce38e0f26b0d64aad960306d24e7fa9bd (diff)
downloadtracker-74f3226bdbb78d8fadd914b7d1eef885cd0b0e21.tar.gz
Fixed license issues found with Debian licensecheck.pl script
Found here: http://git.debian.org/?p=devscripts/devscripts.git;a=blob;f=scripts/licensecheck.pl;h=62e9fbe94d7b63c671e4239f790b18edd2dfaa6c;hb=HEAD
Diffstat (limited to 'utils')
-rw-r--r--utils/data-generators/atom2ttl.py21
-rwxr-xr-xutils/data-generators/barnum/gen_data.py36
-rwxr-xr-xutils/data-generators/barnum/gen_vcard.py18
-rwxr-xr-xutils/data-generators/barnum/gencc.py41
-rwxr-xr-xutils/data-generators/barnum/genpw.py31
-rwxr-xr-xutils/data-generators/generate-all-and-import.sh22
-rwxr-xr-xutils/data-generators/generate-all.sh21
-rwxr-xr-xutils/data-generators/generate-data-for-bookmarks.py19
-rwxr-xr-xutils/data-generators/generate-data-for-contact-messages.py18
-rwxr-xr-xutils/data-generators/generate-data-for-gossip.py19
-rwxr-xr-xutils/data-generators/generate-data-for-music.py18
-rwxr-xr-xutils/data-generators/generate-data-for-webhistory.py19
-rwxr-xr-xutils/data-generators/generate-name.py21
-rw-r--r--utils/data-generators/get-fresh-planets.sh19
-rw-r--r--utils/data-generators/id32nmmTurtle.py29
-rwxr-xr-xutils/data-generators/id32ttl.py29
-rw-r--r--utils/data-generators/internals/tools.py19
-rwxr-xr-xutils/lyrics/lyrics.py19
-rw-r--r--utils/playlists/playlist2ttl.c19
-rw-r--r--utils/services/data-validator.c19
-rw-r--r--utils/services/ontology-validator.c19
-rw-r--r--utils/services/qname-test.c20
-rw-r--r--utils/services/service2rdf-xml.py19
-rw-r--r--utils/services/service2xml.py19
-rw-r--r--utils/services/ttl2graphviz.c19
-rw-r--r--utils/services/ttl_graphviz.c19
-rw-r--r--utils/services/ttl_graphviz.h19
-rw-r--r--utils/webhistory/epiphany-history-to-ttl.py19
28 files changed, 518 insertions, 92 deletions
diff --git a/utils/data-generators/atom2ttl.py b/utils/data-generators/atom2ttl.py
index 6bd8b0807..ee1adbb2c 100644
--- a/utils/data-generators/atom2ttl.py
+++ b/utils/data-generators/atom2ttl.py
@@ -1,10 +1,27 @@
#!/usr/bin/env python2.5
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import feedparser
import re, sys
from internals.tools import print_namespaces, print_property
-
-
def get_self_link (d):
rel_link = filter (lambda e: "rel" in e and e["rel"] == "self", d.feed.links)
if (rel_link and len (rel_link)):
diff --git a/utils/data-generators/barnum/gen_data.py b/utils/data-generators/barnum/gen_data.py
index 333ecd60a..bff03d9d4 100755
--- a/utils/data-generators/barnum/gen_data.py
+++ b/utils/data-generators/barnum/gen_data.py
@@ -1,21 +1,23 @@
#!/usr/bin/python2.5
-"""
-Barnum is a python-based test data generator.
-Copyright (C) 2007 Chris Moffitt
-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
-(at your option) any later version.
-
-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.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-"""
+#
+# Barnum is a python-based test data generator.
+# Copyright (C) 2007, Chris Moffitt
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
import cPickle as pickle
import random
diff --git a/utils/data-generators/barnum/gen_vcard.py b/utils/data-generators/barnum/gen_vcard.py
index b666629b1..ef68e219b 100755
--- a/utils/data-generators/barnum/gen_vcard.py
+++ b/utils/data-generators/barnum/gen_vcard.py
@@ -1,4 +1,22 @@
#! /usr/bin/python
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
import sys, random
import gen_data
diff --git a/utils/data-generators/barnum/gencc.py b/utils/data-generators/barnum/gencc.py
index 37db52b10..24d9e97dd 100755
--- a/utils/data-generators/barnum/gencc.py
+++ b/utils/data-generators/barnum/gencc.py
@@ -1,26 +1,23 @@
#!/usr/bin/python
-
-"""
-gencc: A simple program to generate credit card numbers that pass the MOD 10 check
-(Luhn formula).
-Usefull for testing e-commerce sites during development.
-
-Copyright 2003 Graham King
-
-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
-(at your option) any later version.
-
-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
-"""
+#
+# Credit card numer generator using MOD10 check (Luhn formula)
+# Copyright (C) 2003, Graham King
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
import random
import sys
diff --git a/utils/data-generators/barnum/genpw.py b/utils/data-generators/barnum/genpw.py
index f5cb8b831..4534033ef 100755
--- a/utils/data-generators/barnum/genpw.py
+++ b/utils/data-generators/barnum/genpw.py
@@ -1,16 +1,23 @@
#!/usr/bin/python2.5
-## Generate a human readable 'random' password
-## password will be generated in the form 'word'+digits+'word'
-## eg.,nice137pass
-## parameters: number of 'characters' , number of 'digits'
-## Pradeep Kishore Gowda <pradeep at btbytes.com >
-## License : GPL
-## Date : 2005.April.15
-## Revision 1.2
-## ChangeLog:
-## 1.1 - fixed typos
-## 1.2 - renamed functions _apart & _npart to a_part & n_part as zope does not allow functions to
-## start with _
+#
+# Random password generator in the form of 'word'+digits+'word'
+# Copyright (C) 2005, Pradeep Kishore Gowda <pradeep at btbytes.com>
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
def nicepass(alpha=6,numeric=2):
"""
diff --git a/utils/data-generators/generate-all-and-import.sh b/utils/data-generators/generate-all-and-import.sh
index 971e9936d..c708975a9 100755
--- a/utils/data-generators/generate-all-and-import.sh
+++ b/utils/data-generators/generate-all-and-import.sh
@@ -1,7 +1,23 @@
#!/bin/sh
-# generate and import all local .ttl files
-# takes as one parameter the number of entries that should be
-# generated in each category
+#
+# Generate & import all local .ttl files
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
./generate-all.sh $1
diff --git a/utils/data-generators/generate-all.sh b/utils/data-generators/generate-all.sh
index e03e45269..253a31622 100755
--- a/utils/data-generators/generate-all.sh
+++ b/utils/data-generators/generate-all.sh
@@ -1,6 +1,23 @@
#!/bin/sh
-# run all ttl generators
-# assumes a generator is prefixed by gen_ and is executable directly
+#
+# Run all ttl generators, assumes a generator is prefixed by gen_
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
if [ -z $1 ]
then
diff --git a/utils/data-generators/generate-data-for-bookmarks.py b/utils/data-generators/generate-data-for-bookmarks.py
index 39aafb6fe..71fe79cf6 100755
--- a/utils/data-generators/generate-data-for-bookmarks.py
+++ b/utils/data-generators/generate-data-for-bookmarks.py
@@ -1,4 +1,23 @@
#!/usr/bin/env python
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import random, sys
from internals.tools import print_namespaces, print_property, getPseudoRandomDate
diff --git a/utils/data-generators/generate-data-for-contact-messages.py b/utils/data-generators/generate-data-for-contact-messages.py
index d47ec2b7e..08be778cf 100755
--- a/utils/data-generators/generate-data-for-contact-messages.py
+++ b/utils/data-generators/generate-data-for-contact-messages.py
@@ -1,4 +1,22 @@
#! /usr/bin/python
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
import sys, random, datetime
import barnum.gen_data as gen_data
diff --git a/utils/data-generators/generate-data-for-gossip.py b/utils/data-generators/generate-data-for-gossip.py
index bfb487816..d4304d3cf 100755
--- a/utils/data-generators/generate-data-for-gossip.py
+++ b/utils/data-generators/generate-data-for-gossip.py
@@ -1,4 +1,23 @@
#!/usr/bin/env python
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import random, sys, os
import barnum.gen_data as gen_data
from internals.tools import print_property, get_random_uuid_uri, get_random_in_list
diff --git a/utils/data-generators/generate-data-for-music.py b/utils/data-generators/generate-data-for-music.py
index 94591e469..e29fd05dc 100755
--- a/utils/data-generators/generate-data-for-music.py
+++ b/utils/data-generators/generate-data-for-music.py
@@ -1,4 +1,22 @@
#! /usr/bin/env python
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
import os
import sys
diff --git a/utils/data-generators/generate-data-for-webhistory.py b/utils/data-generators/generate-data-for-webhistory.py
index 0c51d4bcd..68cb3a673 100755
--- a/utils/data-generators/generate-data-for-webhistory.py
+++ b/utils/data-generators/generate-data-for-webhistory.py
@@ -1,4 +1,23 @@
#!/usr/bin/env python
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import random, sys
from internals.tools import print_namespaces, print_property
from internals.tools import getPseudoRandomDate, get_random_uuid_uri
diff --git a/utils/data-generators/generate-name.py b/utils/data-generators/generate-name.py
index 61450fc04..e25e1314e 100755
--- a/utils/data-generators/generate-name.py
+++ b/utils/data-generators/generate-name.py
@@ -1,8 +1,23 @@
#! /usr/bin/env python
-
+#
# Context-free grammar random name generator
-# Jeremy Thurgood <firxen@gmail.com>
-# Highly experimental at present, but sort of working
+# Copyright (C) 2009, Jeremy Thurgood <firxen@gmail.com>
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
import random
import re
diff --git a/utils/data-generators/get-fresh-planets.sh b/utils/data-generators/get-fresh-planets.sh
index 970bcc419..5a96ae857 100644
--- a/utils/data-generators/get-fresh-planets.sh
+++ b/utils/data-generators/get-fresh-planets.sh
@@ -1,3 +1,22 @@
#!/usr/bin/env sh
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
wget -O planet-maemo.atom http://maemo.org/news/planet-maemo/atom.xml
wget -O planet-gnome.atom http://planet.gnome.org/atom.xml
diff --git a/utils/data-generators/id32nmmTurtle.py b/utils/data-generators/id32nmmTurtle.py
index be0c210f5..3a6551e78 100644
--- a/utils/data-generators/id32nmmTurtle.py
+++ b/utils/data-generators/id32nmmTurtle.py
@@ -1,24 +1,23 @@
#!/usr/bin/python
-# -*- coding: utf-8 -*-
#
+# Copyright (C) 2007, Urho Konttori <urho.konttori@gmail.com>
#
-# Copyright (c) 2007 Urho Konttori <urho.konttori@gmail.com>
+# 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 (at your option) any later version.
#
-# 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 (at your option) any later version.
+# 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.
#
-# 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.
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
#
+
import os, datetime, time, internals.id3reader as id3reader
import sys, urllib, random
indexPath="/Volumes/OSX"
diff --git a/utils/data-generators/id32ttl.py b/utils/data-generators/id32ttl.py
index d1f342595..02158d6d8 100755
--- a/utils/data-generators/id32ttl.py
+++ b/utils/data-generators/id32ttl.py
@@ -1,24 +1,23 @@
#!/usr/bin/python
-# -*- coding: utf-8 -*-
#
+# Copyright (C) 2007, Urho Konttori <urho.konttori@gmail.com>
#
-# Copyright (c) 2007 Urho Konttori <urho.konttori@gmail.com>
+# 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 (at your option) any later version.
#
-# 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 (at your option) any later version.
+# 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.
#
-# 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.
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
#
+
import os, datetime, time, internals.id3reader as id3reader
import sys, urllib, random
indexPath="/Volumes/OSX"
diff --git a/utils/data-generators/internals/tools.py b/utils/data-generators/internals/tools.py
index 30f89f788..e9c86f657 100644
--- a/utils/data-generators/internals/tools.py
+++ b/utils/data-generators/internals/tools.py
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import datetime, sys
import random
diff --git a/utils/lyrics/lyrics.py b/utils/lyrics/lyrics.py
index 771812824..9c6bb0807 100755
--- a/utils/lyrics/lyrics.py
+++ b/utils/lyrics/lyrics.py
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2008, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import os
import urllib
import sys
diff --git a/utils/playlists/playlist2ttl.c b/utils/playlists/playlist2ttl.c
index 98f1af9e1..64418976f 100644
--- a/utils/playlists/playlist2ttl.c
+++ b/utils/playlists/playlist2ttl.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2009, Nokia
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
#include <glib.h>
#include <gio/gio.h>
#include <totem-pl-parser.h>
diff --git a/utils/services/data-validator.c b/utils/services/data-validator.c
index c77e45e7a..cb4630a28 100644
--- a/utils/services/data-validator.c
+++ b/utils/services/data-validator.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2009, Nokia
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
#include <glib.h>
#include <glib/gstdio.h>
#include <gio/gio.h>
diff --git a/utils/services/ontology-validator.c b/utils/services/ontology-validator.c
index 07866e315..3303bf480 100644
--- a/utils/services/ontology-validator.c
+++ b/utils/services/ontology-validator.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2009, Nokia
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
#include <glib.h>
#include <glib/gstdio.h>
#include <gio/gio.h>
diff --git a/utils/services/qname-test.c b/utils/services/qname-test.c
index 948dc3cfa..e307729f7 100644
--- a/utils/services/qname-test.c
+++ b/utils/services/qname-test.c
@@ -1,7 +1,25 @@
+/*
+ * Copyright (C) 2009, Nokia
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
#include <glib.h>
#include <qname.h>
-
static void
srcdir_qname_init (const gchar *luri, const gchar *lprefix)
{
diff --git a/utils/services/service2rdf-xml.py b/utils/services/service2rdf-xml.py
index 826efb120..3f9c88073 100644
--- a/utils/services/service2rdf-xml.py
+++ b/utils/services/service2rdf-xml.py
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import ConfigParser, os
import sys
import getopt
diff --git a/utils/services/service2xml.py b/utils/services/service2xml.py
index 1c7ada5a9..db16bf7b0 100644
--- a/utils/services/service2xml.py
+++ b/utils/services/service2xml.py
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import ConfigParser, os
import sys
diff --git a/utils/services/ttl2graphviz.c b/utils/services/ttl2graphviz.c
index 93b55e006..7a352dcfa 100644
--- a/utils/services/ttl2graphviz.c
+++ b/utils/services/ttl2graphviz.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2009, Nokia
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
#include <glib.h>
#include <gio/gio.h>
#include <string.h>
diff --git a/utils/services/ttl_graphviz.c b/utils/services/ttl_graphviz.c
index eba59d0d4..4016171cd 100644
--- a/utils/services/ttl_graphviz.c
+++ b/utils/services/ttl_graphviz.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2009, Nokia
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
#include "ttl_graphviz.h"
#include <glib.h>
#include <glib/gprintf.h>
diff --git a/utils/services/ttl_graphviz.h b/utils/services/ttl_graphviz.h
index 8d77d03c8..b873d292a 100644
--- a/utils/services/ttl_graphviz.h
+++ b/utils/services/ttl_graphviz.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2009, Nokia
+ *
+ * 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 (at your option) any later version.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+
#ifndef __TTL_GRAPHVIZ_H__
#define __TTL_GRAPHVIZ_H__
diff --git a/utils/webhistory/epiphany-history-to-ttl.py b/utils/webhistory/epiphany-history-to-ttl.py
index 0ca4a563c..fe8269682 100644
--- a/utils/webhistory/epiphany-history-to-ttl.py
+++ b/utils/webhistory/epiphany-history-to-ttl.py
@@ -1,3 +1,22 @@
+#
+# Copyright (C) 2009, Nokia
+#
+# 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 (at your option) any later version.
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+
import xml.dom.minidom
from xml.dom.minidom import Node
import time