From 7a76a4c728ad4200ca5e28242cfd2975f5065e14 Mon Sep 17 00:00:00 2001 From: juha Date: Sat, 25 Nov 2017 10:20:02 +0000 Subject: [PATCH] Printer4Lazarus: Fix header comments. Fix license text in CupsDyn unit to match other units and the package itself. git-svn-id: trunk@56491 - --- components/printers/carbon/carbonprinting.pas | 8 +++++++ .../printers/carbon/carbonprndialogs.inc | 1 - components/printers/carbon/ppdresolution.pas | 8 +++++++ .../printers/cocoa/cocoaprintcanvas.pas | 12 +++++++++- components/printers/osprinters.pas | 2 +- components/printers/printer4lazstrconst.pas | 2 +- components/printers/printersdlgs.pp | 5 ++-- components/printers/unix/cupsdyn.pp | 24 +++++-------------- components/printers/unix/cupslcl.pas | 8 +++++++ components/printers/unix/framepagesetup.pas | 8 +++++++ .../printers/unix/frameprinterselector.pas | 10 +++++++- components/printers/unix/udlgpagesetup.pas | 8 +++++++ components/printers/unix/udlgprintersetup.pas | 8 +++++++ components/printers/unix/udlgprintersjobs.pp | 2 +- .../printers/unix/udlgpropertiesprinter.pp | 2 +- components/printers/unix/udlgselectprinter.pp | 2 ++ components/printers/win32/winutilprn.pas | 2 +- 17 files changed, 84 insertions(+), 28 deletions(-) diff --git a/components/printers/carbon/carbonprinting.pas b/components/printers/carbon/carbonprinting.pas index 002d392a7a..05524b980c 100644 --- a/components/printers/carbon/carbonprinting.pas +++ b/components/printers/carbon/carbonprinting.pas @@ -1,3 +1,11 @@ +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** +} unit CarbonPrinting; {$mode macpas} diff --git a/components/printers/carbon/carbonprndialogs.inc b/components/printers/carbon/carbonprndialogs.inc index 9e4ac17a46..7e64fb378b 100644 --- a/components/printers/carbon/carbonprndialogs.inc +++ b/components/printers/carbon/carbonprndialogs.inc @@ -1,6 +1,5 @@ {%MainUnit ../printersdlgs.pp} - const SExecute = 'Execute'; diff --git a/components/printers/carbon/ppdresolution.pas b/components/printers/carbon/ppdresolution.pas index fdebe89da5..fa4b7f5860 100644 --- a/components/printers/carbon/ppdresolution.pas +++ b/components/printers/carbon/ppdresolution.pas @@ -1,3 +1,11 @@ +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** +} unit ppdresolution; {$mode objfpc}{$H+} diff --git a/components/printers/cocoa/cocoaprintcanvas.pas b/components/printers/cocoa/cocoaprintcanvas.pas index 67d1a442fd..d4e96e2cf9 100644 --- a/components/printers/cocoa/cocoaprintcanvas.pas +++ b/components/printers/cocoa/cocoaprintcanvas.pas @@ -1,4 +1,14 @@ -// custom-page in cocoa example: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Printing/osxp_pagination/osxp_pagination.html +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** + + custom-page in cocoa example: + https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Printing/osxp_pagination/osxp_pagination.html +} unit cocoaprintcanvas; {$mode objfpc}{$H+} diff --git a/components/printers/osprinters.pas b/components/printers/osprinters.pas index aa283be729..d769a932ea 100644 --- a/components/printers/osprinters.pas +++ b/components/printers/osprinters.pas @@ -8,7 +8,7 @@ *************************************************************************** ***************************************************************************** - This file is part of the Lazarus Component Library (LCL) + This file is part of the Printer4Lazarus package See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. diff --git a/components/printers/printer4lazstrconst.pas b/components/printers/printer4lazstrconst.pas index 39b9b88c14..afba9834f3 100644 --- a/components/printers/printer4lazstrconst.pas +++ b/components/printers/printer4lazstrconst.pas @@ -1,6 +1,6 @@ { ***************************************************************************** - This file is part of the Lazarus Component Library (LCL) + This file is part of the Printer4Lazarus package See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. diff --git a/components/printers/printersdlgs.pp b/components/printers/printersdlgs.pp index aba85aac25..f1a596f1dd 100644 --- a/components/printers/printersdlgs.pp +++ b/components/printers/printersdlgs.pp @@ -1,5 +1,6 @@ -{***************************************************************************** - This file is part of the Lazarus Component Library (LCL) +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. diff --git a/components/printers/unix/cupsdyn.pp b/components/printers/unix/cupsdyn.pp index b21c77b0c9..68bd0dcda3 100644 --- a/components/printers/unix/cupsdyn.pp +++ b/components/printers/unix/cupsdyn.pp @@ -1,22 +1,10 @@ { - *************************************************************************** - * * - * This source 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 2 of the License, or * - * (at your option) any later version. * - * * - * This code 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. * - * * - * A copy of the GNU General Public License is available on the World * - * Wide Web at . You can also * - * obtain it by writing to the Free Software Foundation, * - * Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1335, USA. * - * * - *************************************************************************** + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** Author: Olivier GUILBAUD diff --git a/components/printers/unix/cupslcl.pas b/components/printers/unix/cupslcl.pas index a7dd33caed..dbbe5428fe 100644 --- a/components/printers/unix/cupslcl.pas +++ b/components/printers/unix/cupslcl.pas @@ -1,3 +1,11 @@ +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** +} unit cupslcl; {$mode objfpc}{$H+} diff --git a/components/printers/unix/framepagesetup.pas b/components/printers/unix/framepagesetup.pas index 06fda89f76..350ede7d69 100644 --- a/components/printers/unix/framepagesetup.pas +++ b/components/printers/unix/framepagesetup.pas @@ -1,3 +1,11 @@ +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** +} unit framePageSetup; {$mode objfpc}{$H+} diff --git a/components/printers/unix/frameprinterselector.pas b/components/printers/unix/frameprinterselector.pas index fdc0673ff4..1ee3d72d42 100644 --- a/components/printers/unix/frameprinterselector.pas +++ b/components/printers/unix/frameprinterselector.pas @@ -1,4 +1,12 @@ -unit frameprinterselector; +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** +} +unit frameprinterselector; {$mode objfpc}{$H+} diff --git a/components/printers/unix/udlgpagesetup.pas b/components/printers/unix/udlgpagesetup.pas index 1e8450f1cf..af371d3338 100644 --- a/components/printers/unix/udlgpagesetup.pas +++ b/components/printers/unix/udlgpagesetup.pas @@ -1,3 +1,11 @@ +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** +} unit udlgpagesetup; {$mode objfpc}{$H+} diff --git a/components/printers/unix/udlgprintersetup.pas b/components/printers/unix/udlgprintersetup.pas index a203ee6b6d..b148fdb433 100644 --- a/components/printers/unix/udlgprintersetup.pas +++ b/components/printers/unix/udlgprintersetup.pas @@ -1,3 +1,11 @@ +{ + ***************************************************************************** + This file is part of the Printer4Lazarus package + + See the file COPYING.modifiedLGPL.txt, included in this distribution, + for details about the license. + ***************************************************************************** +} unit udlgprintersetup; {$mode objfpc}{$H+} diff --git a/components/printers/unix/udlgprintersjobs.pp b/components/printers/unix/udlgprintersjobs.pp index b4425815cb..c8c9acfbbe 100644 --- a/components/printers/unix/udlgprintersjobs.pp +++ b/components/printers/unix/udlgprintersjobs.pp @@ -2,7 +2,7 @@ udlgPrintersJobs.pp ------------ ***************************************************************************** - This file is part of the Lazarus Component Library (LCL) + This file is part of the Printer4Lazarus package See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. diff --git a/components/printers/unix/udlgpropertiesprinter.pp b/components/printers/unix/udlgpropertiesprinter.pp index b69f110f59..b90deb8fdd 100644 --- a/components/printers/unix/udlgpropertiesprinter.pp +++ b/components/printers/unix/udlgpropertiesprinter.pp @@ -2,7 +2,7 @@ udlgpropertiesprinter.pp ------------ ***************************************************************************** - This file is part of the Lazarus Component Library (LCL) + This file is part of the Printer4Lazarus package See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. diff --git a/components/printers/unix/udlgselectprinter.pp b/components/printers/unix/udlgselectprinter.pp index a66879fb3f..e0dc727cf0 100644 --- a/components/printers/unix/udlgselectprinter.pp +++ b/components/printers/unix/udlgselectprinter.pp @@ -2,6 +2,8 @@ udlgSelectPrinter.pp ------------ ***************************************************************************** + This file is part of the Printer4Lazarus package + See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. ***************************************************************************** diff --git a/components/printers/win32/winutilprn.pas b/components/printers/win32/winutilprn.pas index 3e7d099df3..ecdc6911f1 100644 --- a/components/printers/win32/winutilprn.pas +++ b/components/printers/win32/winutilprn.pas @@ -2,7 +2,7 @@ Author: Olivier Guilbaud ***************************************************************************** - This file is part of the Lazarus Component Library (LCL) + This file is part of the Printer4Lazarus package See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license.