From 480bf81e375613c9ffc4473fb976b0d0323f7e1d Mon Sep 17 00:00:00 2001
From: bugmster <bugmaster@opencascade.com>
Date: Wed, 4 Dec 2013 21:18:05 +0400
Subject: [PATCH] 0024428: Implementation of LGPL license

Update of OCCT samples source code due to moving to LGPL license
---
 .../Projection/Projection_Presentation.h      |  2 +-
 samples/mfc/standard/02_Modeling/src/State.h  |  2 +-
 .../standard/03_Viewer2d/src/Viewer2dApp.h    |  2 +-
 samples/mfc/standard/04_Viewer3d/src/State.h  |  2 +-
 .../05_ImportExport/src/FSD_Archive.cxx       |  2 +-
 .../standard/Common/AngleParamsVerticesPage.h |  0
 samples/mfc/standard/Common/DimensionDlg.h    |  0
 .../standard/Common/LengthParamsEdgePage.h    |  0
 .../standard/Common/LengthParamsEdgesPage.h   |  0
 .../Common/LengthParamsVerticesPage.h         |  0
 samples/mfc/standard/Common/OCC_App.h         |  0
 .../mfc/standard/Common/RadiusParamsPage.h    |  0
 samples/mfc/standard/Common/User_Cylinder.hxx |  2 +-
 samples/ocafsamples/TDataStd_Sample.cxx       | 24 +++++++-----------
 samples/ocafsamples/TDocStd_Sample.cxx        | 24 +++++++-----------
 samples/ocafsamples/TNaming_Sample.cxx        | 23 +++++++----------
 samples/ocafsamples/TPrsStd_Sample.cxx        | 25 +++++++------------
 samples/qt/VoxelDemo/inc/Application.h        |  0
 samples/qt/VoxelDemo/inc/ConversionThread.h   |  2 +-
 samples/qt/VoxelDemo/inc/Timer.h              |  0
 samples/qt/VoxelDemo/inc/Viewer.h             |  0
 .../qt/VoxelDemo/inc/VoxelClient_VisDrawer.h  | 23 +++++++----------
 .../VoxelDemo/src/VoxelClient_VisDrawer.cxx   | 22 +++++++---------
 samples/tcl/DataExchangeDemo.tcl              | 22 +++++++---------
 samples/tcl/ModelingDemo.tcl                  | 22 +++++++---------
 samples/tcl/VisualizationDemo.tcl             | 22 +++++++---------
 samples/tcl/bottle.tcl                        |  2 +-
 samples/tcl/challenge.tcl                     |  0
 28 files changed, 89 insertions(+), 134 deletions(-)
 mode change 100644 => 100755 samples/mfc/standard/Common/AngleParamsVerticesPage.h
 mode change 100644 => 100755 samples/mfc/standard/Common/DimensionDlg.h
 mode change 100644 => 100755 samples/mfc/standard/Common/LengthParamsEdgePage.h
 mode change 100644 => 100755 samples/mfc/standard/Common/LengthParamsEdgesPage.h
 mode change 100644 => 100755 samples/mfc/standard/Common/LengthParamsVerticesPage.h
 mode change 100644 => 100755 samples/mfc/standard/Common/OCC_App.h
 mode change 100644 => 100755 samples/mfc/standard/Common/RadiusParamsPage.h
 mode change 100644 => 100755 samples/qt/VoxelDemo/inc/Application.h
 mode change 100644 => 100755 samples/qt/VoxelDemo/inc/ConversionThread.h
 mode change 100644 => 100755 samples/qt/VoxelDemo/inc/Timer.h
 mode change 100644 => 100755 samples/qt/VoxelDemo/inc/Viewer.h
 mode change 100644 => 100755 samples/tcl/bottle.tcl
 mode change 100644 => 100755 samples/tcl/challenge.tcl

