<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2014-10-14 13:47 GMT+02:00 Per Olofsson <span dir="ltr"><<a href="mailto:pelle@dsv.su.se" target="_blank">pelle@dsv.su.se</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">2014-10-13 21:04, Georg Baum skrev:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
b) What is the appropriate place to put the lyx.png, lyx.svg and<br>
>lyx.desktop files?<br>
>As it is now, the situation is like this:<br>
>debian/lyx/usr/share/<u></u>applications/lyx.desktop<br>
>debian/lyx/usr/share/icons/<u></u>hicolor/scalable/apps/lyx.svg<br>
>debian/lyx-common/usr/share/<u></u>icons/hicolor/48x48/apps/lyx.<u></u>png<br>
><br>
>In the past, lyx.png used to be like this:<br>
>debian/lyx-common/usr/share/<u></u>lyx/images/lyx.png<br>
>debian/lyx-common/usr/share/<u></u>icons/hicolor/48x48/apps/lyx.<u></u>png -><br>
>../../../../ lyx/images/lyx.png<br>
><br>
>I believe that at least lyx.svg and lyx.png should be in the same<br>
>package. Also, I'm not really sure if lintian checks the dependencies<br>
>on all cases, but we could try to move all architecture-independent<br>
>files to lyx-common maybe.<br>
</blockquote>
I believe all these files should be in lyx-common. Howwever, I have no idea<br>
if this complies with the applicable policy or not.<br>
</blockquote>
<br></span>
I used to have the problem that lintian complained when I put icons in lyx-common and referred to them from lyx.desktop. I do not think that this is a policy issue, it's just lintian not being clever enough.<br>
<br>
If lintian is still not smart enough to handle this case, then you can use an override:<br>
<br>
<a href="https://lintian.debian.org/manual/section-2.4.html" target="_blank">https://lintian.debian.org/<u></u>manual/section-2.4.html</a><br>
<br>
I think the desktop file should still be in the lyx package though, since you can have lyx-common installed without lyx.</blockquote><div><br></div><div>I agree with that,  since we do not want to be in a situation where we install  .desktop, but we don't have the actual binary installed.</div><div>About the icons, I guess they should go with the .desktop file, since this is the reason /usr/share/icons/<u></u>hicolor exists.</div><div><br></div><div>I will try to update my changes and then upload them so that they can be checked publicly.</div><div><br></div><div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px">Cheers,</div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px">Nick</div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px"><br clear="all"><div>--<br>=Do-<br>N.AND</div></div></div></div><br></div></div>