[Libreoffice] GSOC: performance improvement ...

Matúš Kukan matus.kukan at gmail.com
Sun May 8 02:24:05 PDT 2011


Hi,

On 7 May 2011 21:32, Michael Meeks <michael.meeks at novell.com> wrote:
> Hi Matus,
>
> On Sat, 2011-05-07 at 02:19 +0200, Matúš Kukan wrote:
>> I have a lot of work at school but I'm trying to do something.
>
>        Hey - don't let me hurt your schooling - just wanted to make contact.
>
I won't. It's ok. School has higher priority.

>> And in ooo_custom_images/classic/ is just .tar.gz file. I don't know
>> if it's bad and left it untouched.
>
>        I believe that is dead in master - we should just git remove it.

This means I am free to remove it on master?
Also in the future something like 'we should' means I am free to push
the change?

from the first mail:
> helpcontent2/source/text/sbasic/guide/translation.xhp:<image id="img_id2526017" src="res/commandimagelist/sc_managelanguage.png" width="0.1665inch" height="0.1665inch"><alt id="alt_id2526017" xml-lang="en-US">Manage Language icon</alt>
>
>        There are tons of these references; we need to do a big sed across all
> the files, and another one (with Andras' help) across all the
> translations.
>
Should I clone libreoffice/l10 or maybe something else also and
replace there? Or I won't be able to push there.

>> >        And then of course packimages needs a little tweaking.
>> >
>> > packimages/pack/makefile.mk:    $(FIND) $(SOLARSRC)$/$(RSCDEFIMG)/res/commandimagelist -name "*.png" | sed "s#$(SOLARSRC)$/$(RSCDEFIMG)/res#%GLOBALRES%#" | $(PERL) $(SOLARENV)$/bin$/sort.pl > $@.$(INPATH)
>>
>> But with this I don't know what to do. I don't know what %GLOBALRES%
>> is. Seems to be path to .../res where commandimagelist was but now
>> there isn't res folder with commandimagelist, just cmd. So it's not
>> build-able.
>
>        Wow - that makefile is nasty. Since we have to gnu-make-ise this stuff;
> I would be inclined (personally) to rip and replace the sort.pl and
> diffmv.pl scripts [ which suck and are only used here ], and merge them
> all into one tool (packimages.pl).

So it seems I finally have reason to learn perl. I will look at this
later but it's too complicated for now.

Matus


More information about the LibreOffice mailing list