From 9e9535b45c1a09a4c86e03d1c0250d7d8703dc08 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Fri, 15 Apr 2011 08:33:30 -0400 Subject: [PATCH] gdbus-codegen: Add copyright / license headers Signed-off-by: David Zeuthen --- gio/gdbus-codegen/__init__.py | 1 - gio/gdbus-codegen/codegen.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/codegen_docbook.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/codegen_main.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/config.py.in | 21 +++++++++++++++++++++ gio/gdbus-codegen/dbustypes.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/gdbus-codegen.in | 22 ++++++++++++++++++++++ gio/gdbus-codegen/parser.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/utils.py | 21 +++++++++++++++++++++ 9 files changed, 169 insertions(+), 1 deletion(-) diff --git a/gio/gdbus-codegen/__init__.py b/gio/gdbus-codegen/__init__.py index 8b13789..e69de29 100644 --- a/gio/gdbus-codegen/__init__.py +++ b/gio/gdbus-codegen/__init__.py @@ -1 +0,0 @@ - diff --git a/gio/gdbus-codegen/codegen.py b/gio/gdbus-codegen/codegen.py index e9bb95d..c0811dc 100644 --- a/gio/gdbus-codegen/codegen.py +++ b/gio/gdbus-codegen/codegen.py @@ -1,5 +1,26 @@ # -*- Mode: Python -*- +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + import sys import argparse import distutils.version diff --git a/gio/gdbus-codegen/codegen_docbook.py b/gio/gdbus-codegen/codegen_docbook.py index 0babb20..dd5442c 100644 --- a/gio/gdbus-codegen/codegen_docbook.py +++ b/gio/gdbus-codegen/codegen_docbook.py @@ -1,5 +1,26 @@ # -*- Mode: Python -*- +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + import sys import argparse diff --git a/gio/gdbus-codegen/codegen_main.py b/gio/gdbus-codegen/codegen_main.py index 45567fd..1ce61dd 100644 --- a/gio/gdbus-codegen/codegen_main.py +++ b/gio/gdbus-codegen/codegen_main.py @@ -1,5 +1,26 @@ # -*- Mode: Python -*- +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + import sys import argparse diff --git a/gio/gdbus-codegen/config.py.in b/gio/gdbus-codegen/config.py.in index ad42a2f..ee1a308 100644 --- a/gio/gdbus-codegen/config.py.in +++ b/gio/gdbus-codegen/config.py.in @@ -1,5 +1,26 @@ # -*- Mode: Python -*- +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + DATADIR = "@datarootdir@" DATADIR = DATADIR.replace( "${prefix}", "@prefix@") diff --git a/gio/gdbus-codegen/dbustypes.py b/gio/gdbus-codegen/dbustypes.py index d016cad..8c780f9 100644 --- a/gio/gdbus-codegen/dbustypes.py +++ b/gio/gdbus-codegen/dbustypes.py @@ -1,5 +1,26 @@ # -*- Mode: Python -*- +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + import utils class Annotation: diff --git a/gio/gdbus-codegen/gdbus-codegen.in b/gio/gdbus-codegen/gdbus-codegen.in index 12136d7..0fbacb3 100755 --- a/gio/gdbus-codegen/gdbus-codegen.in +++ b/gio/gdbus-codegen/gdbus-codegen.in @@ -1,5 +1,27 @@ #!/usr/bin/python +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + + import os import sys diff --git a/gio/gdbus-codegen/parser.py b/gio/gdbus-codegen/parser.py index a566c5c..25e10ce 100644 --- a/gio/gdbus-codegen/parser.py +++ b/gio/gdbus-codegen/parser.py @@ -1,5 +1,26 @@ # -*- Mode: Python -*- +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + import dbustypes import sys diff --git a/gio/gdbus-codegen/utils.py b/gio/gdbus-codegen/utils.py index 6c3fb85..2c7fbd3 100644 --- a/gio/gdbus-codegen/utils.py +++ b/gio/gdbus-codegen/utils.py @@ -1,5 +1,26 @@ # -*- Mode: Python -*- +# GDBus - GLib D-Bus Library +# +# Copyright (C) 2008-2011 Red Hat, Inc. +# +# This library 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 of the License, or (at your option) any later version. +# +# This library 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 Lesser General +# Public License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307, USA. +# +# Author: David Zeuthen + def strip_dots(s): ret = '' force_upper = False -- 2.7.4