From 188e960e496ad31839ab879e139c4f1cf9f10656 Mon Sep 17 00:00:00 2001 From: Teemu Kaukoranta Date: Mon, 27 May 2013 12:18:57 +0300 Subject: Replaced Nokia copyrights and contact details Replaced Nokia copyrights with correct Digia copyrights. Text in front of copyright is now retained: ** File is part of Foo, Copyright Nokia... -> ** File is part of Foo, Copyright Digia... Replaced Nokia contact details with Digia's. Removing "All Rights Reserved" no longer leaves an empty line. Used the following command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*|.*Contact.*' {} \; | tee >(xargs sed -i -r '1,50 { /INdT|copy[a-z]*[ ]*=/ !{ s/(^[ \t:#*]*)([a-z ]*) (Copyright.*Nokia.*)/ \1\2Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I }}') >(xargs sed -i -r '1,50 s/(^[ \t:#*]*)(.*info@qt\.nokia\.com.* |.*INSERT EMAIL ADDRESS.*|.*qt-info@nokia\.com.* |.*qt-label1@nokia\.com.*|.*http:\/\/qt\.nokia\.com\/contact.* |.*qt-sales@nokia\.com.*|.*http:\/\/www\.qt-project\.org\/.*)/ \1Contact: http:\/\/www\.qt-project\.org\/legal/I') >(xargs sed -i -r '1,50{/(^[ \t:#*]*)(all rights reserved.*)/Id}') Command now finds command details that point to qt-project.org and changes them to qt-project.org/legal Also no longer wrongly replaces code snippet "copyright = ..". Need to fix these case-by-case later. Change-Id: I4456c00202c4a2264a400bdc18c19cd097876861 Reviewed-by: Sergio Ahumada --- libpyside/pysideqflags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpyside/pysideqflags.cpp') diff --git a/libpyside/pysideqflags.cpp b/libpyside/pysideqflags.cpp index 39f8b04e..d2382cd3 100644 --- a/libpyside/pysideqflags.cpp +++ b/libpyside/pysideqflags.cpp @@ -1,7 +1,7 @@ /* * This file is part of the PySide project. * -* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). * * Contact: PySide team * -- cgit v1.2.3