Hi <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div style="display: inline; height: auto; position: absolute; visibility: hidden; width: auto; "></div>

Martin,</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I&#39;ve had my fair struggle with the QA (and still am), but I found the best way is to write an email to Ovi Publisher Support and refer to the app and file revision in question. I would basically copy and paste what you wrote here to them.</span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Cheers,</span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Sascha<br>

</span></font><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 15:31, Martin Storsjö <span dir="ltr">&lt;<a href="mailto:martin@martin.st">martin@martin.st</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I just got my initial Maemo Ovi Store application rejected in QA, and I&#39;d<br>
like discuss the measurements used in the disk space usage requirement.<br>
<br>
The part of the report is this:<br>
<br>
ISSUE #1 SUMMARY:<br>
OPT folder is not 80% more than that of USR folder.<br>
<br>
PRECONDITION:<br>
N/A.<br>
<br>
STEPS:<br>
1. Open Xterminal, cd MyDocs.<br>
2. cp &lt;packagename&gt; /home/user/.<br>
3. cd /home/user/.<br>
4. mkdir &lt;packagename&gt;-install.<br>
5. dpkg -x ./&lt;packagename&gt; &lt;packagename&gt;-install.<br>
6. cd &lt;packagename&gt;-install.<br>
7. ls.<br>
<br>
EXPECTED OUTCOME:<br>
OPT folder value should be 80% of USR folder.<br>
<br>
ACTUAL OUTCOME:<br>
Opt folder value is not 80% of usr folder ,usr=84,opt=388k.<br>
FREQUENCY OF OCCURRENCE:.<br>
Always.<br>
<br>
<br>
If I do those steps (but do &#39;du&#39; instead of &#39;ls&#39; in step 7), I get the<br>
following:<br>
<br>
376     ./opt/maemo/usr/bin<br>
380     ./opt/maemo/usr<br>
384     ./opt/maemo<br>
388     ./opt<br>
4       ./usr/sbin<br>
4       ./usr/bin<br>
8       ./usr/share/icons/hicolor/64x64/apps<br>
12      ./usr/share/icons/hicolor/64x64<br>
8       ./usr/share/icons/hicolor/26x26/apps<br>
12      ./usr/share/icons/hicolor/26x26<br>
8       ./usr/share/icons/hicolor/40x40/apps<br>
12      ./usr/share/icons/hicolor/40x40<br>
40      ./usr/share/icons/hicolor<br>
44      ./usr/share/icons<br>
8       ./usr/share/doc/&lt;appname&gt;<br>
12      ./usr/share/doc<br>
8       ./usr/share/applications/hildon<br>
12      ./usr/share/applications<br>
72      ./usr/share<br>
84      ./usr<br>
476     .<br>
<br>
According to this, my app is wasting 84 KB of space on /usr. Let&#39;s see<br>
what it _really_ does. In practice, it installs three icons in<br>
/usr/share/icons, 751, 1075 and 1570 bytes in size, one 24 byte copyright<br>
file in /usr/share/doc/&lt;appname&gt;, and a 181 .desktop file in<br>
/usr/share/applications.<br>
<br>
Since this is done on /home which is ext3, every directory consumes 4 KB,<br>
too. In practice, if I&#39;d install the package, all those directories<br>
(except the /usr/share/doc/&lt;appname&gt; dir) would exist already, so no disk<br>
space would be consumed for them.<br>
<br>
Optifying them would only help a little - symlinks seem to count as 0<br>
bytes in this listing, but the number of directories would still add up to<br>
way too much.<br>
<br>
If I try extracting it to e.g. /root instead of /home/user, I get these<br>
numbers instead:<br>
<br>
368     ./opt/maemo/usr/bin<br>
368     ./opt/maemo/usr<br>
368     ./opt/maemo<br>
368     ./opt<br>
0       ./usr/bin<br>
0       ./usr/sbin<br>
4       ./usr/share/doc/&lt;appname&gt;<br>
4       ./usr/share/doc<br>
4       ./usr/share/applications/hildon<br>
4       ./usr/share/applications<br>
4       ./usr/share/icons/hicolor/26x26/apps<br>
4       ./usr/share/icons/hicolor/26x26<br>
4       ./usr/share/icons/hicolor/40x40/apps<br>
4       ./usr/share/icons/hicolor/40x40<br>
4       ./usr/share/icons/hicolor/64x64/apps<br>
4       ./usr/share/icons/hicolor/64x64<br>
12      ./usr/share/icons/hicolor<br>
12      ./usr/share/icons<br>
20      ./usr/share<br>
20      ./usr<br>
388     .<br>
<br>
On this file system, directories themselves don&#39;t seem to add up to the<br>
total, and my application would pass the test.<br>
<br>
So, what&#39;s the proper way of dealing with all this nonsense? Should I stop<br>
shipping properly sized icons with my app? Or just stuff in a 1 MB &quot;data&quot;<br>
file (read from /dev/urandom) under /opt to make the percentages right?<br>
<br>
Also, is there any idea in trying to discuss these issues in Ovi Publish<br>
by commenting back? On Ovi/Symbian things, I&#39;ve never ever seen a reviewer<br>
actually take my comments in account, so I don&#39;t think anybody ever reads<br>
the comments the submitter writes.<br>
<br>
// Martin<br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</blockquote></div><br></div>