summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-06-01 12:49:48 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-06-03 17:08:13 +0200
commit725fef636f9a5e5407f097828a5ca5926a225c12 (patch)
tree2d2fbc03496218f637ec205e150548eec6766ef9
parentc7a207905f963134a89f401565f286b3ae2ca830 (diff)
downloadjson-dbus-bridge-725fef636f9a5e5407f097828a5ca5926a225c12.tar.gz
json-dbus-bridge-725fef636f9a5e5407f097828a5ca5926a225c12.tar.xz
[demo] change licence for demo code to CO0
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xdemo/dbus-python-service.py16
-rw-r--r--demo/dbus-simple-service/dbus-simple-service.c16
-rw-r--r--demo/dbus-simple-service/systeminfo_skel.c16
-rw-r--r--demo/dbus-simple-service/systeminfo_skel.h16
-rwxr-xr-xdemo/run.sh.in8
-rwxr-xr-xdemo/simple-test.sh8
6 files changed, 28 insertions, 52 deletions
diff --git a/demo/dbus-python-service.py b/demo/dbus-python-service.py
index 2fb0387..7c7d556 100755
--- a/demo/dbus-python-service.py
+++ b/demo/dbus-python-service.py
@@ -2,20 +2,10 @@
#
# json dbus bridge
#
-# Copyright (c) 2009 by Michael Olbrich <m.olbrich@pengutronix.de>
+# Copyright (c) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# To the extent possible under law, Pengutronix e.K. has waived all copyright
+# and related or neighboring rights to JSON-DBus-Bridge Demo Code.
#
import gobject
diff --git a/demo/dbus-simple-service/dbus-simple-service.c b/demo/dbus-simple-service/dbus-simple-service.c
index de28dcc..8899c03 100644
--- a/demo/dbus-simple-service/dbus-simple-service.c
+++ b/demo/dbus-simple-service/dbus-simple-service.c
@@ -1,20 +1,10 @@
/*
* json dbus bridge
*
- * Copyright (c) 2009 by Michael Olbrich <m.olbrich@pengutronix.de>
+ * Copyright (c) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * To the extent possible under law, Pengutronix e.K. has waived all copyright
+ * and related or neighboring rights to JSON-DBus-Bridge Demo Code.
*/
#include <stdlib.h>
diff --git a/demo/dbus-simple-service/systeminfo_skel.c b/demo/dbus-simple-service/systeminfo_skel.c
index 36666b3..82dbc85 100644
--- a/demo/dbus-simple-service/systeminfo_skel.c
+++ b/demo/dbus-simple-service/systeminfo_skel.c
@@ -1,20 +1,10 @@
/*
* json dbus bridge
*
- * Copyright (c) 2009 by Michael Olbrich <m.olbrich@pengutronix.de>
+ * Copyright (c) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * To the extent possible under law, Pengutronix e.K. has waived all copyright
+ * and related or neighboring rights to JSON-DBus-Bridge Demo Code.
*/
#include <errno.h>
diff --git a/demo/dbus-simple-service/systeminfo_skel.h b/demo/dbus-simple-service/systeminfo_skel.h
index 3b9fbc4..9d6b7e0 100644
--- a/demo/dbus-simple-service/systeminfo_skel.h
+++ b/demo/dbus-simple-service/systeminfo_skel.h
@@ -1,20 +1,10 @@
/*
* json dbus bridge
*
- * Copyright (c) 2009 by Michael Olbrich <m.olbrich@pengutronix.de>
+ * Copyright (c) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * To the extent possible under law, Pengutronix e.K. has waived all copyright
+ * and related or neighboring rights to JSON-DBus-Bridge Demo Code.
*/
#ifndef _SYSTEMINFO_SKEL_H_
diff --git a/demo/run.sh.in b/demo/run.sh.in
index e0b6526..95de1ae 100755
--- a/demo/run.sh.in
+++ b/demo/run.sh.in
@@ -1,4 +1,12 @@
#!/bin/sh
+#
+# json dbus bridge
+#
+# Copyright (c) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# To the extent possible under law, Pengutronix e.K. has waived all copyright
+# and related or neighboring rights to JSON-DBus-Bridge Demo Code.
+#
finish() {
kill $simple_service_pid
diff --git a/demo/simple-test.sh b/demo/simple-test.sh
index 00b8aef..4e80026 100755
--- a/demo/simple-test.sh
+++ b/demo/simple-test.sh
@@ -1,4 +1,12 @@
#!/bin/sh
+#
+# json dbus bridge
+#
+# Copyright (c) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# To the extent possible under law, Pengutronix e.K. has waived all copyright
+# and related or neighboring rights to JSON-DBus-Bridge Demo Code.
+#
url="http://localhost:8080/rpc"
data='{"service":"com.pengutronix.jdb.simpleinfo|/","method":"com.pengutronix.jdb.SystemInfo.Ping","id":0,"params":["s", "foo"]}'