no make for color-management.xml
This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
no make for color-management.xml | Kolbjørn Stuestøl | 08 Jul 23:22 |
no make for color-management.xml | Roman Joost | 09 Jul 10:26 |
no make for color-management.xml | Sven Neumann | 10 Jul 08:31 |
no make for color-management.xml | Kolbjørn Stuestøl | 11 Jul 13:04 |
no make for color-management.xml | Roman Joost | 13 Jul 14:23 |
no make for color-management.xml | Kolbjørn Stuestøl | 14 Jul 22:52 |
no make for color-management.xml | Kolbjørn Stuestøl | 15 Jul 22:44 |
no make for color-management.xml | Ulf-D. Ehlert | 16 Jul 12:43 |
no make for color-management.xml | Ulf-D. Ehlert | 16 Jul 21:02 |
no make for color-management.xml | Kolbjørn Stuestøl | 17 Jul 00:34 |
no make for color-management.xml
When running 'make' (make ALL_LINGUAS="no") the file
"concepts/color-management.xml" is not found.
No HTML code generated for 'no' from this file.
I have checked for the "normal" errors such as missing lang tags etc.
(Copy: '
').
Moreover: When running "svn diff" all my changes are recognized, also
those in the "color-management.xml". The only exception is that instead
of the usual error message generated from the revision tag when running
"patch -p0..." ("Hunk #2 FAILED at 36") I now get "Hunk #2 succeeded at
36 with fuzz 2".
Running make ALL_LINGUAS="en de" makes the HTML, including color management. (Have not tried other languages).
I do have run "autogen.sh" with the latest updatings and "make clean"
and also have checked for unwanted line feeds etc.(but you never
knows...). Even tried the Windows solution to all problems: restart and
the Linux equivalent: reload ;-)
I'm using Notepad++ and Cygwin.
Perhaps one of the unexplainable errors?
Any suggestions?
Kolbj?rn Stuest?l
no make for color-management.xml
Hi Kolbj?rn,
On Tue, Jul 08, 2008 at 11:22:09PM +0200, Kolbj?rn Stuest?l wrote:
When running 'make' (make ALL_LINGUAS="no") the file "concepts/color-management.xml" is not found.
Actually, you always want to compile the HTML files including English:
make ALL_LINGUAS="en no"
because English is the current fallback language if no translation for Norwegian exist.
No HTML code generated for 'no' from this file.
I just tested and got no error.
I have checked for the "normal" errors such as missing lang tags etc. (Copy: '
').
Moreover: When running "svn diff" all my changes are recognized, also those in the "color-management.xml". The only exception is that instead of the usual error message generated from the revision tag when running "patch -p0..." ("Hunk #2 FAILED at 36") I now get "Hunk #2 succeeded at 36 with fuzz 2".Running make ALL_LINGUAS="en de" makes the HTML, including color management. (Have not tried other languages).
Hm... everything up to date? Do a 'svn up' to verify that ...
Greetings,
no make for color-management.xml
Hi,
On Wed, 2008-07-09 at 10:26 +0200, Roman Joost wrote:
Actually, you always want to compile the HTML files including English:
make ALL_LINGUAS="en no"
because English is the current fallback language if no translation for Norwegian exist.
That doesn't matter for a translator, right? And users should be using the releases with pre-compiled HTML files anyway.
Sven
no make for color-management.xml
Roman Joost skreiv:
Hi Kolbj?rn,
On Tue, Jul 08, 2008 at 11:22:09PM +0200, Kolbj?rn Stuest?l wrote:
When running 'make' (make ALL_LINGUAS="no") the file "concepts/color-management.xml" is not found.
Actually, you always want to compile the HTML files including English:
make ALL_LINGUAS="en no"
because English is the current fallback language if no translation for Norwegian exist.
No HTML code generated for 'no' from this file.
I just tested and got no error.
I have checked for the "normal" errors such as missing lang tags etc. (Copy: '
').
Moreover: When running "svn diff" all my changes are recognized, also those in the "color-management.xml". The only exception is that instead of the usual error message generated from the revision tag when running "patch -p0..." ("Hunk #2 FAILED at 36") I now get "Hunk #2 succeeded at 36 with fuzz 2".Running make ALL_LINGUAS="en de" makes the HTML, including color management. (Have not tried other languages).
Hm... everything up to date? Do a 'svn up' to verify that ...
Thank you Roman for giving a try.
Yes, I tried both svn update and svn checkout after deleting the file
"color-management.xml".
As "svn diff" recognized the difference, it probably is a problem in the
make part of the program. Looks like "make validate" do not see or
recognize the 'no' in the lang tag. As an experiment I added the missing
'no' tags by hand directly to the xml/no.xml file generated by the
"make", and thereafter run make ALL_LINGUAS="no" and got the missing
HTML codes. But that's not the solution ;-)
Someone who knows what "make" are looking for (other than the lang tags)
when generating the HTML? I do not know a way to trace or step the
running of any command in Cygwin. Someone knows?
When I started translating there was a problem somewhere as the program
read the lang tag 'no' as no (opposite of yes) but I do not think this
is the problem now as all other files as far as I know are recognized.
Should be happy to find another file not translated to Norwegian to give
it a try.
At the moment I do not add the Norwegian translation of the
color-management.xml file and comment out the links to this file. But am
still trying to find a solution.
Kolbj?rn
Greetings,
------------------------------------------------------------------------
no make for color-management.xml
Hi Kolbj?rn,
On Fri, Jul 11, 2008 at 01:04:18PM +0200, Kolbj?rn Stuest?l wrote:
Thank you Roman for giving a try. Yes, I tried both svn update and svn checkout after deleting the file "color-management.xml".
As "svn diff" recognized the difference, it probably is a problem in the make part of the program. Looks like "make validate" do not see or recognize the 'no' in the lang tag. As an experiment I added the missing 'no' tags by hand directly to the xml/no.xml file generated by the "make", and thereafter run make ALL_LINGUAS="no" and got the missing HTML codes. But that's not the solution ;-)
That's weird, because IMHO there is no no.xml create if make validate fails ...
Someone who knows what "make" are looking for (other than the lang tags) when generating the HTML? I do not know a way to trace or step the running of any command in Cygwin. Someone knows?
Actually make does not look for "something", the only command it's executing is:
xsltproc --xinclude --stringparam profile.lang no stylesheets/profile.xsl xml/no.xml
to profile the XML into Norwegian only DocBook/XML.
When I started translating there was a problem somewhere as the program read the lang tag 'no' as no (opposite of yes) but I do not think this is the problem now as all other files as far as I know are recognized. Should be happy to find another file not translated to Norwegian to give it a try.
At the moment I do not add the Norwegian translation of the color-management.xml file and comment out the links to this file. But am still trying to find a solution.
I still don't really get were to look for and still tapping in the dark ...
Greetings,
no make for color-management.xml
Roman Joost skreiv:
Hi Kolbj?rn,
On Fri, Jul 11, 2008 at 01:04:18PM +0200, Kolbj?rn Stuest?l wrote:
Thank you Roman for giving a try. Yes, I tried both svn update and svn checkout after deleting the file "color-management.xml".
As "svn diff" recognized the difference, it probably is a problem in the make part of the program. Looks like "make validate" do not see or recognize the 'no' in the lang tag. As an experiment I added the missing 'no' tags by hand directly to the xml/no.xml file generated by the "make", and thereafter run make ALL_LINGUAS="no" and got the missing HTML codes. But that's not the solution ;-)That's weird, because IMHO there is no no.xml create if make validate fails ...
I'll have to check this out. Where did the no.xml come from?
Someone who knows what "make" are looking for (other than the lang tags) when generating the HTML? I do not know a way to trace or step the running of any command in Cygwin. Someone knows?
Actually make does not look for "something", the only command it's executing is:
xsltproc --xinclude --stringparam profile.lang no stylesheets/profile.xsl xml/no.xml
to profile the XML into Norwegian only DocBook/XML.
I'll check this out.
When I started translating there was a problem somewhere as the program read the lang tag 'no' as no (opposite of yes) but I do not think this is the problem now as all other files as far as I know are recognized. Should be happy to find another file not translated to Norwegian to give it a try.
At the moment I do not add the Norwegian translation of the color-management.xml file and comment out the links to this file. But am still trying to find a solution.I still don't really get were to look for and still tapping in the dark ...
Neither do I, but I'll give it a try. Thank you for the tips. I have to work further on the problem I think. Kolbj?rn
Greetings,
------------------------------------------------------------------------
no make for color-management.xml
Kolbj?rn Stuest?l wrote:
Roman Joost skreiv:
Hi Kolbj?rn,
On Fri, Jul 11, 2008 at 01:04:18PM +0200, Kolbj?rn Stuest?l wrote:
Thank you Roman for giving a try. Yes, I tried both svn update and svn checkout after deleting the file "color-management.xml".
As "svn diff" recognized the difference, it probably is a problem in the make part of the program. Looks like "make validate" do not see or recognize the 'no' in the lang tag. As an experiment I added the missing 'no' tags by hand directly to the xml/no.xml file generated by the "make", and thereafter run make ALL_LINGUAS="no" and got the missing HTML codes. But that's not the solution ;-)That's weird, because IMHO there is no no.xml create if make validate fails ...
I have boiled it down a bit:
The problem seems to be either in the 'make validate' command or in the
file "color-management.xml". Most reasonable the last one?
The command "make validate" creates the no.xml file consisting of all
the 'no' tags from all the xml files *except* from the file
"color-management.xml".
I was lucky to find another file (filters/alpha-to-logo/3d-outline.xml)
not translated to Norwegian. The 'make validate' found the 'no' tags in
this file too.
It looks like "color-management.xml" is the only file not recognized.
Therefore my working theory (at the time of writing this) is that
somewhere in this file there are some code/letter combinations telling
the command 'validate' to skip this file? Now I have to figure out how
to verify this theory. Copying the heading down to '' from a
different, working file to the 'corrupted' file and deleting the
'section history' part of the file did not 'cure' the file. Perhaps
there is another explanation? Perhaps it's my computer? In this world
you never knows...
I know too little, and have not the equipment, to step trough the validate command by hand. Otherwise that would be a way to figure out what happens. If someone would like to experiment with the file, it is here: http://home.online.no/~kol-stue/temp/color-management.zip
By the way: One of my tests was running 'check_lang_attributes.pl'. It
returned no errors.
I also run 'make clean' before every attempt.
(Sometimes the impossible needs more time to be solved ;-) ) Kolbj?rn
no make for color-management.xml
Hi Kolbj?rn,
Kolbj?rn Stuest?l (Dienstag, 15. Juli 2008, 22:44):
I have boiled it down a bit:
The problem seems to be either in the 'make validate' command or in the file "color-management.xml". Most reasonable the last one? The command "make validate" creates the no.xml file consisting of all the 'no' tags from all the xml files *except* from the file "color-management.xml".
I was lucky to find another file
(filters/alpha-to-logo/3d-outline.xml) not translated to Norwegian.
If you are working with current unchanged version (after "svn update"), you can't get the Norwegian translation since the "lang" attributes of these files don't contain "no".
If you are trying to make HTML with an edited version of "color-management.xml", try "svn diff" and check the output carefully. Most likely you forgot to enable "no".
If everything seems to be all right, check it once more! ;-)
The 'make validate' found the 'no' tags in this file too.
"make validate" doesn't care about lang attributes.
It looks like "color-management.xml" is the only file not recognized. Therefore my working theory (at the time of writing this) is that somewhere in this file there are some code/letter combinations telling the command 'validate' to skip this file?
No.
By the way: One of my tests was running 'check_lang_attributes.pl'. It returned no errors.
This script just checks for the common bugs like lang="en:no" (missing semicolon).
Bye,
Ulf
no make for color-management.xml
Hi Kolbj?rn,
Kolbj?rn Stuest?l (Dienstag, 15. Juli 2008, 22:44):
If someone would like to experiment with the file, it is here: http://home.online.no/~kol-stue/temp/color-management.zip
This file seems to be ok, but do you really include it? Did you edit src/gimp.xml:
Color Management with GIMP
Farbmanagement mit GIMP
Gestion de la couleur avec GIMP
Gestione del colore con GIMP
Bye,
Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /lists/gimp-docs/attachments/20080716/0064fd96/attachment.bin
no make for color-management.xml
Ulf-D. Ehlert skreiv:
Hi Kolbj?rn,
Kolbj?rn Stuest?l (Dienstag, 15. Juli 2008, 22:44):
If someone would like to experiment with the file, it is here: http://home.online.no/~kol-stue/temp/color-management.zip
This file seems to be ok, but do you really include it? Did you edit src/gimp.xml:
Color Management with GIMP
Farbmanagement mit GIMP
Gestion de la couleur avec GIMP Gestione del colore con GIMP
Yes, I found out but had problems connecting to the internet this
evening to let you know.
So the problem is solved :-)
I had forgotten to adding the 'no' code you mentioned above. :-[
I apologize for waisting your time just because of my lack of knowledge
and thank you to you and Roman for helping me.
Sometimes I do not see the forest because of all the trees.
With regards from
Kolbj?rn
Bye,
Ulf
------------------------------------------------------------------------