star-style

Writing conventions for co-authors
Log | Files | Refs | README | LICENSE

commit c154df58b4d5566dd42ce65b85994f9bd80f39a7
parent 124a1af0a92e6b2eadce0ea33efe8f820c389f4a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 23 Jun 2026 10:46:10 +0200

Ajoute la section sur les avis de copyright et la licence

Diffstat:
Mdoc/fr/star-c.7 | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+), 0 deletions(-)

diff --git a/doc/fr/star-c.7 b/doc/fr/star-c.7 @@ -236,6 +236,64 @@ lors que chaque ligne compte entre 60 et 75 caractères. Une proximité avec les 80 caractères retenus, que l'indentation des sources vient encore renforcer. .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh L'AVIS DE COPYRIGHT ET LES AVIS DE LICENCE +Utiliser la licence libre GPLv3+ qui, en tant que licence copyleft, +défend la copie, l'étude et la modification libres du programme ainsi +licencié, et de ses évolutions. +.Pp +Ajouter une copie de la licence à la racine du projet, dans un fichier +texte nommé +.Pa COPYING +.Pq voir Lk https://www.gnu.org/licenses/gpl-3.0.txt . +.Pp +Lister en commentaire l'avis de copyright et la déclaration +d'autorisation de copie en en-tête de +.Em chaque +fichier source. +.Pp +Chaque copyright débute par le mot +.Ql Copyright , +en anglais, suivi des 3 caractères +.Ql (C) , +traduction ASCII du caractère © qui, quant à lui, peut ne pas être +supporté par les jeu de caractères utilisé. +Lister ensuite les années pour lesquelles une version du programme a été +publiée, avant le nom de l'auteur(e) ayant participé(e) à +sa réalisation. +Conclure chaque avis par l'adresse de contact de l'auteur(e), donnée +entre parenthèses. +.Pp +Sauter une ligne après l'avis de copyright et ajouter la déclaration +autorisant la copie telle que donnée par la Foundation pour le logiciel +libre. +.Pp +L'en-tête type d'un fichier source du programme +.Ql Foo +est : +.Bd -literal -offset Ds +/* Copyright (C) 2016-2018, 2020, 2022, 2026 + * Jeanne Lambda (jeanne.lambda@courriel.fr) + * Copyright (C) 2017, 2019 Jean Untel (juntel@courriel.fr) + * Copyright (C) 2024 |Méso|Star> (contact@meso-star.com) + * + * This file is part of Foo. + * + * Foo 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 3 of the License, or (at your option) any later + * version. + * + * Foo 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. + * + * You should have received a copy of the GNU General Public + * License along with Foo. If not, see + * <https://www.gnu.org/licenses/>. */ +.Ed +.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .Sh LES COMMENTAIRES .Sh LES FICHIERS D'EN-TÊTE .Sh LA VISIBILITÉ DES SYMBOLES @@ -255,3 +313,9 @@ des sources vient encore renforcer. .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .Sh VOIR AUSSI .Xr feature_test_macros 7 +.Pp +.Rs +.%A La Fondation pour le logiciel libre +.%T Comment utiliser les licences GNU pour vos logiciels +.%U https://www.gnu.org/licenses/gpl-howto.fr.html +.Re