no menu entry

Bug #89353 reported by towsonu2003
12
Affects Status Importance Assigned to Milestone
gnome-chess (Debian)
Fix Released
Unknown
gnome-chess (Ubuntu)
Fix Released
Low
Luca Falavigna

Bug Description

Binary package hint: gnome-chess

doesn't have a menu entry in Dapper

Tags: bitesize
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Confirmed on Feisty. gnome-chess includes a .desktop but it gets installed in /usr/share/gnome/apps/Games/gnome-chess.desktop and gnome doesn't find it.

Changed in gnome-chess:
assignee: nobody → pandisv
importance: Undecided → Low
status: Unconfirmed → Confirmed
Changed in gnome-chess:
status: Unknown → Unconfirmed
Revision history for this message
Adrien Cunin (adri2000) wrote :

The Debian maintainer seems unresponsive. Vassilis: if you want to fix this bug, you can do it now.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Vassilis: Are you working on this?

Revision history for this message
Miguel Ruiz (mruiz) wrote :

It is possible to work on this bug ?

Thanks in advance!

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I'd say, go on if you want :).

Revision history for this message
Miguel Ruiz (mruiz) wrote :

I'm working on it.

Changed in gnome-chess:
assignee: pandisv → mruiz
Revision history for this message
Miguel Ruiz (mruiz) wrote :

The solution is almost done. I have to fix a detail to upload my debdiff.

Greetings!

Changed in gnome-chess:
status: Confirmed → In Progress
Revision history for this message
Adam Sunderland (iterion) wrote :

I have been working on a solution to this as well, as it seemed like an appropriate introduction into Ubuntu packaging. I don't mean to step on toes by uploading this before Miguel, but I figured I would since I believe I have fixed it.

I am unsure that this is the most elegant solution, but it works for me.

The debdiff is attached.

Revision history for this message
Adam Sunderland (iterion) wrote :

Nevermind, the patch doesn't work at all. I looked in my regular /usr/share instead of my chrooted environment. Ignore the last post.

Sorry for the spam.

Revision history for this message
Miguel Ruiz (mruiz) wrote :

I can't remember why I didn't upload my patch... anyway, it's here for a review.

Cheers!

Miguel Ruiz (mruiz)
Changed in gnome-chess:
assignee: mruiz → nobody
status: In Progress → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

It seems candidate revision contains two .desktop files:

$ dpkg -c gnome-chess_0.3.3-6.1ubuntu1_i386.deb | grep desktop
-rw-r--r-- root/root 981 2008-01-21 20:47 ./usr/share/gnome/apps/Games/gnome-chess.desktop
-rw-r--r-- root/root 981 2008-01-21 20:46 ./usr/share/applications/gnome-chess.desktop
$

Could you please address this? Thanks.

Changed in gnome-chess:
assignee: nobody → mruiz
status: Confirmed → In Progress
Revision history for this message
Miguel Ruiz (mruiz) wrote :

Is valid to patch the following files? (drop the directory reference)

$ grep "/gnome/apps/Games/" * -R
gnome-chess.spec:%{prefix}/share/gnome/apps/Games/*
gnome-chess.spec.in:%{prefix}/share/gnome/apps/Games/*

Also, gnome-chess.desktop is the only file under /usr/share/gnome/apps/Games/.

Cheers!

Revision history for this message
Adam Sunderland (iterion) wrote :

I looked at the package, and to me it seems that the problem lies in the Makefile.in where there are these lines:

Icondir = $(datadir)/pixmaps
Mimedir = $(datadir)/mime-info
Gamesdir = $(datadir)/gnome/apps/Games

changing Gamesdir = $(datadir)/applications should solve the problem I think.

I'll do a build myself to make sure.

Adam

Revision history for this message
Adam Sunderland (iterion) wrote :

Yeah, I built my own version and that simple change is all that is really needed.

If you want me to provide you with a debdiff just let me know.

Adam

Revision history for this message
Miguel Ruiz (mruiz) wrote :

Thanks Adam and Luca for your guidance.

I'm attaching a new debdiff, without the problem:

mruiz@hardy:~$ dpkg -c pbuilder/result/gnome-chess_0.3.3-6.1ubuntu1_i386.deb |grep .desktop
-rw-r--r-- root/root 981 2008-01-22 10:09 ./usr/share/applications/gnome-chess.desktop

Cheers!

Changed in gnome-chess:
assignee: mruiz → nobody
status: In Progress → Confirmed
Revision history for this message
Adam Sunderland (iterion) wrote :

Perhaps I am wrong, since I am new at this also, but shouldn't the version be 0.3.3-6ubuntu1 instead of 0.3.3-6.1ubuntu1?

Since this is the first Ubuntu revision on top of the 6th debian revision?

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 89353] Re: no menu entry

2008/1/22, Adam Sunderland <email address hidden>:
> Shouldn't the version be 0.3.3-6ubuntu1 instead of 0.3.3-6.1ubuntu1?

No, the version is right. There is currently version 0.3.3-6.1build1
in Hardy, not 0.3.3-6 (which is the version in Gutsy).

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

desktop-file-validate complains loudly, could you please check?

Revision history for this message
Miguel Ruiz (mruiz) wrote :

Luca:

I checked the gnome-chess.desktop with desktop-file-validate and I fixed the errors (It's a very good tool!).

I'm attaching a better patch ;-)

Cheers!

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Looks good now, thanks ;)

Changed in gnome-chess:
status: Confirmed → Fix Committed
assignee: nobody → dktrkranz
Revision history for this message
Miguel Ruiz (mruiz) wrote :

Finally I did it ;-)

Thanks everybody!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-chess - 0.3.3-6.1ubuntu1

---------------
gnome-chess (0.3.3-6.1ubuntu1) hardy; urgency=low

  * debian/patches:
    + Added 022_menu_fix.diff to solve missing menu entry (LP: #89353).
    + Added 023_gnome-chess-desktop.diff to fix some problems as result
      of testing with desktop-file-validate.
  * debian/control:
    + Bumped Standards-Version to 3.7.3
    + Modified Maintainer value to match the DebianMaintainerField
      specification.

 -- Miguel Ruiz <email address hidden> Thu, 24 Jan 2008 01:00:33 -0300

Changed in gnome-chess:
status: Fix Committed → Fix Released
Changed in gnome-chess:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.