[rygel] examples: Set license of GI examples to BSD
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] examples: Set license of GI examples to BSD
- Date: Sun, 28 Sep 2014 15:43:18 +0000 (UTC)
commit b39d0f8bd8ea5008c0127ae3865c8efe095ad9bb
Author: Jens Georg <mail jensge org>
Date: Sun Sep 28 17:40:09 2014 +0200
examples: Set license of GI examples to BSD
Signed-off-by: Jens Georg <mail jensge org>
examples/gi/example-renderer.py | 27 ++++++++++++++++++++++++++-
examples/gi/example-server.py | 26 ++++++++++++++++++++++++++
2 files changed, 52 insertions(+), 1 deletions(-)
---
diff --git a/examples/gi/example-renderer.py b/examples/gi/example-renderer.py
index 69036a9..6d97f91 100755
--- a/examples/gi/example-renderer.py
+++ b/examples/gi/example-renderer.py
@@ -1,4 +1,30 @@
#!/usr/bin/env python
+#
+# Copyright (c) 2014, Jens Georg <mail jensge org>
+#
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice, this
+# list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+# DAMAGE.
from gi.repository import RygelCore as rc
from gi.repository import RygelRenderer as rr
@@ -39,7 +65,6 @@ class ExamplePlayer(GObject.Object, rr.MediaPlayer):
def do_get_mime_types(self):
val = ["image/jpeg"]
- print ("Mime types: ", val)
return val, len(val)
# Property setters/getters
diff --git a/examples/gi/example-server.py b/examples/gi/example-server.py
index 86b28f9..54ae453 100755
--- a/examples/gi/example-server.py
+++ b/examples/gi/example-server.py
@@ -1,4 +1,30 @@
#!/usr/bin/env python
+#
+# Copyright (c) 2014, Jens Georg <mail jensge org>
+#
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice, this
+# list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+# DAMAGE.
from gi.repository import GObject
from gi.repository import RygelCore as rc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]