diff --git a/samples/mfc/occtdemo/Projection/Projection_Presentation.h b/samples/mfc/occtdemo/Projection/Projection_Presentation.h
index 930eb6ef5c..029c83cb39 100755
--- a/samples/mfc/occtdemo/Projection/Projection_Presentation.h
+++ b/samples/mfc/occtdemo/Projection/Projection_Presentation.h
@@ -36,4 +36,4 @@ private:
 
 };
 
-#endif
\ No newline at end of file
+#endif
diff --git a/samples/mfc/standard/02_Modeling/src/State.h b/samples/mfc/standard/02_Modeling/src/State.h
index 96069cd304..f2aa745ad5 100755
--- a/samples/mfc/standard/02_Modeling/src/State.h
+++ b/samples/mfc/standard/02_Modeling/src/State.h
@@ -3,4 +3,4 @@ enum STATE {
 	SELECT_EDGE_PLATE_TGTES_1,
 	SELECT_EDGE_PLATE_TGTES_2,
 	SELECT_EDGE_PLATE_TGTES_3
-};
\ No newline at end of file
+};
diff --git a/samples/mfc/standard/03_Viewer2d/src/Viewer2dApp.h b/samples/mfc/standard/03_Viewer2d/src/Viewer2dApp.h
index a8d6157de7..d63265348f 100755
--- a/samples/mfc/standard/03_Viewer2d/src/Viewer2dApp.h
+++ b/samples/mfc/standard/03_Viewer2d/src/Viewer2dApp.h
@@ -27,4 +27,4 @@ public:
 
 /////////////////////////////////////////////////////////////////////////////
 
-#endif //(AFX_VIEWER2DAPP_H__45F76B43_423D_11D7_8612_0060B0EE281E__INCLUDED_)
\ No newline at end of file
+#endif //(AFX_VIEWER2DAPP_H__45F76B43_423D_11D7_8612_0060B0EE281E__INCLUDED_)
diff --git a/samples/mfc/standard/04_Viewer3d/src/State.h b/samples/mfc/standard/04_Viewer3d/src/State.h
index c0f8248394..b58cdc57aa 100755
--- a/samples/mfc/standard/04_Viewer3d/src/State.h
+++ b/samples/mfc/standard/04_Viewer3d/src/State.h
@@ -1,3 +1,3 @@
 enum STATE {
 	FACE_COLOR
-	};
\ No newline at end of file
+	};
diff --git a/samples/mfc/standard/05_ImportExport/src/FSD_Archive.cxx b/samples/mfc/standard/05_ImportExport/src/FSD_Archive.cxx
index f74f62749f..ad46ee3732 100755
--- a/samples/mfc/standard/05_ImportExport/src/FSD_Archive.cxx
+++ b/samples/mfc/standard/05_ImportExport/src/FSD_Archive.cxx
@@ -1692,4 +1692,4 @@ Storage_Error FSD_Archive::EndReadDataSection()
 Storage_Position FSD_Archive::Tell() 
 {
 	return 0; //just a stub
-}
\ No newline at end of file
+}
diff --git a/samples/mfc/standard/Common/AngleParamsVerticesPage.h b/samples/mfc/standard/Common/AngleParamsVerticesPage.h
old mode 100644
new mode 100755
diff --git a/samples/mfc/standard/Common/DimensionDlg.h b/samples/mfc/standard/Common/DimensionDlg.h
old mode 100644
new mode 100755
diff --git a/samples/mfc/standard/Common/LengthParamsEdgePage.h b/samples/mfc/standard/Common/LengthParamsEdgePage.h
old mode 100644
new mode 100755
diff --git a/samples/mfc/standard/Common/LengthParamsEdgesPage.h b/samples/mfc/standard/Common/LengthParamsEdgesPage.h
old mode 100644
new mode 100755
diff --git a/samples/mfc/standard/Common/LengthParamsVerticesPage.h b/samples/mfc/standard/Common/LengthParamsVerticesPage.h
old mode 100644
new mode 100755
diff --git a/samples/mfc/standard/Common/OCC_App.h b/samples/mfc/standard/Common/OCC_App.h
old mode 100644
new mode 100755
diff --git a/samples/mfc/standard/Common/RadiusParamsPage.h b/samples/mfc/standard/Common/RadiusParamsPage.h
old mode 100644
new mode 100755
diff --git a/samples/mfc/standard/Common/User_Cylinder.hxx b/samples/mfc/standard/Common/User_Cylinder.hxx
index 285f656c84..232498af7d 100755
--- a/samples/mfc/standard/Common/User_Cylinder.hxx
+++ b/samples/mfc/standard/Common/User_Cylinder.hxx
@@ -80,4 +80,4 @@ private:
 //Handle_Graphic3d_Texture2Dmanual mytexture;
 
 };
