Re: [Gimp-docs] make status problem
On Sat, Mar 10, 2012 at 11:33:00PM +0100, Marco Ciampa wrote: > BTW: has this any sense: tools/create_changelog.py ? Looks like this is a script (plugin?) to edit CVS or SVN Changelogs with Vim. So you can safely remove it IMO. Roman is far away... ;) Ulf -- Pleonasmus: Aberglaube. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] make status problem
On Sat, Mar 10, 2012 at 11:21:39PM +0100, Marco Ciampa wrote: > On Sat, Mar 10, 2012 at 10:19:20PM +0100, Ulf-D. Ehlert wrote: > > On Sat, Mar 10, 2012 at 09:26:53PM +0100, Marco Ciampa wrote: > > [...] > > > Done. No errors. That error number 29 ... who is firing it? > > > Make? Then why and what it means? > > > > Good questions. I don't know why the error number is 29, but the > > error message came from the Perl script that generates the status > > report. So your pofiles are ok, it was a bug (sorry, I should have > > noticed it sooner...). > > > > Try the attached patch - hope it works. > > It worked perfectly. I think you can push it. As usual, many thanks. BTW: has this any sense: tools/create_changelog.py ? -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 | ++ ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] make status problem
On Sat, Mar 10, 2012 at 10:19:20PM +0100, Ulf-D. Ehlert wrote: > On Sat, Mar 10, 2012 at 09:26:53PM +0100, Marco Ciampa wrote: > [...] > > Done. No errors. That error number 29 ... who is firing it? > > Make? Then why and what it means? > > Good questions. I don't know why the error number is 29, but the > error message came from the Perl script that generates the status > report. So your pofiles are ok, it was a bug (sorry, I should have > noticed it sooner...). > > Try the attached patch - hope it works. It worked perfectly. I think you can push it. As usual, many thanks. -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 | ++ ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] make status problem
On Sat, Mar 10, 2012 at 09:26:53PM +0100, Marco Ciampa wrote: [...] > Done. No errors. That error number 29 ... who is firing it? > Make? Then why and what it means? Good questions. I don't know why the error number is 29, but the error message came from the Perl script that generates the status report. So your pofiles are ok, it was a bug (sorry, I should have noticed it sooner...). Try the attached patch - hope it works. Ulf -- Wer über den Berg ist - geht abwärts. -- Karlheinz Deschner diff --git a/tools/get_po_status.pl b/tools/get_po_status.pl index 0ff2cd9..ab55027 100755 --- a/tools/get_po_status.pl +++ b/tools/get_po_status.pl @@ -1,7 +1,7 @@ #!/usr/bin/env perl # # gimp-help-2 -- get translation status -# Copyright (C) 2008-2011 The GIMP Documentation Team. +# Copyright (C) 2008-2012 The GIMP Documentation Team. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -48,12 +48,14 @@ use strict; use Getopt::Long; use File::Find; -my $PROG = $0; -my $VERSION = 0.03; +my $PROG = ($0 =~ s,.*/,,); +my $VERSION = 0.04; my %Languages = ( + ca => "Catalan", da => "Danish", de => "German", + el => "Greek", es => "Spanish", fi => "Finnish", fr => "French", @@ -68,6 +70,7 @@ my %Languages = ( nl => "Dutch", pl => "Polish", ru => "Russian", + sl => "Slovenian", sv => "Swedish", ); @@ -157,6 +160,7 @@ die "ERROR: Cannot fork: $!\n" unless defined $pid; if ($pid == 0) { # Child process $ENV{"LANG"} = "C"; + $ENV{"LC_ALL"} = "C"; for (sort @Pofiles) { # XXX: is "--output-file=/dev/null" portable? my $statistics = `msgfmt --statistics --output-file=/dev/null $_ 2>&1`; @@ -180,7 +184,7 @@ my $msg_re = qr/^ (\S+) \s # $1 = filename (?: (\S+) \s untranslated \D+ )? # $5 = untranslated msgs. $/ix; while () { - m/$msg_re/ or die("ERROR matching msgfmt output '$_'\n"); + m/$msg_re/ or die("\n$PROG: ERROR matching msgfmt output '$_'\n"); my ($n, $s, $t, $f, $u) = ($1, $2, $3, $4 || 0, $5 || 0); # print and save file statistics handle_file_statistics($n, $s, $t, $f, $u); @@ -249,7 +253,7 @@ Ulf-D. Ehlert =head1 COPYRIGHT -(C) 2008-2011 The GIMP Documentation Team. +(C) 2008-2012 The GIMP Documentation Team. License: GPL ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] make status problem
On Sat, Mar 10, 2012 at 08:46:24PM +0100, Ulf-D. Ehlert wrote: > On Sat, Mar 10, 2012 at 02:45:59PM +0100, Marco Ciampa wrote: > > $msgfmt --statistics po/it/concepts.po >/dev/null > > 982 messaggi tradotti. > > > > (no error) > > > > msgfmt --check po/it/concepts.po > > > > (no message = no error) > > > > make status-it > > [SRC] src/preface/authors.xml > > Cleaning up 'it' po files ... > > ERROR matching msgfmt output 'po/it/appendix.po 216107 679 messaggi > > tradotti. > > ' > > make: *** [po-status-it] Errore 29 > > Then try it with all po files you have edited -- or even with all > po files: > find po/it -type f | \ > while read f; do echo $f `msgfmt --check $f`; done > > Ulf Done. No errors. That error number 29 ... who is firing it? Make? Then why and what it means? -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 | ++ ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] make status problem
On Sat, Mar 10, 2012 at 02:45:59PM +0100, Marco Ciampa wrote: > $msgfmt --statistics po/it/concepts.po >/dev/null > 982 messaggi tradotti. > > (no error) > > msgfmt --check po/it/concepts.po > > (no message = no error) > > make status-it > [SRC] src/preface/authors.xml > Cleaning up 'it' po files ... > ERROR matching msgfmt output 'po/it/appendix.po 216107 679 messaggi tradotti. > ' > make: *** [po-status-it] Errore 29 Then try it with all po files you have edited -- or even with all po files: find po/it -type f | \ while read f; do echo $f `msgfmt --check $f`; done Ulf -- Wer über den Berg ist - geht abwärts. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] make status problem
On Fri, Mar 09, 2012 at 08:28:37PM +0100, Ulf-D. Ehlert wrote: > On Fri, Mar 09, 2012 at 07:07:02PM +0100, Marco Ciampa wrote: > > marco@lap2-ciampix:~/git-gnome/gimp-help-2$ make status-it > [...] > > ERROR matching msgfmt output 'po/it/appendix.po 216107 679 messaggi > > tradotti. > > ' > > make: *** [po-status-it] Errore 29 > > Maybe "po/it/concepts.po" (the next file in the list of pofiles) is > broken; try e.g. > msgfmt --statistics po/it/concepts.po >/dev/null > or > msgfmt --check po/it/concepts.po > > Ulf > > $msgfmt --statistics po/it/concepts.po >/dev/null 982 messaggi tradotti. (no error) msgfmt --check po/it/concepts.po (no message = no error) make status-it [SRC] src/preface/authors.xml Cleaning up 'it' po files ... ERROR matching msgfmt output 'po/it/appendix.po 216107 679 messaggi tradotti. ' make: *** [po-status-it] Errore 29 (error still there...) -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 | ++ ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] make status problem
On Fri, Mar 09, 2012 at 07:07:02PM +0100, Marco Ciampa wrote: > marco@lap2-ciampix:~/git-gnome/gimp-help-2$ make status-it [...] > ERROR matching msgfmt output 'po/it/appendix.po 216107 679 messaggi tradotti. > ' > make: *** [po-status-it] Errore 29 Maybe "po/it/concepts.po" (the next file in the list of pofiles) is broken; try e.g. msgfmt --statistics po/it/concepts.po >/dev/null or msgfmt --check po/it/concepts.po Ulf -- Wer immer wieder Abweichungen vom Evangelium beklagt, verkennt, daß Jesus und seine Jünger theologisch noch in den Kinderschuhen steckten und erst viel später die Päpste deutlich zu sagen vermochten, was der Erlöser und seine Apostel eigentlich gemeint, was sie vielleicht nicht so gesagt oder ganz anders gesagt oder überhaupt nicht gesagt haben, weil sie es noch nicht besser oder gar nicht sagen konnten, doch sicher sagen wollten und auch gesagt hätten, wären sie schon so schlau gewesen wie die Päpste. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
[Gimp-docs] make status problem
marco@lap2-ciampix:~/git-gnome/gimp-help-2$ make validate-it [SRC] src/preface/authors.xml it: no errors. marco@lap2-ciampix:~/git-gnome/gimp-help-2$ make html-it [SRC] src/preface/authors.xml Cleaning up 'it' po files ... Cleaning up 'it' xml files ... marco@lap2-ciampix:~/git-gnome/gimp-help-2$ make status-it [SRC] src/preface/authors.xml Cleaning up 'it' po files ... ERROR matching msgfmt output 'po/it/appendix.po 216107 679 messaggi tradotti. ' make: *** [po-status-it] Errore 29 ??? Any hint? -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 | ++ ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list