Wine package does not include referenced wine.xpm

Bug #88285 reported by Pete Cox
26
Affects Status Importance Assigned to Milestone
wine (Baltix)
Fix Released
Undecided
Unassigned
wine (Ubuntu)
Fix Released
Undecided
Ubuntu Wine Team

Bug Description

Binary package hint: wine

I'm building a desktop entry loader application and had a problem importing the wine .desktop entries.

Each file e.g. wine-notepad.desktop reference a wine.xpm which isn't included in the package.

The offending excerpt is:

[Desktop Entry]
Icon=wine.xpm

Obviously icon theme authors aren't creating an icon specific to wine. So I feel it's the package maintainer's responsibility to include this image. Hopefully in a variety of sizes, perhaps in png format, or use an svg instead. So wine.xpm isn't a great choice in the text file - 'wine' would suffice with the system searching for an xpm, png or svg. Not all implementations support each of the 3 formats

The icon theme spec (http://standards.freedesktop.org/icon-theme-spec) states that 3rd party apps should assume that a hicolor theme exists and if only providing one size it should be 48x48.

At the very least then an icon at /usr/share/icons/hicolor/48x48/apps/wine.xpm would provide the necessary feature.

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

It was easy to reproduce. I can confirm this bug.

Changed in wine:
status: Unconfirmed → Confirmed
Revision history for this message
willz06jw (willz06jw) wrote :

I also see this as a serious bug -- one of the main ways to get people on ubuntu is letting them know that they can run windows programs.

Revision history for this message
jhansonxi (jhansonxi) wrote :

The icon referred to in the desktop files is from the source package: wine-0.9.34.tar.bz2/programs/winemenubuilder/wine.xpm

Changed in wine:
assignee: nobody → ubuntu-wine
Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

Still valid in Gutsy!

Revision history for this message
Jakson Alves de Aquino (jaksonaquino) wrote :

This bug is not visible for users of Kubuntu because KDE themes include an icon for wine. For Gnome menu, I have put a copy of wine.xpm at usr/local/share/pixmaps.xpm.

I didn't test it myself, but it seems that the definitive solution would be the addition of two lines to the "install" rule of debian/rules of wine source package:

   mkdir $(CURDIR)/debian/tmp/usr/share/pixmaps
   cp -f $(CURDIR)/programs/winemenubuilder/wine.xpm $(CURDIR)/debian/tmp/usr/share/pixmaps

I'm using gutsy.

Revision history for this message
Loye Young (loyeyoung) wrote : Re: [Bug 88285] Re: Wine package does not include referenced wine.xpm

On Tuesday, September 25, 2007 4:16:11 pm Jakson Alves de Aquino wrote:
> I didn't test it myself, but it seems that the definitive solution would
> be the addition of two lines to the "install" rule of debian/rules of
> wine source package:

I suggest instead the freedesktop.org-compliant solution of creating a
menu-method for wine. See the man page for the "menu" package.

Revision history for this message
Loye Young (loyeyoung) wrote :

On Tuesday, September 25, 2007 5:39:20 pm Loye Young wrote:
> I suggest instead the freedesktop.org-compliant solution of creating a
> menu-method for wine. See the man page for the "menu" package.

My suggestion doesn't make sense. The bug is about the icon, not the menu. I
didn't read the original post carefully enough.

My bad. Please ignore.

Revision history for this message
Max (maxter) wrote :

confirmed in gutsy, updated from feisty

Revision history for this message
Alec Wright (alecjw) wrote :

Confirmed, again in gutsy. Can someone set a priority and (perhpas) milestone for this?
I recommend low importance, and a milestone of either gutsy (because it's so easy to fix, just package a .xpm file) or hardy (because it's so unimportant, and gutsy release is only 21 days from now)

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Icons have been fixed in Gutsy. The package now contains .svg files for all the icons I have.

Changed in wine:
status: Confirmed → Fix Committed
Changed in wine:
status: Fix Committed → Fix Released
Max (maxter)
Changed in wine:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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