You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
librevenge/0001-fix-license-headers-fo...

204 lines
8.6 KiB

From 27adcd8bdba57db50b2e718054563c76f99aebfa Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Sat, 24 May 2014 00:24:46 +0200
Subject: [PATCH] fix license headers for gdb printers
---
data/gdb/auto-load/librevenge-stream.py.in | 28 ++++++++++++----------------
data/gdb/auto-load/librevenge.py.in | 28 ++++++++++++----------------
data/gdb/librevenge/util/compatibility.py | 25 ++++++++++---------------
data/gdb/librevenge/util/printing.py | 25 ++++++++++---------------
data/gdb/librevenge/v0_0/streams.py | 5 -----
data/gdb/librevenge/v0_0/types.py | 5 -----
6 files changed, 44 insertions(+), 72 deletions(-)
diff --git a/data/gdb/auto-load/librevenge-stream.py.in b/data/gdb/auto-load/librevenge-stream.py.in
index d4dbc09..de4a9d2 100644
--- a/data/gdb/auto-load/librevenge-stream.py.in
+++ b/data/gdb/auto-load/librevenge-stream.py.in
@@ -1,22 +1,18 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Auto-load of all the printers.
-#
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
-#
-# This file is part of boost-gdb-printers.
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+# librevenge
+# Version: MPL 2.0 / LGPLv2.1+
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# 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.
+# Alternatively, the contents of this file may be used under the terms
+# of the GNU Lesser General Public License Version 2.1 or later
+# (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
+# applicable instead of those above.
#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Auto-load of all the printers.
import sys
diff --git a/data/gdb/auto-load/librevenge.py.in b/data/gdb/auto-load/librevenge.py.in
index 6e7eb50..af4dba2 100644
--- a/data/gdb/auto-load/librevenge.py.in
+++ b/data/gdb/auto-load/librevenge.py.in
@@ -1,22 +1,18 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Auto-load of all the printers.
-#
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
-#
-# This file is part of boost-gdb-printers.
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+# librevenge
+# Version: MPL 2.0 / LGPLv2.1+
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# 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.
+# Alternatively, the contents of this file may be used under the terms
+# of the GNU Lesser General Public License Version 2.1 or later
+# (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
+# applicable instead of those above.
#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# Auto-load of all the printers.
import sys
diff --git a/data/gdb/librevenge/util/compatibility.py b/data/gdb/librevenge/util/compatibility.py
index 788d2f5..240874f 100644
--- a/data/gdb/librevenge/util/compatibility.py
+++ b/data/gdb/librevenge/util/compatibility.py
@@ -1,23 +1,18 @@
# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
-# Compatibility with older versions of GDB.
-#
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# librevenge
+# Version: MPL 2.0 / LGPLv2.1+
#
-# This file is part of boost-gdb-printers.
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# Alternatively, the contents of this file may be used under the terms
+# of the GNU Lesser General Public License Version 2.1 or later
+# (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
+# applicable instead of those above.
#
-# 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, see <http://www.gnu.org/licenses/>.
+# Compatibility with older versions of GDB.
import gdb
diff --git a/data/gdb/librevenge/util/printing.py b/data/gdb/librevenge/util/printing.py
index 28e6779..6187d21 100644
--- a/data/gdb/librevenge/util/printing.py
+++ b/data/gdb/librevenge/util/printing.py
@@ -1,23 +1,18 @@
# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
-# Printer interface adaptor.
-#
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
+# librevenge
+# Version: MPL 2.0 / LGPLv2.1+
#
-# This file is part of boost-gdb-printers.
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# 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 3 of the License, or
-# (at your option) any later version.
+# Alternatively, the contents of this file may be used under the terms
+# of the GNU Lesser General Public License Version 2.1 or later
+# (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
+# applicable instead of those above.
#
-# 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, see <http://www.gnu.org/licenses/>.
+# Printer interface adaptor.
from collections import Mapping
import gdb
diff --git a/data/gdb/librevenge/v0_0/streams.py b/data/gdb/librevenge/v0_0/streams.py
index 7a60a33..7ea3753 100644
--- a/data/gdb/librevenge/v0_0/streams.py
+++ b/data/gdb/librevenge/v0_0/streams.py
@@ -6,11 +6,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# Major Contributor(s):
-# Copyright (C) 2014 David Tardon (dtardon@redhat.com)
-#
-# For minor contributions see the git repository.
-#
# Alternatively, the contents of this file may be used under the terms
# of the GNU Lesser General Public License Version 2.1 or later
# (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
diff --git a/data/gdb/librevenge/v0_0/types.py b/data/gdb/librevenge/v0_0/types.py
index 3a49d45..4075aa2 100644
--- a/data/gdb/librevenge/v0_0/types.py
+++ b/data/gdb/librevenge/v0_0/types.py
@@ -6,11 +6,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-# Major Contributor(s):
-# Copyright (C) 2014 David Tardon (dtardon@redhat.com)
-#
-# For minor contributions see the git repository.
-#
# Alternatively, the contents of this file may be used under the terms
# of the GNU Lesser General Public License Version 2.1 or later
# (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
--
1.9.0