-#endif
\ No newline at end of file
+#endif
diff --git a/samples/ocafsamples/TDataStd_Sample.cxx b/samples/ocafsamples/TDataStd_Sample.cxx
index c9182ba7b6..a14da2af34 100644
--- a/samples/ocafsamples/TDataStd_Sample.cxx
+++ b/samples/ocafsamples/TDataStd_Sample.cxx
@@ -1,24 +1,18 @@
 // Created on: 1999-12-28
 // Created by: Sergey RUIN
 // Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2012 OPEN CASCADE SAS
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
 //
-// The content of this file is subject to the Open CASCADE Technology Public
-// License Version 6.5 (the "License"). You may not use the content of this file
-// except in compliance with the License. Please obtain a copy of the License
-// at http://www.opencascade.org and read it completely before using this file.
+// This file is part of Open CASCADE Technology software library.
 //
-// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+// This library is free software; you can redistribute it and / or modify it
+// under the terms of the GNU Lesser General Public version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
 //
-// The Original Code and all software distributed under the License is
-// distributed on an "AS IS" basis, without warranty of any kind, and the
-// Initial Developer hereby disclaims all such warranties, including without
-// limitation, any warranties of merchantability, fitness for a particular
-// purpose or non-infringement. Please see the License for the specific terms
-// and conditions governing the rights and limitations under the License.
-
-
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #include <TDF_Data.hxx>
 #include <TDF_Label.hxx>
diff --git a/samples/ocafsamples/TDocStd_Sample.cxx b/samples/ocafsamples/TDocStd_Sample.cxx
index 4900fb8f68..e028fef036 100644
--- a/samples/ocafsamples/TDocStd_Sample.cxx
+++ b/samples/ocafsamples/TDocStd_Sample.cxx
@@ -1,24 +1,18 @@
 // Created on: 1999-12-28
 // Created by: Sergey RUIN
 // Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2012 OPEN CASCADE SAS
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
 //
-// The content of this file is subject to the Open CASCADE Technology Public
-// License Version 6.5 (the "License"). You may not use the content of this file
-// except in compliance with the License. Please obtain a copy of the License
-// at http://www.opencascade.org and read it completely before using this file.
+// This file is part of Open CASCADE Technology software library.
 //
-// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+// This library is free software; you can redistribute it and / or modify it
+// under the terms of the GNU Lesser General Public version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
 //
-// The Original Code and all software distributed under the License is
-// distributed on an "AS IS" basis, without warranty of any kind, and the
-// Initial Developer hereby disclaims all such warranties, including without
-// limitation, any warranties of merchantability, fitness for a particular
-// purpose or non-infringement. Please see the License for the specific terms
-// and conditions governing the rights and limitations under the License.
-
-
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #include <TDF_Data.hxx>
 #include <TDF_Label.hxx>
diff --git a/samples/ocafsamples/TNaming_Sample.cxx b/samples/ocafsamples/TNaming_Sample.cxx
index 6166bd1dc1..0a0c077b5b 100644
--- a/samples/ocafsamples/TNaming_Sample.cxx
+++ b/samples/ocafsamples/TNaming_Sample.cxx
@@ -1,23 +1,18 @@
 // Created on: 1999-12-29
 // Created by: Sergey RUIN
 // Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2012 OPEN CASCADE SAS
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
 //
