Re: 4.1.1 Binary size

2013-09-22 Thread Wols Lists
On 19/09/13 12:43, Michael Meeks wrote:
 Patches most welcome; though of course - we'd need to check that
 existing documents don't hard-code links to these paths [ it seems
 likely sadly ] into the gallery.

Not knowing the packaging system (and of course distros do their own
thing), but is it possible to flag certain areas - artwork being an
obvious example - as do not remove when upgrading?

That's annoyed me on many an occasion with some programs, where you had
all these useful little extras like clip-art, and then an upgrade
removed the old lot and replaced it with something new and different.

It'd be nice to be able to include a bunch of useful bits with each
version and change them. Then people who've got them would still have
them but there'd be a bit of the what wonderful new things will turn up
THIS time?. And if the location is documented then people could copy
and share them if they so desire.

Cheers,
Wol
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 4.1.1 Binary size

2013-09-22 Thread Jonathan Aquilina
Why not create a page on the site for all clipart so someone can download
the image and use it. that way the directory that has all the images can
disappear from the install.


On Thu, Sep 19, 2013 at 5:21 PM, Wols Lists antli...@youngman.org.ukwrote:

 On 19/09/13 12:43, Michael Meeks wrote:
  Patches most welcome; though of course - we'd need to check that
  existing documents don't hard-code links to these paths [ it seems
  likely sadly ] into the gallery.

 Not knowing the packaging system (and of course distros do their own
 thing), but is it possible to flag certain areas - artwork being an
 obvious example - as do not remove when upgrading?

 That's annoyed me on many an occasion with some programs, where you had
 all these useful little extras like clip-art, and then an upgrade
 removed the old lot and replaced it with something new and different.

 It'd be nice to be able to include a bunch of useful bits with each
 version and change them. Then people who've got them would still have
 them but there'd be a bit of the what wonderful new things will turn up
 THIS time?. And if the location is documented then people could copy
 and share them if they so desire.

 Cheers,
 Wol
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice




-- 
Jonathan Aquilina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 4.1.1 Binary size

2013-09-19 Thread bjoern
Hi,

note this is the developer list, if you want to help out on this issue you are
most welcome!

On Thu, Sep 19, 2013 at 11:14:09AM +0200, Michaël Lefèvre wrote:
 - 3.6.7 : 205 Mo
 - 4.0.5 : 184 Mo
 - 4.1.1 : 205 Mo

This made me curious, the 4.0 drop is expected for binfilter, but gaining 20MB
for 4.1? I had a quick look at the Ubuntu packages and found libreoffice-common
(arch-independant files) had exploded from 10MB to 26MB. Digging into that, I
found:

 /usr/lib/libreoffice/share/gallery

to have grown from 6MB to 23MB. As a onetime event that is still bearable, but
artwork is _very_ expensive spacewise so if there is further growth, packaging
most of that externally (e.g. as an extension) and trimming down to the very
basics as a default would be needed IMHO.

Best,

Bjoern
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 4.1.1 Binary size

2013-09-19 Thread Michael Meeks

On Thu, 2013-09-19 at 13:21 +0200, bjoern wrote:
 (arch-independant files) had exploded from 10MB to 26MB. Digging into that, I
 found:
 
  /usr/lib/libreoffice/share/gallery

 to have grown from 6MB to 23MB. As a onetime event that is still
 bearable, but
 
Wow - that is quite some growth :-) for me I have 19Mb of files - the
vast majority of that .sdg files - which are the files containing the
images:

SgaObject* GalleryTheme::ImplReadSgaObject( GalleryObject* pEntry )

has the pieces there. Comparing vs. extra/source/gallery that contains
17Mb of 'stuff'. I imagine much of the problem comes from the large PNGs
of rather stylized images which would do much better as their original
SVG source (though we don't have that).

I guess the easiest way to save a few MB there is to rip out the larger
sounds - that's 3Mb of stuff there, and I've ~never seen them used in
anger :-) perhaps leaving just a few of them.

Luckily with the new gallery infrastructure it's ~trivial to submit a
patch for that see the list in extras/Gallery_sound.mk

Patches most welcome; though of course - we'd need to check that
existing documents don't hard-code links to these paths [ it seems
likely sadly ] into the gallery.

Thanks !

Michael.

-- 
 michael.me...@collabora.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: 4.1.1 Binary size

2013-09-19 Thread Thorsten Behrens
Michael Meeks wrote:
   Patches most welcome; though of course - we'd need to check that
 existing documents don't hard-code links to these paths [ it seems
 likely sadly ] into the gallery.
 
See earlier thread initiated by Regina, from 21 Jul 2013, subject:
Comment on patch Remove old outdated gallery images and sounds. So
clearly some digging required there.

Cheers,

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice