[opensuse-packaging] Valid Category for astrology program

I am looking for a technically valid value for this line: %suse_update_desktop_file -r %{dir_name} XXX for an astrology program. I do not want to stir up controversy, because I have a lot of planets in Libra -:) I am looking for a value that has these 3 features: 1) will be accepted without error or warning by the build system. 2) will take no position on the status of astrology i.e. 2a) will not disparage astrology by calling it a game or entertainment 2b) will not anger the astrology rejectors by calling it a science. Note the recent controversy in India! 3) will be true so far as it goes (I suspect something under graphics, all will agree that astrology programs produce graphical output.) I believe that packagers should package programs accurately in a way that does not impose one's own views on controversial issues. Please, the jokes are obvious. Please avoid obvious jokes. I am looking for a sincere answer. -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117

Le vendredi 25 février 2011, à 01:52 -0600, Paul Elliott a écrit :
I am looking for a technically valid value for this line: %suse_update_desktop_file -r %{dir_name} XXX
What are the Categories in the .desktop file shipped in the tarball? Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Friday, February 25, 2011 03:17:51 am Vincent Untz wrote:
Le vendredi 25 février 2011, à 01:52 -0600, Paul Elliott a écrit :
I am looking for a technically valid value for this line: %suse_update_desktop_file -r %{dir_name} XXX
What are the Categories in the .desktop file shipped in the tarball?
Categories=Education;Miscellaneous I fixed to Categories=Education;Miscellaneous; I created a patch to add a trailing semicolon. Result: -------------------------- + desktop-file- validate /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop: error: value "Education;Miscellaneous;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Miscellaneous"; values extending the format should start with "X-" error: Bad exit status from /var/tmp/rpm-tmp.QmunTZ (%install) ------------------------------------------ and a failed build. I must find something that desktop file validate will accept. -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117

On Fri, 25 Feb 2011 18:01:54 -0600 Paul Elliott <pelliott@blackpatchpanel.com> wrote:
On Friday, February 25, 2011 03:17:51 am Vincent Untz wrote:
Le vendredi 25 février 2011, à 01:52 -0600, Paul Elliott a écrit :
I am looking for a technically valid value for this line: %suse_update_desktop_file -r %{dir_name} XXX
What are the Categories in the .desktop file shipped in the tarball?
Categories=Education;Miscellaneous I fixed to Categories=Education;Miscellaneous; I created a patch to add a trailing semicolon.
Result:
+ desktop-file- validate /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated /usr/src/packages/BUILDROOT/maitreya-6.0.2-72.1.x86_64//usr/share/applications/maitreya6.desktop: error: value "Education;Miscellaneous;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Miscellaneous"; values extending the format should start with "X-" error: Bad exit status from /var/tmp/rpm-tmp.QmunTZ (%install)
and a failed build. I must find something that desktop file validate will accept.
Hi Have a look here; http://en.opensuse.org/openSUSE:Packaging_guidelines#Desktop_files http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories#Education Update via; %suse_update_desktop_file -r %{name} %{name} Education Astronomy Astronomy...hmmm -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.27-0.2-default up 4 days 20:17, 5 users, load average: 0.08, 0.18, 0.15 GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

Le vendredi 25 février 2011, à 18:01 -0600, Paul Elliott a écrit :
On Friday, February 25, 2011 03:17:51 am Vincent Untz wrote:
Le vendredi 25 février 2011, à 01:52 -0600, Paul Elliott a écrit :
I am looking for a technically valid value for this line: %suse_update_desktop_file -r %{dir_name} XXX
What are the Categories in the .desktop file shipped in the tarball?
Categories=Education;Miscellaneous I fixed to Categories=Education;Miscellaneous; I created a patch to add a trailing semicolon.
Miscellaneous is not a valid category, so it should be removed anyway. The error message from desktop-file-validate tells you about it. As to which category to use... It's true that we don't have what we need here. It's a bit related to https://bugs.freedesktop.org/show_bug.cgi?id=20192 My best proposal, based on existing categories, is either something with "Utility", or "Education;Science;". I honestly think it's a bit wrong, but there's nothing better. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Friday, February 25, 2011 01:52:31 am Paul Elliott wrote:
- will be true so far as it goes (I suspect something under graphics, all will agree that astrology programs produce graphical output.)
It is not, as main purpose is not creating or editing graphics. I would be first to complain about bad categorization if it would be found there. In my humble it would be Amusements, but there is no Amusements/Other. It will not upset anyone as it amusing for those that believe in it, and those that don't. My guess would be that the best bet is to ask for new category, so that rpmlint doesn't complain. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Friday, February 25, 2011 06:47:32 pm Rajko M. wrote:
On Friday, February 25, 2011 01:52:31 am Paul Elliott wrote:
- will be true so far as it goes (I suspect something under graphics, all will agree that astrology programs produce graphical output.)
It is not, as main purpose is not creating or editing graphics. I would be first to complain about bad categorization if it would be found there.
The major output of most astrology programs is various kinds of chartwheels which is an highly specific form of graphical output.
In my humble it would be Amusements, but there is no Amusements/Other. It will not upset anyone as it amusing for those that believe in it, and those that don't.
Some people take astrology very seriously investing money based on astrological calculations. You may disagree with them, (and even think them fools, (and they probably share the sentiment about you,)) but for these people astrology is not an amusement. Our role as packagers is not to tell people what to think.
My guess would be that the best bet is to ask for new category, so that rpmlint doesn't complain.
-- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117

