Re: [Gimp-docs] make html-en fails
On Mon, May 14, 2018 at 07:00:43PM +0200, Julien Hardelin wrote: > Under Ubuntu-18.04, I git cloned gimp-help-2. > > ./autogen.sh has no problem. > > When I run make html-en, I get the error: > > //gimp-help-2$ make html-en// > //Copying images (en) ... 1864// > //Cleaning up 'en' xml files ...// > //*** Making html for en ... // > //I/O error : Attempt to load network entity > //http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl// > //warning: failed to load external entity > //"http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"// > //compilation error: file stylesheets/plainhtml.xsl line 10 element import// > //xsl:import : unable to load > //http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl// > //Makefile:1400: recipe for target 'html/en/index.html' failed// > //make: *** [html/en/index.html] Error 5/ > > When I go to the address, I can find chunk.xsl. > > I don't understand why make html-en fails If I remember correctly (I did not build gimp-help-2 for several years), the Makefile variable "XSLTFLAGS = --nonet" should prevent this. This should be set by default unless "./configure --enable-network" (or "./autogen.sh --enable-network") is specified. Bye, Ulf -- Fanatismus ist die Willenskraft der Dummen, derer, die zu allem fähig sind, sonst aber zu nichts. -- Karlheinz Deschner signature.asc Description: Digital signature ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] 'make pdf' fails
On Fri, Dec 11, 2015 at 09:19:29PM +0100, Julien Hardelin wrote: > > "So it seems that all you have to do is to install the proper > package from your distribution (e.g. texlive-lang-french or > babel-french)" > > Unfortunately no. texlive-lang-french has been installed from a long > tme and babel-french is unknown in my system. Hmpff. Ok: Under openSUSE all you have to is ... I tried to make pdf-fr under Debian and failed. But after installing texlive-tetex it worked! (I did not yet try Norwegian pdf, though.) texlive-tetex seems to be necessary for creating some fonts or so (I don't care, see /var/lib/texmf/web2c/xetex/...) Bye, Ulf -- Wer sich über die Bibel nicht empört, kennt sie nicht. Oder ist zu feige oder innerlich zu unfrei, sich zu empören. -- Franz Buggle, "Denn sie wissen nicht, was sie glauben." signature.asc Description: Digital signature ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] 'make pdf' fails
On Thu, Dec 10, 2015 at 08:31:08AM +0100, Julien Hardelin wrote: > I downloaded the babel-french package. Its installation is not clear fo me : > > == INSTALLATION == > If the latest version of this package is not included in your LaTeX > distribution, do the following: > * issue "luatex frenchb.ins" to unpack the language definition files, > * copy the files frenchb.ldf and frenchb.lua to a location where TeX > can find them (default location: $TEXMF/tex/generic/babel-french/)./ > > Please, could you explain me all that? Note that my solution worked for me, but that does not mean that it's the correct/best/only way. You should first check how it works under openSUSE-Leap, e.g. check /path/to/dblatex/.../lang.xsl, check which babel or french package are installed, etc. Maybe there's a much better way (without patching dblatex). And remember that I bypassed the openSUSE package system, I'm using a Tex Live DVD. All *I* had to do was "tlmgr install babel-french"... > Consider me as a newbie in this domain. ... and that's all I know - I'm a newbie too! I recommend that you install the proper Ubuntu (or Debian?) package, e.g. http://packages.ubuntu.com/wily/texlive-lang-french or https://packages.debian.org/jessie/texlive-lang-french Alternatively you can try to just follow the instructions. Set TEXMF to ~/.texmf and install the files: luatex frenchb.ins TEXMF=~/.texmf mkdir -vp $TEXMF/{tex,source,doc}/generic/babel-french cp -pv frenchb.{ldf,lua} $TEXMF/tex/generic/babel-french cp -pv frenchb.{dtx,ins} $TEXMF/source/generic/babel-french cp -pv frenchb.pdf README $TEXMF/doc/generic/babel-french Look easy. :) Good luck! ;) Bye, Ulf -- Wer über den Berg ist - geht abwärts. -- Karlheinz Deschner signature.asc Description: Digital signature ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] OT: experimenting with docbook-xml
On Sun, Sep 21, 2014 at 03:18:14AM +0200, Marco Ciampa wrote: Since I want to understand a bit more about the gimp build sistem I am trying to do the things by hand. I do not know automake/autotool so I do not really know how html, for instance, files are created. I copied all xml dir outside gimp tree dir and tried to build html by hand and failed miserably. I do not know docbook-xml either and I now know I was a bit naive thinking that a mere docbook2html it/gimp.xml will suffice. Can anyone help me understand? What I am missing? A simple way to see what's happening is make --dry-run what_ever | less So in the gimp-help directory try e.g. make --dry-run html-en | less to see how the English html manual is built, while make --dry-run html-it | less will show you how to build a translated manual. You will see that the main tool is xsltproc; I don't know docbook2html and can't tell you if (and how) it can be used to create html. Bye, Ulf -- Nur wirklich kalte Seelen konnten das Höllenfeuer erfinden. -- Michael Schmidt-Salomon signature.asc Description: Digital signature ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] check-images error
On Fri, Nov 23, 2012 at 07:22:21PM +0100, Kolbj�rn Stuest�l wrote: [...] But of course, if someone has an answer … Kolbjoern No answer, but... I have modified the script a little bit (and also slightly changed the syntax) - who knows, maybe it's working now. Ulf -- Pleonasmus: Aberglaube. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] No module named libxml2
On Sat, Sep 15, 2012 at 06:26:42PM +0200, Kolbj�rn Stuest�l wrote: Moving my work on GIMP to another computer I run into some problems. Example: make validate-nn Result: [XML] xml/nn/filters/alpha-to-logo.xml Traceback (most recent call last): File .tools/xml2po.py, line 191, in module mainsys.argv[1:] File .tools/xml2po.py, line 88, in Main from xml2po import Main File /bin/GIMP/gimp-help-2/tools/xml2po/__init__.py, line 27, in module import libxml2 ImportError: No module named libxml2 Running python 2.6. I do not know about programming in Python. I do have a libxml2/libxml directory installed ( in usr/include/libxml2) but no separate files with this name. Question: Where is __init__.py looking for includes? Usually Python is looking for /usr/lib*/python*/site-packages/libxml2.py (try python -c import sysconfig; print sysconfig.get_path('sitelib')). How to fix this? Install package libxml2-python (or similar, I don't know Cygwin). Other fixes needed? Neither does make check-images-nn works as suggested, but I think this is another question. Error messages? I am running Cygwin on Windows 7. This (Windows) *is* a bug... ;-) Ulf -- Wer beleidigt, braucht nicht unrecht haben; es gibt Köpfe, denen man erst Verstand liefern müßte, um sie überzeugen zu können. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] My contribution to spanish gimp documentation
On Thu, Sep 13, 2012 at 02:45:37PM +0200, Guiu Rocafort wrote: Hi, after sending the patch I'm not able to do git pull anymore in the gimp-help-2 repository. The error it throws is the next: guiu@guiu-N50Vc:~/src/gimp-help-2$ git pull Updating 2817d87..0f50720 error: Your local changes to the following files would be overwritten by merge: po/es/dialogs.po po/es/filters/render.po po/es/introduction.po po/es/toolbox/transform.po Please, commit your changes or stash them before you can merge. Aborting I've tried to stag the files using git add file for every file it report problems, but I had no success with that. I'm sorry for annoying you with my newbie git problems. You can try 1) git add po/es git commit -m Your commit message git pull --rebase git format-patch -1 # not sure about the -1 or 2) git diff your_saved_changes.patch # paranoia... git stash git pull git stash apply # don't know: can this fail? git stash drop # only if apply succeeded or 3) git diff your_saved_changes.patch git checkout po/es git pull patch -p1 your_saved_changes.patch If some command failes or something goes wrong, git prints an error message and usually a useful tip. git help command prints detailed infos about the specified git command (man git-command should do the same). But note that I'm a git newbie too... HTH, Ulf -- Mißtraut denen, die da sagen, dass Gott auf ihrer Seite steht. Sie sind nur so nah ihrem Gott, weil sie so fern dem Menschen sind. -- Michael Schmidt-Salomon ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] My contribution to spanish gimp documentation
On Tue, Sep 11, 2012 at 05:57:24PM +0200, Guiu Rocafort wrote: Hey list ! I've been translating the spanish documentation. I attach the patch with the changes I made. Thanks. I have committed your patch and also checked if the resulting XML files are valid (no errors). Great work! :-) I also have a question, i've been trying to find what .po file contains the gimp-introduction-whats-new.html text, but I'm not able to find it. I would have translated and revised more of the manual, but unfortunately I'm stuck with this problem. You'll find source file with $ grep -nr gimp-introduction-whats-new src/ src/introduction/whats-new.xml:9:sect1 id=... ... We use one po file per directory, so po/es/introduction.po contains all messages of src/introduction/*.xml, including the text of gimp-introduction-whats-new.html. Ulf -- Die Erfindung der Sünde war eine große Sünde wider die Menschheit. -- Michael Schmidt-Salomon ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] Help translating
On Sun, Aug 26, 2012 at 09:49:48PM +0200, scl wrote: I'm interested in documenting and translating GIMP doc and UI to German, too. Currently I'm bug triaging and getting into deeper touch with the 'GIMP'-insides, all with a budget of few hours a week. I'll drop you a note when I'm ready to support you. Where do you need the most help on? I'm afraid that I'm not up-to-date, but I think that new or changed features (like Save vs. Export) are the best choice. If, however, you find other sections more interesting, feel free to translate whatever you want. Every help is appreciated. ;) What should I know of the GIMP documentation and translation processes? It depends: do you have cloned the gimp-help-2 repository? [1] Or do you want to work via Damned Lies? [2][3] Ulf [1] git://git.gnome.org/gimp-help-2 [2] http://l10n.gnome.org/module/gimp-help-2/ [3] http://l10n.gnome.org/help/vertimus_workflow/ -- Die Menschen fürchten das Morgen und haben aus ihrer Furcht einen Gott gemacht. -- Terry Pratchett, Weiberregiment ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] Figures for each language on docs.gimp.org
Hi Roman, I don't know if I can solve your problem (and I have no idea why everything worked for 2.6, but not for 2.8), but here are my thoughts/suggestions: On Fri, Jul 20, 2012 at 08:36:04PM +1000, Roman Joost wrote: Build steps are: make clean ./autogen.sh --without-gimp make validate-all (Tip: make -k [or --keep-going] validate-all may be better, this will continue even if validating one language fails.) make html for i in `find ./html -name 'images' -type l`; do ln -sf -T ../images/$(basename $(dirname $i)) $i; done I don't see what you want to achieve with this command, but I'm quite sure it will not work as expected - local or remote. (If you really need something like this, we should better add a new 'make' target.) for i in html/ images xml; do\ rsync -avzr -e ssh $i cube:/htdocs/2.8/; done I don't use rsync (so maybe I'm wrong), but IMHO you can use rsync -avzr -e ssh \ --relative \ --delete \ images xml/*/images html \ cube:/htdocs/2.8/ Then you should have a working copy under cube:/htdocs/2.8/: htdocs/2.8/html/LANG htdocs/2.8/html/LANG/images - ../../xml/LANG/images htdocs/2.8/images htdocs/2.8/xml/LANG htdocs/2.8/xml/LANG/images # containing proper symlinks and .. In the second last step, I'm repointing the the image links to one level above the HTML directory. That's because the 2.8 directory holds the whole structure and sub-directories: /2.8/html/... /2.8/images/... /2.8/xml/... ... if you create an alias for every language http://docs.gimp.org/2.8/LANG/ = htdocs/2.8/html/LANG it should work[*]. Ulf [*] It won't work, of course, I surely missed something... ;-) -- Jeder hat zunächst den Gottesglauben, den man ihm aufgeschwatzt hat; aber allmählich hat er den, den er verdient. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] Can't get a stable build
On Sun, Jun 24, 2012 at 12:32:35PM +1000, Roman Joost wrote: I've spend now quite some time on this and can't really reproduce what's wrong, because it seems to happen quite arbitrary. What I get is: [PO] po/ko/using.po po/ko/using.po:2339: `msgid' and `msgstr' entries do not both begin with '\n' po/ko/using.po:2442: `msgid' and `msgstr' entries do not both begin with '\n' po/ko/using.po:3278: `msgid' and `msgstr' entries do not both begin with '\n' /usr/bin/msgfmt: found 3 fatal errors 449 translated messages, 311 fuzzy translations, 314 untranslated messages. make: *** [po/ko/using.po] Error 70 make: *** Deleting file `po/ko/using.po' If I ran the build again, this error comes up with a po file in a different language. I wonder if it is a version problem of automake, i18ntools (e.g. msgfmt) or perhaps our customized version of xml2po. Usually those strange error messages *really* mean that a po file is broken and messes up everything... Any pointers appreciated. Some fuzzy message strings make trouble. msgformat worked for me when I called it without the --use-fuzzy option: msgfmt --check --statistics -o /dev/null po/ko/using.po so you could try e.g. make ... MSGFMTFLAGS=--check --statistics Maybe we should simply remove this option? However, with --use-fuzzy msgfmt reports line 1335, ... #: src/using/script-fu-tutorial.xml:446(programlisting) #, fuzzy, no-wrap msgid \n (let*\n (\n (x\n '(\GIMP\ (1 2 3) (\is\ (\great\ () ) ) )\n )\n )\n x\n )\n msgstr 김프 사용자 설명서가 없습니다. ... line 1415, ... #: src/using/script-fu-tutorial.xml:512(programlisting) #, fuzzy, no-wrap msgid \n (let* (\n (a 1)\n (b 2)\n (c 3)\n )\n \n (list 5 4 3 a b c)\n )\n msgstr 언어 목록 ... and line 2040: #: src/using/script-fu-tutorial.xml:1203(programlisting) #, fuzzy, no-wrap msgid \n (gimp-display-new theImage)\n msgstr 새 인스턴스로 김프를 시작합니다. Hmm, meanwhile I'm quite sure that we should remove thet option... Ulf -- Die guten Christen sind am gefährlichsten - man verwechselt sie mit dem Christentum. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] release procedure
On Wed, Jun 13, 2012 at 06:24:44PM +0200, Marco Ciampa wrote: Sorry if I sound a little bit a bureaucrat but I want to propose a rule for the version releases, similar to the string freeze for the programs. Sometimes the manual reach a state the could be safely published. When we decide that that time is reached, I propose to publish a Request For Publication, here in this list, that means that the version branch is created (say gimp-2.8.1 for example..) and the tar balls are delayed for as long as 2 weeks. In that period of time, translators can try do updated and finish their work to reach a, as far as possible, complete multilanguage version of the manual. This is a kind of RFC :-) please say what you think about it. Explicitely requesting a new release seems to be a good idea. (Unless a new major version (2.10.0 or 3.0.0) is released, we don't need a new branch, just a tag for the new release - and even this is not really necessary.) Ulf -- Sie vernichten Getreide - und sammeln Brot für die Welt. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] GIMP mouse and key quickreference
On Wed, Jun 13, 2012 at 08:49:27PM +1000, Roman Joost wrote: On Tue, Jun 12, 2012 at 06:32:20PM +0200, Ulf-D. Ehlert wrote: On Mon, Jun 11, 2012 at 05:17:33PM +0200, Marco Ciampa wrote: 1) please update the .pot file and describe how to do it ... 2) ... possibly via make update-pot 3) update Makefile.in to incorporate make update-po-xx or something similar to automate update handling It looks like there is simply no rule to create the pot file, and also no rule to update po files. I guess that Roman updates these files manually (on demand?). Actually, I've never spend time on checking if the pot is updated. IMHO adding two new rules [...] Yeh - that should do the trick. Thank you! I have pushed my changes. After ./autogen.sh ... or automake # this should update quickreference/Makefile.in ./configure ... # this should update quickreference/Makefile you should be able to update pot and po files in quickreference with (cd quickreference make pot) and/or (cd quickreference make po-LANG # 'make po' for all languages) It may be necessary to touch quickreference/gimp-keys.xml. Ulf -- Frage an Schiller: kann das Gesetz der Freund des Schwachen sein, wenn es die Mächtigen machen? -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] Set resolution. Bulk
On Sun, May 27, 2012 at 09:49:25PM +0200, Kolbj�rn Stuest�l wrote: $ mogrify -units PixelsPerInch -density 144x144 path/folder/*.png did the trick. It changed the image resolution for all images in the folder. Attention: If I remember correctly, only images with a certain minimum size (especially screenshots) should be converted this way, but not tiny images like icons. Ulf -- Beten heißt den Himmel melken wollen. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] help building help
On Sun, Apr 29, 2012 at 07:27:58PM +0200, Marco Ciampa wrote: On Sun, Apr 29, 2012 at 06:55:09PM +0200, Ulf-D. Ehlert wrote: [...] Simply touch 'src/dialogs/export-file-dialog.xml' and try again: $ touch -c src/dialogs/export-file-dialog.xml $ make po-it Umf perhaps I now understand what is going on here: I have modified the xml file during the editing of a .po file. I've modified the xml file and _then_ I've saved the .po file. Is there a method to reset it all without 'touch'ing all xml files? Hmm, what do you mean with reset? You can force re-making a po file with $ make po/it/path/to/file.po (I guess your problem was exactly the reason why I added this.) Additionally, we could add a new make command/target, e.g. $ make force-po-it to re-make *all* your po files. You still had to remember that this command exists... Ulf -- Mißtraut denen, die da sagen, dass Gott auf ihrer Seite steht. Sie sind nur so nah ihrem Gott, weil sie so fern dem Menschen sind. -- Michael Schmidt-Salomon ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] help building help
On Sun, Apr 29, 2012 at 04:41:12PM +0200, Marco Ciampa wrote: I've just committed two small fix in src/dialogs/export-file-dialog.xml how can I make make aware of it? This should work automatically, 'make' checks the timestamps. If I do a make status-it it does not update the po files. Most likely, your po file is newer than the source (xml) file. Check it with $ ls -l src/dialogs/export-file-dialog.xml po/it/dialogs.po make clean does not help. Any hint? Simply touch 'src/dialogs/export-file-dialog.xml' and try again: $ touch -c src/dialogs/export-file-dialog.xml $ make po-it Ulf -- Ich denke, also bin ich kein Christ. -- 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 validate problem
On Fri, Mar 16, 2012 at 02:52:28PM +0100, Julien Hardelin wrote: A.simple example to test is attached (please save your gimp.xml before installing). When I create a link to a new file (which has the ID), I get the error : /IDREF attribute linkend references an unknown ID/ I tried and tried again in multiple ways and I have always this error. Did you really include this new file somewhere? Your gimp.xml includes test-id.xml, but not test-identif.xml, so your resulting document contains link linkend=test-identifTeste ID/link but *not* sect1 id=test-identif and you are indeed referencing an unknown id. Ulf PS: You should always start a new thread for every new topic. -- Wer beleidigt, braucht nicht unrecht haben; es gibt Köpfe, denen man erst Verstand liefern müßte, um sie überzeugen zu können. -- 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 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 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 $_ 21`; @@ -180,7 +184,7 @@ my $msg_re = qr/^ (\S+) \s # $1 = filename (?: (\S+) \s untranslated \D+ )? # $5 = untranslated msgs. $/ix; while (MSGFMT) { - 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 broken?
Aaaah! :) It's so easy to overlook -- I found it when I compared the Makefiles: On Tue, Feb 28, 2012 at 03:10:24PM +0100, Julien Hardelin wrote: ./autogen.sh --without-gimp ALL_LINGUAS=en, fr No comma! Use ... ALL_LINGUAS=en fr I'll check how we can catch this invalid input. Happy GIMPing again! Ulf -- Wenn die Affen katholisch würden und der Kirche nützten, ich bin sicher, sie sprächen einige heilig. - Aber haben wir denn diesen Fall nicht schon? -- 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 broken?
On Mon, Feb 27, 2012 at 07:20:57AM +0100, Julien Hardelin wrote: /Makefile:496: xml/en,/.deps.mk: No file or folder of this type Makefile:496: xml/fr/.deps.mk: No file or folder of this type These are just warnings, the missing files are created automatically. Makefile:1220: ***Mixing implicit and static rules for the pattern. Stop. /(messages translated) Please, post line 1220 (plus a few line before and after line 1220). Ulf -- Fanatismus ist die Willenskraft der Dummen, derer, die zu allem fähig sind, sonst aber zu nichts. -- 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 broken?
I can't reproduce it (I tried it with git archive instead of git clone, but this shouldn't make a difference). Both make-3.81 and make-3.82 worked fine. Which command did you try? Just make? Does make --debug give some useful information? Does it work with make -r? Do you get the same result with the attached Makefile? Ulf -- Jeder Staat beruht auf Macht, jede Macht auf Gewalt, und Gewalt, sagt Einstein, zieht stets moralisch Minderwertige an. -- Karlheinz Deschner PO_LANGS = de fr POT_FILES = pot/foo.pot pot/bar/baz.pot all: $(foreach LANG,$(PO_LANGS),po-$(LANG)) @echo Making $@ ($?) define MAKE_PO_RULES $(1)_PO_FILES = $$(patsubst pot/%.pot, po/$(1)/%.po, $$(POT_FILES)) ifeq ($$(filter po/$(1)/%.po,$$(MAKECMDGOALS)),) $$($(1)_PO_FILES): po/$(1)/%.po : pot/%.pot else $$($(1)_PO_FILES): po/$(1)/%.po : pot/%.pot FORCE endif @echo Making $$@ ($$?) po-$(1): $$($(1)_PO_FILES) @echo Making $$@ ($$?) endef $(foreach LANG,$(PO_LANGS),$(eval $(call MAKE_PO_RULES,$(LANG $(POT_FILES): @echo Making $@ FORCE: @echo Making $@ ___ gimp-docs-list mailing list gimp-docs-list@gnome.org http://mail.gnome.org/mailman/listinfo/gimp-docs-list