Hi folks, A couple of days ago, I submitted a patch to add French manpage of wineprefixcreate, which was discarded (see attachment).
I modeled it after German winemaker addition (SHA d53e75af1474d0bd9c8b8660827baaf8fe708f4c) by adding - entries in tools/Makefile.in - a .gitignore entry for the generated manpage - actual translated manpage I guess the patch was refused because of problems in tools/Makefile.in. Basically what I added was - entry in MANPAGES - french dir in INSTALLDIRS - entries in "install install-lib" and "install install-dev" - uninstall entry In the process, I also added the wineprefixcreate En manpage in the "install install-dev". Is that problematic? Could so please tell me what I did wrong so I can fix and resubmit the patch? Thanks in advance. Frédéric
>From 14e26ada32e07f2772120aa5a1d9fbf5216b69d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= <frederic.dela...@gmail.com> Date: Mon, 12 Apr 2010 22:27:11 +0200 Subject: tools: Add French translation of wineprefixcreate manpage --- .gitignore | 1 + tools/Makefile.in | 11 ++++- tools/wineprefixcreate.fr.man.in | 81 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 3 deletions(-) create mode 100644 tools/wineprefixcreate.fr.man.in diff --git a/.gitignore b/.gitignore index d2ba32b..9287fb7 100644 --- a/.gitignore +++ b/.gitignore @@ -280,6 +280,7 @@ tools/winegcc/winegcc.man tools/winemaker.de.man tools/winemaker.man tools/wineprefixcreate +tools/wineprefixcreate.fr.man tools/wineprefixcreate.man tools/wmc/mcy.tab.c tools/wmc/mcy.tab.h diff --git a/tools/Makefile.in b/tools/Makefile.in index 526ac1b..5dd5370 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -21,7 +21,8 @@ PROGRAMS = \ MANPAGES = \ winemaker.man \ winemaker.de.man \ - wineprefixcreate.man + wineprefixcreate.man \ + wineprefixcreate.fr.man C_SRCS = \ fnt2bdf.c \ @@ -38,7 +39,8 @@ INSTALLDIRS = \ $(DESTDIR)$(datadir)/applications \ $(DESTDIR)$(datadir)/wine \ $(DESTDIR)$(mandir)/man$(prog_manext) \ - $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) + $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \ + $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext) UPDATE_DESKTOP_DATABASE = update-desktop-database @@ -79,15 +81,18 @@ install install-lib:: wine.inf wineprefixcreate $(INSTALLDIRS) $(INSTALL_DATA) wine.inf $(DESTDIR)$(datadir)/wine/wine.inf $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop $(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) + $(INSTALL_DATA) wineprefixcreate.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineprefixcreate.$(prog_manext) -$(UPDATE_DESKTOP_DATABASE) install install-dev:: $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext) $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) + $(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) + $(INSTALL_DATA) wineprefixcreate.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineprefixcreate.$(prog_manext) uninstall:: - $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop + $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop -$(UPDATE_DESKTOP_DATABASE) depend: makedep$(EXEEXT) diff --git a/tools/wineprefixcreate.fr.man.in b/tools/wineprefixcreate.fr.man.in new file mode 100644 index 0000000..97db584 --- /dev/null +++ b/tools/wineprefixcreate.fr.man.in @@ -0,0 +1,81 @@ +.\" -*- nroff -*- +.TH WINEPREFIXCREATE 1 "avril 2010" "@PACKAGE_STRING@" "Windows sur Unix" +.SH NOM +wineprefixcreate \- créer ou mettre à jour la configuration de Wine +.SH SYNOPSIS +.BI wineprefixcreate\ [options] +.SH DESCRIPTION +.B wineprefixcreate +crée ou met à jour un répertoire de configuration de Wine. Quand Wine +s'exécute, le nom de base du répertoire de configuration est spécifié +par la variable d'environnement WINEPREFIX, d'où le nom de cet outil. +.PP +.B wineprefixcreate +est appelé automatiquement par +.BR wine (1) +si vous n'avez pas encore de configuration existante. Néanmoins, il est +parfois utile de l'exécuter explicitement pour créer un répertoire +différent, ou en mettre à jour un existant. +.SH OPTIONS +.TP +.BI \--prefix\ répertoire +Crée le répertoire spécifié (ou le met à jour s'il existe déjà ). Si +cette option n'est pas spécifiée, +.B wineprefixcreate +utilise par défaut le contenu de la variable d'environnement +.IR WINEPREFIX , +ou +.I $HOME/.wine +si elle n'est pas définie. +.TP +.BR \-h ", " \--help +Affiche un message d'aide. +.TP +.BR \-q ", " \--quiet +Masque les messages de statut. +.TP +.BR \-w ", " \--wait +Attend que +.B wineserver +ait tout sauvé avant de retourner à l'appelant. C'est par exemple +nécessaire si vous prévoyez de renommer le répertoire une fois +créé ; sinon, un serveur en cours d'exécution pourrait encore +tenter d'accéder au répertoire en utilisant son ancien nom. +.SH VARIABLES D'ENVIRONNEMENT +.TP +.I WINEPREFIX +Si définie, le contenu de cette variable est pris comme le nom du répertoire où +.B wineprefixcreate +stocke ses données (la valeur par défaut est \fI$HOME/.wine\fR). Tous les processus +.B wine +utilisant le même préfixe partagent certains éléments comme la base de registre, +la mémoire partagée et les objets du noyau. +En donnant à +.I WINEPREFIX +une valeur spécifique pour différents processus Wine, il est possible d'exécuter plusieurs +sessions de Wine totalement indépendantes. +.SH FILES +.TP +.B ~/.wine +Emplacement par défaut des données de configuration de +.BR wine . +.SH AUTEURS +De nombreuses personnes ont contribué au développement de Wine. +Référez-vous au fichier Changelog dans la distribution de Wine pour les détails complets. +.SH ANOMALIES +Si vous rencontrez une anomalie, veuillez soumettre un rapport d'anomalie sur +.UR http://bugs.winehq.org +.BR http://bugs.winehq.org . +.UE +.SH AVAILABILITY +.B wineprefixcreate +fait partie de la distribution de Wine qui est disponible depuis WineHQ, +le quartier général des développeurs de Wine, sur +.UR http://www.winehq.org/ +.BR http://www.winehq.org/ . +.UE +.br +Il est distribué sous les termes de la Licence publique générale limitée GNU (LGPL). +.SH "VOIR AUSSI" +.BR wine (1), +.BR wineserver (1). -- 1.7.0.4