Fernando Lopez-Lezcano wrote:
0.2.x is now in Planet CCRMA thanks to Arnaud from IRCAM. Great if you can/want to migrate it to Fedora!
I did submit a package review that I think meets the Fedora guidelines: https://bugzilla.redhat.com/show_bug.cgi?id=455953
I would appreciate it if you could keep the extra categories in the desktop file, they are used to classify audio apps in an extra menu I added to Planet CCRMA (and rakarrack would drop out of it if they were ommited).
The question you ask is a good one, and I understand where you are coming from: {ccrma .spec} ===== # desktop file categories BASE="X-Fedora Application AudioVideo" XTRA="X-Digital_Processing X-Jack"
%{__mkdir} -p %{buildroot}%{_datadir}/applications desktop-file-install --vendor fedora \ --dir %{buildroot}%{_datadir}/applications \ `for c in ${BASE} ${XTRA} ; do echo "--add-category $c " ; done` \ %{SOURCE1} ===== As I understand it, a Fedora package can use only the categories present in the freedesktop.org spec: http://fedoraproject.org/wiki/Packaging/Guidelines#.desktop_file_creation http://standards.freedesktop.org/menu-spec/latest/apa.html
Can a package use it's own categories, or must they meet the standards ?
If there will be many audio apps {aka ccrma} packages, it would be best to have them grouped in the same menu; the AudioVideo menu on my machine is already overflowing more than a screenful, so I think it would be good if these audio {only} apps get their own menu ?
DaveT.
David Timms wrote:
Fernando Lopez-Lezcano wrote:
0.2.x is now in Planet CCRMA thanks to Arnaud from IRCAM. Great if you can/want to migrate it to Fedora!
I did submit a package review that I think meets the Fedora guidelines: https://bugzilla.redhat.com/show_bug.cgi?id=455953
I would appreciate it if you could keep the extra categories in the desktop file, they are used to classify audio apps in an extra menu I added to Planet CCRMA (and rakarrack would drop out of it if they were ommited).
The question you ask is a good one, and I understand where you are coming from: {ccrma .spec} ===== # desktop file categories BASE="X-Fedora Application AudioVideo" XTRA="X-Digital_Processing X-Jack"
%{__mkdir} -p %{buildroot}%{_datadir}/applications desktop-file-install --vendor fedora \ --dir %{buildroot}%{_datadir}/applications \ `for c in ${BASE} ${XTRA} ; do echo "--add-category $c " ; done` \ %{SOURCE1} ===== As I understand it, a Fedora package can use only the categories present in the freedesktop.org spec: http://fedoraproject.org/wiki/Packaging/Guidelines#.desktop_file_creation http://standards.freedesktop.org/menu-spec/latest/apa.html
Can a package use it's own categories, or must they meet the standards ?
If there will be many audio apps {aka ccrma} packages, it would be best to have them grouped in the same menu; the AudioVideo menu on my machine is already overflowing more than a screenful, so I think it would be good if these audio {only} apps get their own menu ?
I have been making progress with the above review request, and am getting pretty close. It would be good if anyone having a definitive answer on this one could provide some guidance ;-)
DaveT.
On Sun, 2008-10-12 at 14:13 +1100, David Timms wrote:
Can a package use it's own categories, or must they meet the standards ?
If there will be many audio apps {aka ccrma} packages, it would be best to have them grouped in the same menu; the AudioVideo menu on my machine is already overflowing more than a screenful, so I think it would be good if these audio {only} apps get their own menu ?
I have been making progress with the above review request, and am getting pretty close. It would be good if anyone having a definitive answer on this one could provide some guidance ;-)
I don't see anything wrong with using non-standard categories, as long as they are prefixed with X-, as recommended in the menu spec, and are used _in addition_ to one of the registered main categories.
Matthias
Matthias Clasen wrote:
On Sun, 2008-10-12 at 14:13 +1100, David Timms wrote:
Can a package use it's own categories, or must they meet the standards ?
If there will be many audio apps {aka ccrma} packages, it would be best to have them grouped in the same menu; the AudioVideo menu on my machine is already overflowing more than a screenful, so I think it would be good if these audio {only} apps get their own menu ?
I have been making progress with the above review request, and am getting pretty close. It would be good if anyone having a definitive answer on this one could provide some guidance ;-)
I don't see anything wrong with using non-standard categories, as long as they are prefixed with X-, as recommended in the menu spec, and are used _in addition_ to one of the registered main categories.
Thanks, Matthias. I can see that I was being overly strict in my interpretation of the standards. I'll definitely be adding the extra categories in addition to the registered categories.
DaveT.
packaging@lists.fedoraproject.org