Re: Publican Issues for RNs

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

 



On Thu, Mar 12, 2009 at 8:57 AM, John J. McDonough <wb8rcr@xxxxxxxx> wrote:
> As far as the .desktop file, I don't fully understand the issue here.  The
> code produced by Publican appears to be almost identical to that in the
> packaging guidelines on the wiki and very similar to what it is in the
> current release notes.  David Nally tells me of an entirely different way to
> deal with the .desktop file but I don't know enough to understand why it is
> better.


So the spec file you guys have creates a .desktop file, but doesn't do
so in the way the packaging guidelines require that it must be done.

https://fedoraproject.org/wiki/Packaging/Guidelines#desktop-file-install_usage

So, I had the same problem with my first desktop package and read the
section immediately preceeding the above section and tried to create
it by hand.

>From that section: (and emphasis is in the packaging guidelines, I
didn't add it):
It is not simply enough to just include the .desktop file in the
package, one MUST run desktop-file-install OR desktop-file-validate in
%install (and have BuildRequires: desktop-file-utils), to help ensure
.desktop file safety and spec-compliance. desktop-file-install MUST be
used if the package does not install the file or there are changes
desired to the .desktop file (such as add/removing categories, etc).

-- 
fedora-docs-list mailing list
fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux