RSS/Atom feed Twitter
Site is read-only, email is disabled

Figures for each language on docs.gimp.org

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.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Figures for each language on docs.gimp.org Roman Joost 19 Jul 10:02
  Figures for each language on docs.gimp.org Ulf-D. Ehlert 19 Jul 16:27
   Figures for each language on docs.gimp.org Roman Joost 20 Jul 10:36
    Figures for each language on docs.gimp.org Ulf-D. Ehlert 21 Jul 18:20
     Figures for each language on docs.gimp.org Roman Joost 23 Jul 22:24
Roman Joost
2012-07-19 10:02:11 UTC (over 12 years ago)

Figures for each language on docs.gimp.org

Hi!

I'm currently having a few problems getting the figures right on docs.gimp.org. One problem I'm having is, that it seems that images are missing. Perhaps the files are not missing, but in the web of symbolic links gone missing.

E.g. http://docs.gimp.org/2.8/de/gimp-concepts-main-windows.html#gimp-concepts-toolbox

uses images/using/toolbox-description.png for the toolbox figure, but if I check under images/de/using, there is no such file. Perhaps should it use the one located under 'C'?

What build step may I have missed?

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Ulf-D. Ehlert
2012-07-19 16:27:55 UTC (over 12 years ago)

Figures for each language on docs.gimp.org

On Thu, Jul 19, 2012 at 08:02:11PM +1000, Roman Joost wrote:

Hi!

I'm currently having a few problems getting the figures right on docs.gimp.org. One problem I'm having is, that it seems that images are missing. Perhaps the files are not missing, but in the web of symbolic links gone missing.

E.g. http://docs.gimp.org/2.8/de/gimp-concepts-main-windows.html#gimp-concepts-toolbox

uses images/using/toolbox-description.png for the toolbox figure, but if I check under images/de/using, there is no such file. Perhaps should it use the one located under 'C'?

What build step may I have missed?

How are the docs installed on the server?

Ulf

Wer sich ber die Bibel nicht emprt, kennt sie nicht. Oder
ist zu feige oder innerlich zu unfrei, sich zu empren.
		-- Franz Buggle, "Denn sie wissen nicht,
		   was sie glauben."
_______________________________________________
gimp-docs-list mailing list
gimp-docs-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Roman Joost
2012-07-20 10:36:04 UTC (over 12 years ago)

Figures for each language on docs.gimp.org

Hi Ulf,

On Thu, Jul 19, 2012 at 06:27:55PM +0200, Ulf-D. Ehlert wrote:

On Thu, Jul 19, 2012 at 08:02:11PM +1000, Roman Joost wrote:

E.g. http://docs.gimp.org/2.8/de/gimp-concepts-main-windows.html#gimp-concepts-toolbox

uses images/using/toolbox-description.png for the toolbox figure, but if I check under images/de/using, there is no such file. Perhaps should it use the one located under 'C'?

What build step may I have missed?

How are the docs installed on the server?

Sorry for leaving out that much information ;)

Build steps are:

make clean

./autogen.sh --without-gimp

make validate-all

make html

for i in `find ./html -name 'images' -type l`; do ln -sf -T ../images/$(basename $(dirname $i)) $i; done

for i in html/ images xml; do\ rsync -avzr -e ssh $i cube:/htdocs/2.8/; done

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/...

I'm now thinking that this steps stuffs the figures up, but I can't really find that is is all correctly wired before I run the step.

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Ulf-D. Ehlert
2012-07-21 18:20:47 UTC (over 12 years ago)

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 zunchst den Gottesglauben, den man ihm aufgeschwatzt
hat; aber allmhlich 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
Roman Joost
2012-07-23 22:24:38 UTC (over 12 years ago)

Figures for each language on docs.gimp.org

Hi Ulf,

On Sat, Jul 21, 2012 at 08:20:47PM +0200, Ulf-D. Ehlert wrote:

On Fri, Jul 20, 2012 at 08:36:04PM +1000, Roman Joost wrote: (Tip: "make -k [or --keep-going] validate-all" may be better, this will continue even if validating one language fails.)

Cheers for that!

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.)

Trashed it.

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/

[...]
... if you create an alias for every language

http://docs.gimp.org/2.8/LANG/ = htdocs/2.8/html/LANG

it should work[*].

It does. Thanks a lot!

Now docs.gimp.org should show NIGHTLIES again with all figures.

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org