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

Per Olofsson pelle at dsv.su.se
Tue Oct 14 11:47:37 UTC 2014


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.

-- 
Pelle



More information about the Pkg-lyx-devel mailing list