<div dir="ltr"><div dir="ltr">On Sun, Feb 19, 2023 at 1:47 AM Julius Künzel <<a href="mailto:jk.kdedev@smartlab.uber.space">jk.kdedev@smartlab.uber.space</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br></blockquote><div><br></div><div>Hi Julius,</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
as the situation especially with Kritas file structre for translated images is not as simple, as initially thought, we added rdfind to the pipelines today to iterate over all files and create symlinks for those with duplicates. This seems to be a simple and powerful solution.<br>
<br>
Ben, out of curiosity, can you tell us the new sizes of the websites on the server?<br></blockquote><div><br></div><div>It has worked excellently:</div><div><br></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(255,84,84)">root</span><span style="font-weight:bold;color:rgb(255,255,84)">@</span><span style="font-weight:bold;color:rgb(84,255,255)">nicoda </span><span style="font-weight:bold;color:rgb(255,255,84)">/srv/www/generated </span><span style="font-weight:bold;color:rgb(255,84,255)"># </span><span style="color:rgb(0,0,0)">du -h --max-depth=1 | grep docs
</span><br>5.0M ./sysadmin-<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://kde.org">kde.org</a>
</span><br>1.6G ./<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://digikam.org">digikam.org</a>
</span><br>2.3G ./<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://krita.org">krita.org</a>
</span><br>7.9G ./<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://kdenlive.org">kdenlive.org</a></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"></span><font color="#000000"><br></font><span style="font-weight:bold;color:rgb(255,84,84)">root</span><span style="font-weight:bold;color:rgb(255,255,84)">@</span><span style="font-weight:bold;color:rgb(84,255,255)">nicoda </span><span style="font-weight:bold;color:rgb(255,255,84)">/srv/www/generated </span><span style="font-weight:bold;color:rgb(255,84,255)"># </span><span style="color:rgb(0,0,0)">du -h --max-depth=1 | grep docs
</span><br>5.0M ./sysadmin-<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://kde.org">kde.org</a>
</span><br>1.6G ./<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://digikam.org">digikam.org</a>
</span><br>1.3G ./<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://krita.org">krita.org</a>
</span><br>4.1G ./<span style="font-weight:bold;color:rgb(255,84,84)">docs</span><span style="color:rgb(0,0,0)">.<a href="http://kdenlive.org">kdenlive.org</a></span><br></span></div><div> </div><div>The vast majority of the size now is due to the *.epub files shipped by Sphinx, which from what I understand have to contain a copy of everything and cannot be universal (ie. must be per language)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers,<br>
Julius<br></blockquote><div><br></div><div>Cheers,</div><div>Ben</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
16.02.2023 14:01:55 Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>>:<br>
<br>
> Le jeu. 2 févr. 2023 à 06:50, Julius Künzel<br>
> <<a href="mailto:jk.kdedev@smartlab.uber.space" target="_blank">jk.kdedev@smartlab.uber.space</a>> a écrit :<br>
>> <br>
>> Hi Eugen,<br>
>> <br>
>> at least in the Kdenlive docs we do not use translated images at all. Also the figure_language_name is to define the pattern from where translated images are taken not where they are put to. And we always have the problem that Sphinx uses separate build dir for every language so unfortunately this does not help at all for the problem Ben exposed.<br>
> <br>
> Hi all,<br>
> <br>
> Same here in digiKam, as Sphinx configuration is simply copied from KDenlive.<br>
> <br>
> One note : I replaced GIFa with WEBP animation to optimize space a<br>
> lot. Even if WEBM is supported by EPUB, WEBM is not supported by<br>
> Sphinx export as EPUB, but WEBP yes.<br>
> <br>
> Best<br>
> <br>
> Gilles Caulier<br>
</blockquote></div></div>