Wie Hinweistext von Fork einer fremden Unit mit modified BSD hinzufügen?

Für sonstige Unterhaltungen, welche nicht direkt mit Lazarus zu tun haben
Antworten
jus
Beiträge: 50
Registriert: Fr 6. Mai 2011, 13:29

Wie Hinweistext von Fork einer fremden Unit mit modified BSD hinzufügen?

Beitrag von jus »

ich habe einen Versuch unternommen Teile einer Delphi Bibliothek, die eine unter "modified BSD License" oder "BSD 3-clause license" steht, auf Lazarus anzupassen. Diese würde ich gerne auch auf Github zur Verfügung stellen. Ich muß aber zugeben, dass ich keinerlei Erfahrung in diesen Bereich habe. Der Originalquelltext beginnt immer so:

Code: Alles auswählen

(*
  Copyright (c) 2011-2012, Stefan Glienke
  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:

  - Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.
  - Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.
  - Neither the name of this library nor the names of its contributors may be
    used to endorse or promote products derived from this software without
    specific prior written permission.

  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  POSSIBILITY OF SUCH DAMAGE.
*)

unit DSharp.Bindings;

interface
Wie würdet Ihr den Hinweis auf den Fork hinzufügen? Irgendwie so...?

Code: Alles auswählen

(*
  
  [copyright header of recent editor]
  Copyright (c) 2020-06-12 
  Fork from the DSharp Project 
  

  [copyright header of creator]
  Copyright (c) 2011-2012, Stefan Glienke
  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are met:
...
*)

Oder wie macht man das üblicher Weise?

Benutzeravatar
af0815
Lazarusforum e. V.
Beiträge: 6198
Registriert: So 7. Jan 2007, 10:20
OS, Lazarus, FPC: FPC fixes Lazarus fixes per fpcupdeluxe (win,linux,raspi)
CPU-Target: 32Bit (64Bit)
Wohnort: Burgenland
Kontaktdaten:

Re: Wie Hinweistext von Fork einer fremden Unit mit modified BSD hinzufügen?

Beitrag von af0815 »

Ich würde den Copyright lassen, so wie er original ist. Dahinter setze deine Info/Header zum Fork. Damit ist meines erachtens alles geklärt.

Eigenen Code der nicht direkt zum Fork gehört würde ich in eine eigen Unit auslagern, die ja dann deine Lizenz haben kann. Man könnte das mit den Widgetset wrappern von der LCL gleichsetzen.
Blöd kann man ruhig sein, nur zu Helfen muss man sich wissen (oder nachsehen in LazInfos/LazSnippets).

Antworten