Bug#489247: gpredict: Incorrect KDE menu entry showing up in Lost and Found [nb]

2010-02-22 Thread Petter Reinholdtsen
[Fernando M. Maresca]
> Then I think I should apply your patch.
> I'll be uploading a new package to mentors.debian.net ASAP.

Great.  Any hope of having the package in unstable soon?  I see it is
waiting on mentors.debian.net since 2010-01-31.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#489247: gpredict: Incorrect KDE menu entry showing up in Lost and Found [nb]

2010-01-31 Thread Petter Reinholdtsen

tags 489247 + patch
thanks

[Hamish Moffatt]
> gpredict just uses a menu category of HamRadio, which is one of the
> xdg desktop specification's secondary categories. It doesn't list
> any of the primary categories because I don't think any of them are
> appropriate, but this isn't really policy compliant.

I had a closer look at
http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#category-registry>,
and checked which categories googleearth and celestia are using, as
they are somewhat similar in function to gpredict:

  googlearth: Application;Network
  celestia:   Astronomy;Education;Science

Based on this, I suggest Application, Network, Education, Astronomy
and Science is added to the gpredict desktop file.  This will make
gpredict show up in several places in the menu, making it easier to
find, and avoid it showing up in lost+found for those without the
extra-xdg-menus package installed.  Those with the package installed
will still find it in the HamRadio toplevel menu, as well as several
other locations. :) The patch is tested and found to be working.

diff -ur gpredict-1.1/debian/gpredict.desktop 
gpredict-1.1-pere/debian/gpredict.desktop
--- gpredict-1.1/debian/gpredict.desktop2010-01-31 11:40:42.0 
+0100
+++ gpredict-1.1-pere/debian/gpredict.desktop   2010-01-31 11:40:27.0 
+0100
@@ -6,4 +6,4 @@
 Icon=gpredict.png
 Terminal=false
 Type=Application
-Categories=HamRadio;
+Categories=Application;Network;HamRadio;Education;Astronomy;Science;

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#489247: gpredict: Incorrect KDE menu entry showing up in Lost and Found [nb]

2010-01-31 Thread Fernando M. Maresca
Hi,
http://www.debian.org/doc/packaging-manuals/menu-policy/ch2.html#s2.1
specifies that "Here is the authoritative list of Debian's menu
structure. **Packages must be placed in leaf sections.**" (emphasis
mine).

On Sun, Jan 31, 2010 at 12:02:25PM +0100, Petter Reinholdtsen wrote:
>   googlearth: Application;Network
So it's my understanding that this placement is wrong.
I have no app entries in the App->Network submenu, instead they are
under App->Network->Communication, App->Network->Web_Browsing, etc.
Same for other submenus. 

> Based on this, I suggest Application, Network, Education, Astronomy
> and Science is added to the gpredict desktop file.  This will make
> gpredict show up in several places in the menu, making it easier to
> find, and avoid it showing up in lost+found for those without the
> extra-xdg-menus package installed.  Those with the package installed
> will still find it in the HamRadio toplevel menu, as well as several
> other locations. :) The patch is tested and found to be working.
I can't find any reference to this arrangement in DP or maintainer
manuals, nor I have installed any package that do this. I carefully
check the menu files in my boxes and can't found any app showing up in
two places.
Anyone can comment on this point, please?

(IMHO it's not good to get a bigger or longer menu, so showing several
entries for one app is at least questionable on this point.)

> find, and avoid it showing up in lost+found for those without the
> extra-xdg-menus package installed.  Those with the package installed
Would be better if we depend on extra-xdg-menus?

Thanks,
Fer


signature.asc
Description: Digital signature


Bug#489247: gpredict: Incorrect KDE menu entry showing up in Lost and Found [nb]

2010-01-31 Thread Petter Reinholdtsen
[Fernando M. Maresca]
> Hi,
> http://www.debian.org/doc/packaging-manuals/menu-policy/ch2.html#s2.1
> specifies that "Here is the authoritative list of Debian's menu
> structure. **Packages must be placed in leaf sections.**" (emphasis
> mine).

You are confusing Debian menu files with desktop files.  My proposal
is for the desktop files, not for the Debian menu files.  KDE show the
desktop files directly in the menu and the Debian menu files in a
Debian submenu.

The rest of your comments seem to all be about the menu file, which I
do not propose to change.

> Would be better if we depend on extra-xdg-menus?

Nope.  We want to get rid of the HamRadio and Electronics toplevel
menu entries, and having one more package depending on it will make
the goal harder to solve.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#489247: gpredict: Incorrect KDE menu entry showing up in Lost and Found [nb]

2010-01-31 Thread Fernando M. Maresca
Hi,
On Sun, Jan 31, 2010 at 02:23:41PM +0100, Petter Reinholdtsen wrote:
> You are confusing Debian menu files with desktop files.  My proposal
> is for the desktop files, not for the Debian menu files.  KDE show the
> desktop files directly in the menu and the Debian menu files in a
> Debian submenu.
> 
> The rest of your comments seem to all be about the menu file, which I
> do not propose to change.
Ok, thanks for the explanation. 
Then I think I should apply your patch.
I'll be uploading a new package to mentors.debian.net ASAP.
Bye,

-- 
Fernando M. Maresca


signature.asc
Description: Digital signature


Bug#489247: gpredict: Incorrect KDE menu entry showing up in Lost and Found [nb]

2008-07-04 Thread Petter Reinholdtsen

Package:  gpredict
Version:  0.8.0-2
Severity: important
User: [EMAIL PROTECTED]
Usertag:  debian-edu

When testing the Debian Edu desktop in Lenny using Norwegian Bokmål as
the language setting , I noticed a 'Lost and found' (Tapt og funnet)
menu entry in the KDE K menu.  This menu section is used for
applications with broken .desktop files.

The gpredict package was one of the three packages with an entry
there.  The entry read 'GNOME Predict'.

I'm not sure what is required to solve this, but believe the KDE menu
entry should be moved to a more appropriate location.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#489247: gpredict: Incorrect KDE menu entry showing up in Lost and Found [nb]

2008-07-04 Thread Hamish Moffatt
On Fri, Jul 04, 2008 at 02:00:21PM +0200, Petter Reinholdtsen wrote:
> When testing the Debian Edu desktop in Lenny using Norwegian Bokmål as
> the language setting , I noticed a 'Lost and found' (Tapt og funnet)
> menu entry in the KDE K menu.  This menu section is used for
> applications with broken .desktop files.
> 
> The gpredict package was one of the three packages with an entry
> there.  The entry read 'GNOME Predict'.
> 
> I'm not sure what is required to solve this, but believe the KDE menu
> entry should be moved to a more appropriate location.

Thanks Petter.

gpredict just uses a menu category of HamRadio, which is one of the xdg
desktop specification's secondary categories. It doesn't list any of the
primary categories because I don't think any of them are appropriate,
but this isn't really policy compliant.

There's a package called extra-xdg-menus which provides a suitable menu
for HamRadio and also Electronics applications. gpredict might Suggest
that package, as a solution to this bug.

Hamish
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]