ultrastar-ng.desktop points to an inexisting .xpm file

Bug #140005 reported by rettichschnidi
6
Affects Status Importance Assigned to Milestone
ultrastar-ng (Debian)
Fix Released
Unknown
ultrastar-ng (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: ultrastar-ng

first:

$ dpkg-query -L ultrastar-ng-gstreamer|egrep 'desktop|xpm'
/usr/share/games/applications/ultrastar-ng.desktop
/usr/share/games/pixmaps/ultrastar-ng.xpm
/usr/share/pixmaps/ultrastar-ng.xpm
/usr/share/applications/ultrastar-ng.desktop

Why are there .desktop and .xpm files under /user/share/games/ ? Never seen before.

second:

$ cat /usr/share/games/applications/ultrastar-ng.desktop|grep Icon
Icon=ultrastar-ng.xpm

seems to be OK, but:

cat /usr/share/applications/ultrastar-ng.desktop|grep Icon
Icon=ultrastar-ng64bis.xpm

The Icon name is wrong in the file /usr/share/applications/ultrastar-ng.desktop
Since my gnome menu displays this (and only this, doesn't display the one under games) .desktop-file, there is no nice Icon.

Revision history for this message
Basilio Kublik (sourcercito) wrote :

confirmed in gutsy

ultrastar-ng 0.1.4-2

Changed in ultrastar-ng:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Confirmed on Hardy, I'm working on this.

Changed in ultrastar-ng:
assignee: nobody → mariobonino
Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :
Changed in ultrastar-ng:
assignee: mariobonino → nobody
status: Triaged → Confirmed
Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

I've forwarded this to Debian

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Thanks Mario.
The package seems indeed quite messy on this, I see 3 icons in debian + another in the source, 1 desktop file in debian and another in the source and 1 menu. The only icon which is installed is neither used by the .desktop nor by the menu (because the name in the menu is wrong).
I would:

- correct the icon name in the menu
- install the additional icon for the desktop
- correct the installation of icon and desktop in /usr/share/games

Note that rules defines --datadir=\$${prefix}/share/games and that the Makefile.am in the data dir of the source is using it for the upstream icon and desktop installation.

Can you do that?

Changed in ultrastar-ng:
assignee: nobody → mariobonino
status: Confirmed → In Progress
Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Thank you for your comment Cesare, I hope that this debdiff covers your suggestion.

Changed in ultrastar-ng:
assignee: mariobonino → nobody
status: In Progress → Confirmed
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

This only fix the desktop and icon for ultrastar-ng-streamer but also installs the game data in /usr/share/ultrastar-ng/ instead of /usr/share/games/ultrastar-ng/ which was chosen by Debian.
The package ultrasta-ng-xine is not affected (its another rules target).
Also, if they are not used anymore, it makes sense to remove whatever .desktop and icons are in debian/.
In my opinion the best is to try to coordinate this with Debian, they may have other ideas as well (for instance patching Makefile.in or using some other icon than the one from upstream).

Changed in ultrastar-ng:
assignee: nobody → mariobonino
status: Confirmed → In Progress
Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Honestly, I haven't understood very well what to do.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

1) There are two binary packages, you corrected one (ultrastar-ng-streamer) but forgot about the other (ultrasta-ng-xine).
2) For the package that you corrected, your correction solves the installation of the icon, but, as a side effects, installs all the game data in /usr/share/ultrastar-ng/ instead of /usr/share/games/ultrastar-ng/, which was the location chosen by Debian.
3) Your solution uses the icon and .desktop files from upstream, therefore, why do we keep the other icons and .desktop file from Debian in debian/ ?

Finally, and more importantly, I'm asking you to coordinate the resolution with Debian; they may want to use one of the icons in debian/ instead of the one from upstream and they may want to solve the problem differently. Since we want to minimise our delta we should try to have a common solution.

Is that clearer?

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

I hope that Debian will reply soon; in the meantime, what about this ?

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Sorry, I forgot to update debian/changelog.

Revision history for this message
Miriam Ruiz (miry) wrote :

Thanks for the report about the icon, Mario. I'm seeing how to fix it in the newer release.

I'll keep the game data in /usr/share/games/ though. I don't know in Ubuntu, but it's where data for games belong according to FHS ( http://www.thedumbterminal.co.uk/information/fhs.shtml )

Revision history for this message
Mb (mb-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

Thank you Miriam. :)

Changed in ultrastar-ng:
assignee: mariobonino → nobody
status: In Progress → Confirmed
status: Confirmed → Fix Committed
Changed in ultrastar-ng:
status: Unknown → New
Changed in ultrastar-ng:
status: Fix Committed → Fix Released
Changed in ultrastar-ng (Debian):
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.