[Pkg-lyx-devel] half-backed 2.1.2 upload

Nikos Andrikos nick.andrik at gmail.com
Tue Oct 14 12:32:16 UTC 2014


2014-10-14 13:47 GMT+02:00 Per Olofsson <pelle at dsv.su.se>:

> 2014-10-13 21:04, Georg Baum skrev:
>
>> b) What is the appropriate place to put the lyx.png, lyx.svg and
>>> >lyx.desktop files?
>>> >As it is now, the situation is like this:
>>> >debian/lyx/usr/share/applications/lyx.desktop
>>> >debian/lyx/usr/share/icons/hicolor/scalable/apps/lyx.svg
>>> >debian/lyx-common/usr/share/icons/hicolor/48x48/apps/lyx.png
>>> >
>>> >In the past, lyx.png used to be like this:
>>> >debian/lyx-common/usr/share/lyx/images/lyx.png
>>> >debian/lyx-common/usr/share/icons/hicolor/48x48/apps/lyx.png ->
>>> >../../../../ lyx/images/lyx.png
>>> >
>>> >I believe that at least lyx.svg and lyx.png should be in the same
>>> >package. Also, I'm not really sure if lintian checks the dependencies
>>> >on all cases, but we could try to move all architecture-independent
>>> >files to lyx-common maybe.
>>>
>> I believe all these files should be in lyx-common. Howwever, I have no
>> idea
>> if this complies with the applicable policy or not.
>>
>
> 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.
>
> If lintian is still not smart enough to handle this case, then you can use
> an override:
>
> https://lintian.debian.org/manual/section-2.4.html
>
> I think the desktop file should still be in the lyx package though, since
> you can have lyx-common installed without lyx.


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.
About the icons, I guess they should go with the .desktop file, since this
is the reason /usr/share/icons/hicolor exists.

I will try to update my changes and then upload them so that they can be
checked publicly.

Cheers,
Nick

--
=Do-
N.AND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lyx-devel/attachments/20141014/5a755df8/attachment.html>


More information about the Pkg-lyx-devel mailing list