Skip to content

Commit

Permalink
[mce] Unify license blurbs. JB#33684
Browse files Browse the repository at this point in the history
MCE uses LGPL v2.1 (without "or later") license, but due to missing / use
of different license blurbs this is not always clear enough.

Replace blurbs referring to "LGPLv2" short form which could be either
LGPL v2.0 or v2.1 without "or later" with the same blurb that is used
in mce.c file.

Similarly add blurb to source files that are missing one altogether.

Add all authors that can be derived from git logs.

Update Jolla Ltd. copyright statements to match git activity.

Signed-off-by: Simo Piiroinen <[email protected]>
  • Loading branch information
spiiroin committed May 17, 2019
1 parent dcb4692 commit 091d6e7
Show file tree
Hide file tree
Showing 62 changed files with 481 additions and 73 deletions.
24 changes: 24 additions & 0 deletions bme-dbus-names.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/**
* @file bme-dbus-names.h
* Mode Control Entity - D-Bus constants related to BME service
* <p>
* Copyright (C) 2010-2011 Nokia Corporation. All rights reserved.
* Copyright (C) 2018-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* @file bme-dbus-names.h
*/
Expand Down
25 changes: 20 additions & 5 deletions builtin-gconf.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2012-2014 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: LGPLv2
* ------------------------------------------------------------------------- */
/**
* @file builtin-gconf.h
* Mode Control Entity - Build-in GConf compatible settings
* <p>
* Copyright (C) 2012-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef BUILTIN_GCONF_H_
# define BUILTIN_GCONF_H_
Expand Down
25 changes: 20 additions & 5 deletions evdev.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2012-2013 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: GPLv2
* ------------------------------------------------------------------------- */
/**
* @file evdev.c
* Mode Control Entity - evdev input device handling
* <p>
* Copyright (C) 2012-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

#include "evdev.h"

Expand Down
25 changes: 20 additions & 5 deletions evdev.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2012-2013 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: GPLv2
* ------------------------------------------------------------------------- */
/**
* @file evdev.h
* Mode Control Entity - evdev input device handling
* <p>
* Copyright (C) 2012-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EVDEV_H_
#define EVDEV_H_
Expand Down
3 changes: 3 additions & 0 deletions event-input.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
* Headers for the /dev/input event provider for the Mode Control Entity
* <p>
* Copyright © 2007-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
3 changes: 3 additions & 0 deletions event-switches.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
* Switch event provider for the Mode Control Entity
* <p>
* Copyright © 2007-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2014-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
2 changes: 2 additions & 0 deletions event-switches.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
* Headers for the switch event provider for the Mode Control Entity
* <p>
* Copyright © 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2014-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
25 changes: 20 additions & 5 deletions filewatcher.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2013 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: LGPLv2
* ------------------------------------------------------------------------- */
/**
* @file filewatcher.c
* Mode Control Entity - flag file tracking
* <p>
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

#include "filewatcher.h"

Expand Down
25 changes: 20 additions & 5 deletions filewatcher.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2013 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: LGPLv2
* ------------------------------------------------------------------------- */
/**
* @file filewatcher.h
* Mode Control Entity - flag file tracking
* <p>
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef FILEWATCHER_H_
# define FILEWATCHER_H_
Expand Down
25 changes: 20 additions & 5 deletions libwakelock.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2012 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: LGPLv2
* ------------------------------------------------------------------------- */
/**
* @file libwakelock.c
* Mode Control Entity - wakelock management
* <p>
* Copyright (C) 2012-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

/* NOTE: Only async-signal-safe functions can be called from this
* module since we might need to use the functionality while
Expand Down
25 changes: 20 additions & 5 deletions libwakelock.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2012 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: LGPLv2
* ------------------------------------------------------------------------- */
/**
* @file libwakelock.h
* Mode Control Entity - wakelock management
* <p>
* Copyright (C) 2012-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef LIBWAKELOCK_H_
# define LIBWAKELOCK_H_
Expand Down
3 changes: 3 additions & 0 deletions mce-conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
* Configuration option handling for MCE
* <p>
* Copyright © 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
3 changes: 3 additions & 0 deletions mce-conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
* Headers for the configuration option handling for MCE
* <p>
* Copyright © 2006-2007 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
2 changes: 2 additions & 0 deletions mce-dbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
* D-Bus handling code for the Mode Control Entity
* <p>
* Copyright © 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2012-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Ismo Laitinen <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
Expand Down
2 changes: 2 additions & 0 deletions mce-dbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
* Headers for the D-Bus handling code for the Mode Control Entity
* <p>
* Copyright © 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
4 changes: 3 additions & 1 deletion mce-dsme.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
* and MCE (the Mode Control Entity)
* <p>
* Copyright © 2004-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright © 2015 Jolla Ltd.
* Copyright © 2012-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Ismo Laitinen <[email protected]>
* @author Tapio Rantala <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
Expand Down
4 changes: 4 additions & 0 deletions mce-dsme.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
* Headers for the DSME<->MCE interface and logic
* <p>
* Copyright © 2004-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Tapio Rantala <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
4 changes: 4 additions & 0 deletions mce-hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
* Hardware Abstraction Layer for MCE
* <p>
* Copyright © 2009-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2012-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Tapio Rantala <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
4 changes: 4 additions & 0 deletions mce-hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
* Headers for the Hardware Abstraction Layer for MCE
* <p>
* Copyright © 2008-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Tapio Rantala <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author: Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
Expand Down
25 changes: 20 additions & 5 deletions mce-hybris.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/* ------------------------------------------------------------------------- *
* Copyright (C) 2013 Jolla Ltd.
* Contact: Simo Piiroinen <[email protected]>
* License: LGPLv2
* ------------------------------------------------------------------------- */
/**
* @file mce-hybris.c
* Mode Control Entity - android hal access
* <p>
* Copyright (C) 2013-2019 Jolla Ltd.
* <p>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce 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 mce. If not, see <http://www.gnu.org/licenses/>.
*/

/* ========================================================================= *
* Most of the functions in this module are just thunks that load and call
Expand Down
Loading

0 comments on commit 091d6e7

Please sign in to comment.