pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/misc/libreoffice4-bin



                        Hi Youri,

On 03/03/16 23:05, Youri Mouton wrote:
> Module Name:  pkgsrc
> Committed By: youri
> Date:         Thu Mar  3 22:05:42 UTC 2016
> 
> Modified Files:
>       pkgsrc/misc/libreoffice4-bin: Makefile PLIST.proglinks
> Added Files:
>       pkgsrc/misc/libreoffice4-bin/files: base.desktop calc.desktop
>           draw.desktop impress.desktop math.desktop writer.desktop
> 
> Log Message:
> Add .desktop files so that user can access applications from easily.

That's a great addition, but I would suggest to prefix these filenames
something distinctive like "libreoffice-", "soffice-", or some other
distinctive string for the vendor:
https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#merge-algorithm

Otherwise they can easily conflict with desktop files from other
packages, as they are very generic names.

It appears in this case that the package will not conflict with
misc/libreoffice4, as far as filenames at least. Choosing the same
prefix for both may be a problem or a feature, I am not quite sure
which; it seems one will always be used instead of the other, depending
on the inclusion order:
https://specifications.freedesktop.org/desktop-entry-spec/latest/ape.html

So it might make sense to avoid "libreoffice-" as a prefix, since that
is what misc/libreoffice4 uses already.

Cheers,
-- 
khorben



Home | Main Index | Thread Index | Old Index