FS#14364 - libgweather installs 76Mb of localisation xml files

Attached to Project: Arch Linux
Opened by winch (winch) - Saturday, 18 April 2009, 23:26 GMT
Last edited by Jan de Groot (JGC) - Monday, 20 April 2009, 21:01 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

<pre>
$ ls -sh /usr/share/libgweather/
total 76M
916K Locations.ang.xml 1.1M Locations.gu.xml 1.1M Locations.or.xml
960K Locations.ar.xml 976K Locations.he.xml 1008K Locations.pa.xml
1.1M Locations.as.xml 1.1M Locations.hi.xml 972K Locations.pl.xml
932K Locations.az.xml 948K Locations.hr.xml 976K Locations.pt.xml
948K Locations.be.xml 976K Locations.hu.xml 988K Locations.pt_BR.xml
1000K Locations.be@latin.xml 948K Locations.id.xml 972K Locations.ro.xml
1004K Locations.bg.xml 972K Locations.it.xml 1000K Locations.ru.xml
984K Locations.bn.xml 996K Locations.ja.xml 916K Locations.rw.xml
1.1M Locations.bn_IN.xml 956K Locations.ka.xml 1.0M Locations.si.xml
936K Locations.bs.xml 1.1M Locations.kn.xml 916K Locations.sk.xml
972K Locations.ca.xml 976K Locations.ko.xml 976K Locations.sl.xml
976K Locations.cs.xml 936K Locations.ku.xml 964K Locations.sq.xml
948K Locations.cy.xml 956K Locations.ky.xml 972K Locations.sr.xml
972K Locations.da.xml 976K Locations.lt.xml 968K Locations.sr@latin.xml
972K Locations.de.xml 952K Locations.lv.xml 972K Locations.sv.xml
1012K Locations.dz.xml 1.1M Locations.mai.xml 1.1M Locations.ta.xml
980K Locations.el.xml 948K Locations.mg.xml 1.1M Locations.te.xml
952K Locations.en_CA.xml 968K Locations.mk.xml 996K Locations.th.xml
988K Locations.en_GB.xml 1.1M Locations.ml.xml 972K Locations.tr.xml
972K Locations.es.xml 932K Locations.mn.xml 976K Locations.uk.xml
964K Locations.et.xml 1.1M Locations.mr.xml 976K Locations.vi.xml
948K Locations.eu.xml 916K Locations.ms.xml 916K Locations.xml
952K Locations.fa.xml 972K Locations.nb.xml 960K Locations.zh_CN.xml
972K Locations.fi.xml 996K Locations.ne.xml 976K Locations.zh_HK.xml
976K Locations.fr.xml 972K Locations.nl.xml 976K Locations.zh_TW.xml
920K Locations.ga.xml 948K Locations.nn.xml 4.0K locations.dtd
976K Locations.gl.xml 916K Locations.oc.xml
</pre>

Steps to Reproduce:

Install libgweather package.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 20 April 2009, 21:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  Whole package takes 19M installed size now.
Comment by winch (winch) - Saturday, 18 April 2009, 23:31 GMT
Sorry, I somehow managed to attach this to Pacman which is clearly not where it is supposed to be.
Comment by Eric Belanger (Snowman) - Sunday, 19 April 2009, 00:22 GMT
Moved in the right project.

I don't think we can do much for this bug report.
Comment by Jan de Groot (JGC) - Sunday, 19 April 2009, 21:49 GMT
Reopening this:
libgweather has a configure switch called --enable-locations-compression, which compresses the locations database.
Looking at Ubuntu, they have a patch that adds gettext support to libgweather just like what they've done with gconf. This reduces space even more and removes redundant storage of translations.
I'll have a look at how stable ubuntu's patch is, if it's stable, I'll apply it and shrink the package by a huge amount, if it isn't, I'll do the locale compression.
Comment by Jan de Groot (JGC) - Monday, 20 April 2009, 06:38 GMT
A patched version is in testing for i686. Please test this. I'll build the x86_64 version later today and move everything to extra if all is fine.
Comment by winch (winch) - Monday, 20 April 2009, 18:06 GMT
Thanks for taking the time to look into this.

I've installed the version from testing. Started gnome-panel and set my location in the clock applet preferences. After a short delay a temperature appeared next to the time so I guess it works, in this simple case at least.

Loading...