-// The content of this file is subject to the Open CASCADE Technology Public
-// License Version 6.5 (the "License"). You may not use the content of this file
-// except in compliance with the License. Please obtain a copy of the License
-// at http://www.opencascade.org and read it completely before using this file.
+// This file is part of Open CASCADE Technology software library.
 //
-// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+// This library is free software; you can redistribute it and / or modify it
+// under the terms of the GNU Lesser General Public version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
 //
-// The Original Code and all software distributed under the License is
-// distributed on an "AS IS" basis, without warranty of any kind, and the
-// Initial Developer hereby disclaims all such warranties, including without
-// limitation, any warranties of merchantability, fitness for a particular
-// purpose or non-infringement. Please see the License for the specific terms
-// and conditions governing the rights and limitations under the License.
-
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #include <gp_Vec.hxx>
 #include <gp_Trsf.hxx>
diff --git a/samples/ocafsamples/TPrsStd_Sample.cxx b/samples/ocafsamples/TPrsStd_Sample.cxx
index 5e2f48d999..2f6d320e30 100644
--- a/samples/ocafsamples/TPrsStd_Sample.cxx
+++ b/samples/ocafsamples/TPrsStd_Sample.cxx
@@ -1,25 +1,18 @@
 // Created on: 1999-12-27
 // Created by: Sergey RUIN
 // Copyright (c) 1999-1999 Matra Datavision
-// Copyright (c) 1999-2012 OPEN CASCADE SAS
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
 //
-// The content of this file is subject to the Open CASCADE Technology Public
-// License Version 6.5 (the "License"). You may not use the content of this file
-// except in compliance with the License. Please obtain a copy of the License
-// at http://www.opencascade.org and read it completely before using this file.
+// This file is part of Open CASCADE Technology software library.
 //
-// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+// This library is free software; you can redistribute it and / or modify it
+// under the terms of the GNU Lesser General Public version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
 //
-// The Original Code and all software distributed under the License is
-// distributed on an "AS IS" basis, without warranty of any kind, and the
-// Initial Developer hereby disclaims all such warranties, including without
-// limitation, any warranties of merchantability, fitness for a particular
-// purpose or non-infringement. Please see the License for the specific terms
-// and conditions governing the rights and limitations under the License.
-
-
-
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #include <TDF_Data.hxx>
 #include <TDF_Label.hxx>
diff --git a/samples/qt/VoxelDemo/inc/Application.h b/samples/qt/VoxelDemo/inc/Application.h
old mode 100644
new mode 100755
diff --git a/samples/qt/VoxelDemo/inc/ConversionThread.h b/samples/qt/VoxelDemo/inc/ConversionThread.h
old mode 100644
new mode 100755
index 7e66a94da1..0b1b146dfd
--- a/samples/qt/VoxelDemo/inc/ConversionThread.h
+++ b/samples/qt/VoxelDemo/inc/ConversionThread.h
@@ -37,4 +37,4 @@ private:
     int myProgress;
 };
 
-#endif // _CONVERSIONTHREAD_H_
\ No newline at end of file
+#endif // _CONVERSIONTHREAD_H_
diff --git a/samples/qt/VoxelDemo/inc/Timer.h b/samples/qt/VoxelDemo/inc/Timer.h
old mode 100644
new mode 100755
diff --git a/samples/qt/VoxelDemo/inc/Viewer.h b/samples/qt/VoxelDemo/inc/Viewer.h
old mode 100644
new mode 100755
diff --git a/samples/qt/VoxelDemo/inc/VoxelClient_VisDrawer.h b/samples/qt/VoxelDemo/inc/VoxelClient_VisDrawer.h
index a36cca95ea..99d33541b0 100644
--- a/samples/qt/VoxelDemo/inc/VoxelClient_VisDrawer.h
+++ b/samples/qt/VoxelDemo/inc/VoxelClient_VisDrawer.h
@@ -1,21 +1,16 @@
 /*
- Copyright (c) 1999-2012 OPEN CASCADE SAS
+ Copyright (c) 1999-2014 OPEN CASCADE SAS
 
- The content of this file is subject to the Open CASCADE Technology Public
- License Version 6.5 (the "License"). You may not use the content of this file
- except in compliance with the License. Please obtain a copy of the License
- at http://www.opencascade.org and read it completely before using this file.
+ This file is part of Open CASCADE Technology software library.
 
- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
-
- The Original Code and all software distributed under the License is
- distributed on an "AS IS" basis, without warranty of any kind, and the
- Initial Developer hereby disclaims all such warranties, including without
- limitation, any warranties of merchantability, fitness for a particular
- purpose or non-infringement. Please see the License for the specific terms
- and conditions governing the rights and limitations under the License.
+ This library is free software; you can redistribute it and / or modify it
+ under the terms of the GNU Lesser General Public version 2.1 as published
+ by the Free Software Foundation, with special exception defined in the file
+ OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+ distribution for complete text of the license and disclaimer of any warranty.
 
+ Alternatively, this file may be used under the terms of Open CASCADE
+ commercial license or contractual agreement.
 */
 
 #ifndef _VOXEL_VISDRAWER_H_
diff --git a/samples/qt/VoxelDemo/src/VoxelClient_VisDrawer.cxx b/samples/qt/VoxelDemo/src/VoxelClient_VisDrawer.cxx
index 45ff7946f9..77f8ad0b59 100644
--- a/samples/qt/VoxelDemo/src/VoxelClient_VisDrawer.cxx
+++ b/samples/qt/VoxelDemo/src/VoxelClient_VisDrawer.cxx
@@ -1,19 +1,15 @@
-// Copyright (c) 1999-2012 OPEN CASCADE SAS
+// Copyright (c) 1999-2014 OPEN CASCADE SAS
 //
-// The content of this file is subject to the Open CASCADE Technology Public
-// License Version 6.5 (the "License"). You may not use the content of this file
-// except in compliance with the License. Please obtain a copy of the License
-// at http://www.opencascade.org and read it completely before using this file.
+// This file is part of Open CASCADE Technology software library.
 //
-// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+// This library is free software; you can redistribute it and / or modify it
+// under the terms of the GNU Lesser General Public version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
 //
-// The Original Code and all software distributed under the License is
-// distributed on an "AS IS" basis, without warranty of any kind, and the
-// Initial Developer hereby disclaims all such warranties, including without
-// limitation, any warranties of merchantability, fitness for a particular
-// purpose or non-infringement. Please see the License for the specific terms
-// and conditions governing the rights and limitations under the License.
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #include "VoxelClient_VisDrawer.h"
 
diff --git a/samples/tcl/DataExchangeDemo.tcl b/samples/tcl/DataExchangeDemo.tcl
index 23eef635dd..51f5f47095 100644
--- a/samples/tcl/DataExchangeDemo.tcl
+++ b/samples/tcl/DataExchangeDemo.tcl
@@ -1,19 +1,15 @@
-# Copyright (c) 1999-2012 OPEN CASCADE SAS
+# Copyright (c) 1999-2014 OPEN CASCADE SAS
 #
-# The content of this file is subject to the Open CASCADE Technology Public
-# License Version 6.5 (the "License"). You may not use the content of this file
-# except in compliance with the License. Please obtain a copy of the License
-# at http://www.opencascade.org and read it completely before using this file.
+# This file is part of Open CASCADE Technology software library.
 #
-# The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-# main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+# This library is free software; you can redistribute it and / or modify it
+# under the terms of the GNU Lesser General Public version 2.1 as published
+# by the Free Software Foundation, with special exception defined in the file
+# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+# distribution for complete text of the license and disclaimer of any warranty.
 #