On Friday, February 25, 2011 07:36:19 pm Paul Elliott wrote:
It is not, as main purpose is not creating or editing graphics. I would be first to complain about bad categorization if it would be found there.
The major output of most astrology programs is various kinds of chartwheels which is an highly specific form of graphical output.
It is so with any GUI application. They all give application specific graphic output, but that doesn't make them graphic applications in sense of package categorization. I would consider Productivity/Other as the category. It is much closer to what program does to those that will use it, and I don't think it should create complaints as it will education/astronomy. Astronomy can be thankful to astrology as many donations that allowed development of science came from people that wanted better astrological predictions, but besides interest in positions of the planets there is no much similarity between the two.
Some people take astrology very seriously investing money based on astrological calculations. You may disagree with them, (and even think them fools, (and they probably share the sentiment about you,)) but for these people astrology is not an amusement.
Those that use astrological predictions as base for business still make their own decisions, but with help of astrology. In reality it is nothing more then psychological aid, and as such it is important to those that need it. People that criticize astrology almost never consider this aspect. Personalities that tend to give up on rational analysis too early when a complex problem has no single, or easy visible solution, need aid to think all the way trough. Which kind of aid will be used depends on circumstances, personal experience and education, but astrology is not the single available option. How it helps? Astrology is based on 2 premises, every event is predictable and one can see that in the stars. This gives some people needed strength to analyze more with basic premise that all is determined and it forces thinking about the problem from different perspective in order to interpret symbols and vague statements that can be found in prediction, which is the why it actually helps. So, I don't find astrology as useless, but it is not a science. It is more a productivity aid, ditto my proposal for category Productivity/Other . -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday, February 26, 2011 02:27:53 pm Rajko M. wrote:
So, I don't find astrology as useless, but it is not a science. It is more a productivity aid, ditto my proposal for category Productivity/Other .
%suse_update_desktop_file warns that the categories Productivity and Other are unknown. desktop-file-validate chokes with an error! ---------------------------------------------------------------------- + /usr/lib/rpm/suse_update_desktop_file.sh -- project 'home:pelliott11:maitreya / openSUSE_11.4' --project home:pelliott11:maitreya --basedir /usr/src/packages/SRPMS maitreya6 WARNING: Category "Productivity" is unknown ! WARNING: it is ignored, until you registered a Category at opensuse- packaging@opensuse.org . WARNING: Category "Other" is unknown ! WARNING: it is ignored, until you registered a Category at opensuse- packaging@opensuse.org . + desktop-file- validate /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64//usr/share/applications/maitreya6.desktop /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64//usr/share/applications/maitreya6.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated + _target= + _symlinks=0 + _symlinks=1 + fdupes -q -n -r /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64 + read _file + test -z '' + _target=/usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf + read _file + test - z /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf + test - z /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/maitreya6/fonts/MaitreyaSymbols6.ttf + test 1 = 1 + ln - sf /usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/maitreya6/fonts/MaitreyaSymbols6.ttf + read _file + test - z /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf + test -z '' + _target= + continue + read _file + test -z '' + _target=/usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/maitreya6/pics/maitreya.xpm + read _file + test - z /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/maitreya6/pics/maitreya.xpm + test - z /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/pixmaps/maitreya.xpm + test 1 = 1 + ln - sf /usr/share/maitreya6/pics/maitreya.xpm /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/pixmaps/maitreya.xpm + read _file + test - z /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64/usr/share/maitreya6/pics/maitreya.xpm + test -z '' + _target= + continue + read _file + /usr/lib/rpm/brp-lib64-linux sf@suse.de: if you find problems with this script, drop me a note + /usr/lib/rpm/brp-permissions setting / to root:root 0755. (wrong owner/group abuild:abuild) setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-debug + /usr/lib/rpm/brp-check-la + /usr/lib/rpm/brp-symlink INFO: relinking /usr/share/maitreya6/fonts/MaitreyaSymbols6.ttf -
../../fonts/truetype/maitreya/MaitreyaSymbols6.ttf (was /usr/share/fonts/truetype/maitreya/MaitreyaSymbols6.ttf) INFO: relinking /usr/share/pixmaps/maitreya.xpm - ../maitreya6/pics/maitreya.xpm (was /usr/share/maitreya6/pics/maitreya.xpm) + /usr/lib/rpm/brp-desktop WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist ERROR: No sufficient Category definition: /usr/src/packages/BUILDROOT/maitreya-6.0.2-81.1.x86_64//usr/share/applications/maitreya6.desktop Errors in installed desktop file detected. Please refer to http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros error: Bad exit status from /var/tmp/rpm-tmp.zUFVgU (%install)
-- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117

On Sat, 26 Feb 2011 15:38:21 -0600 Paul Elliott <pelliott@blackpatchpanel.com> wrote:
On Saturday, February 26, 2011 02:27:53 pm Rajko M. wrote:
So, I don't find astrology as useless, but it is not a science. It is more a productivity aid, ditto my proposal for category Productivity/Other . Hi The Desktop entries you can use are here; http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories
The Productivity one is for the rpm Group which is defined in the spec file... two different entries. -- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.27-0.2-default up 5 days 17:13, 6 users, load average: 0.06, 0.08, 0.08 GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Saturday, February 26, 2011 04:31:20 pm Malcolm wrote: ...
The Desktop entries you can use are here; http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories
The Productivity one is for the rpm Group which is defined in the spec file... two different entries.
So basically, we are at the square one as desktop doesn't know about productivity :) Unlike http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories#Education in KDE menu is Edutainment category that spans more then Education and it would be actually what Eliot needs for desktop entries. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org

On Sat, Feb 26, 2011 at 9:52 PM, Rajko M. <rmatov101@charter.net> wrote:
http://en.opensuse.org/openSUSE:Packaging_desktop_menu_categories#Education in KDE menu is Edutainment category that spans more then Education and it would be actually what Eliot needs for desktop entries.
I vote for category "Amusement" -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Cristian Rodríguez
-
Malcolm
-
Paul Elliott
-
Rajko M.
-
Vincent Untz