-# The Original Code and all software distributed under the License is
-# distributed on an "AS IS" basis, without warranty of any kind, and the
-# Initial Developer hereby disclaims all such warranties, including without
-# limitation, any warranties of merchantability, fitness for a particular
-# purpose or non-infringement. Please see the License for the specific terms
-# and conditions governing the rights and limitations under the License.
+# Alternatively, this file may be used under the terms of Open CASCADE
+# commercial license or contractual agreement.
 
 # Command to log a message to both command-line and dialog window
 proc sage { a} {
diff --git a/samples/tcl/ModelingDemo.tcl b/samples/tcl/ModelingDemo.tcl
index f95508fa9e..32e3d2d88a 100644
--- a/samples/tcl/ModelingDemo.tcl
+++ b/samples/tcl/ModelingDemo.tcl
@@ -1,19 +1,15 @@
-# Copyright (c) 1999-2012 OPEN CASCADE SAS
+# Copyright (c) 1999-2014 OPEN CASCADE SAS
 #
-# The content of this file is subject to the Open CASCADE Technology Public
-# License Version 6.5 (the "License"). You may not use the content of this file
-# except in compliance with the License. Please obtain a copy of the License
-# at http://www.opencascade.org and read it completely before using this file.
+# This file is part of Open CASCADE Technology software library.
 #
-# The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-# main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+# This library is free software; you can redistribute it and / or modify it
+# under the terms of the GNU Lesser General Public version 2.1 as published
+# by the Free Software Foundation, with special exception defined in the file
+# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+# distribution for complete text of the license and disclaimer of any warranty.
 #
-# The Original Code and all software distributed under the License is
-# distributed on an "AS IS" basis, without warranty of any kind, and the
-# Initial Developer hereby disclaims all such warranties, including without
-# limitation, any warranties of merchantability, fitness for a particular
-# purpose or non-infringement. Please see the License for the specific terms
-# and conditions governing the rights and limitations under the License.
+# Alternatively, this file may be used under the terms of Open CASCADE
+# commercial license or contractual agreement.
 
 # Command to log a message to both command-line and dialog window
 proc sage { a} {
diff --git a/samples/tcl/VisualizationDemo.tcl b/samples/tcl/VisualizationDemo.tcl
index af9a327f0d..b3177d56dc 100644
--- a/samples/tcl/VisualizationDemo.tcl
+++ b/samples/tcl/VisualizationDemo.tcl
@@ -1,19 +1,15 @@
-# Copyright (c) 1999-2012 OPEN CASCADE SAS
+# Copyright (c) 1999-2014 OPEN CASCADE SAS
 #
-# The content of this file is subject to the Open CASCADE Technology Public
-# License Version 6.5 (the "License"). You may not use the content of this file
-# except in compliance with the License. Please obtain a copy of the License
-# at http://www.opencascade.org and read it completely before using this file.
+# This file is part of Open CASCADE Technology software library.
 #
-# The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-# main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
+# This library is free software; you can redistribute it and / or modify it
+# under the terms of the GNU Lesser General Public version 2.1 as published
+# by the Free Software Foundation, with special exception defined in the file
+# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+# distribution for complete text of the license and disclaimer of any warranty.
 #
-# The Original Code and all software distributed under the License is
-# distributed on an "AS IS" basis, without warranty of any kind, and the
-# Initial Developer hereby disclaims all such warranties, including without
-# limitation, any warranties of merchantability, fitness for a particular
-# purpose or non-infringement. Please see the License for the specific terms
-# and conditions governing the rights and limitations under the License.
+# Alternatively, this file may be used under the terms of Open CASCADE
+# commercial license or contractual agreement.
 
 # Command to log a message to both command-line and dialog window
 proc sage { a} {
diff --git a/samples/tcl/bottle.tcl b/samples/tcl/bottle.tcl
old mode 100644
new mode 100755
index e51942d61c..5dbbb24fc6
--- a/samples/tcl/bottle.tcl
+++ b/samples/tcl/bottle.tcl
@@ -120,4 +120,4 @@ if { [regexp {HAVE_OPENCL} [dversion]] } {
         vtextureenv on 1
         vfit
     }
-}
\ No newline at end of file
+}
diff --git a/samples/tcl/challenge.tcl b/samples/tcl/challenge.tcl
old mode 100644
new mode 100755