packagekit-gnome .desktop files use not-existing icons

Bug #349572 reported by Baptiste Mille-Mathias
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PackageKit
Invalid
Low
gnome-icon-theme (Ubuntu)
Invalid
Undecided
Unassigned
Jaunty
Invalid
Undecided
Unassigned
packagekit-gnome (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: packagekit-gnome

The menu entries of packagekit-gnome refers to icon that don't exist, and so triggers the bug 348683.
I don't know if this is a packaging error or an upstream bug.

TEST CASE:
1. Run gpk-prefs or gpk-repo
2. Check the icon on the upper left of the window

VERIFICATION DONE:
- A nice icon is displayed instead of the 'missing image' icon.

Revision history for this message
Savvas Radevic (medigeek) wrote :

from packagekit-gnome package in ubuntu:
gpk-prefs,desktop missing icon gpk-prefs
gpk-repo.desktop missing icon gpk-repo

I think it's upstream, since the rest of the icons seem in place :)
It could also be gnome-icon-theme (?)

$ grep Icon /usr/share/applications/gpk*
/usr/share/applications/gpk-application.desktop:Icon=system-software-install
/usr/share/applications/gpk-install-catalog.desktop:Icon=system-software-install
/usr/share/applications/gpk-install-file.desktop:Icon=system-software-install
/usr/share/applications/gpk-log.desktop:Icon=gpk-log
/usr/share/applications/gpk-prefs.desktop:Icon=gpk-prefs
/usr/share/applications/gpk-repo.desktop:Icon=gpk-repo
/usr/share/applications/gpk-service-pack.desktop:Icon=gpk-service-pack
/usr/share/applications/gpk-update-viewer.desktop:Icon=system-software-update

Revision history for this message
Savvas Radevic (medigeek) wrote :

Sorry, missing icons: gpk-service-pack, gpk-log, gpk-repo, gpk-prefs

Revision history for this message
In , Savvas Radevic (medigeek) wrote :

Forwarding the original bug report from:
https://bugs.launchpad.net/ubuntu/+source/packagekit-gnome/+bug/349572

"packagekit-gnome .desktop files use not-existing icons"

"$ grep Icon /usr/share/applications/gpk*
/usr/share/applications/gpk-application.desktop:Icon=system-software-install
/usr/share/applications/gpk-install-catalog.desktop:Icon=system-software-install
/usr/share/applications/gpk-install-file.desktop:Icon=system-software-install
/usr/share/applications/gpk-log.desktop:Icon=gpk-log
/usr/share/applications/gpk-prefs.desktop:Icon=gpk-prefs
/usr/share/applications/gpk-repo.desktop:Icon=gpk-repo
/usr/share/applications/gpk-service-pack.desktop:Icon=gpk-service-pack
/usr/share/applications/gpk-update-viewer.desktop:Icon=system-software-update"

"missing icons: gpk-service-pack, gpk-log, gpk-repo, gpk-prefs"

Revision history for this message
In , Richard Hughes (richard-hughes) wrote :

(In reply to comment #0)
> "missing icons: gpk-service-pack, gpk-log, gpk-repo, gpk-prefs"

These are installed in the gnome-packagekit tarball, no?

Revision history for this message
In , Savvas Radevic (medigeek) wrote :
Revision history for this message
In , Richard Hughes (richard-hughes) wrote :

Sure, they are called pk*.png, but they are linked by doing:

install-data-hook:
 mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps;
 mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
 ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-repo.png;
 ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-log.png;
 ln -fs $(iconsdir)/pk-update-high.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-prefs.png;
 ln -fs $(iconsdir)/pk-service-pack.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-service-pack.png;
 ln -fs $(iconsdir)/pk-service-pack.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-x-servicepack.png;
 ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-x-package-list.png;
 ln -fs $(iconsdir)/pk-collection-installed.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-x-catalog.png;

In the data/icons/${size}/status/Makefile.am files.

Revision history for this message
In , Savvas Radevic (medigeek) wrote :

Then it's a package mistake - thanks! :)

Revision history for this message
Kenneth Wimer (kwwii) wrote :

This seems like upstream changed the icons in the lookup but didn't see to it that new icons were created as well.

Revision history for this message
Savvas Radevic (medigeek) wrote :

as andreasn replied "packagekit specific icons should be installed by packagekit"
So this is a packagekit-specific bug that should be forwarded upstream :)

Changed in gnome-icon-theme (Ubuntu):
status: New → Invalid
Changed in packagekit-gnome (Ubuntu):
status: New → Confirmed
Changed in packagekit:
status: Unknown → Confirmed
Revision history for this message
Savvas Radevic (medigeek) wrote :

It's a package mistake the icons have make rules to be linked, but the package doesn't seem to include them:
install-data-hook:
 mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps;
 mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
 ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-repo.png;
 ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-log.png;
 ln -fs $(iconsdir)/pk-update-high.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-prefs.png;
 ln -fs $(iconsdir)/pk-service-pack.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/gpk-service-pack.png;
 ln -fs $(iconsdir)/pk-service-pack.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-x-servicepack.png;
 ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-x-package-list.png;
 ln -fs $(iconsdir)/pk-collection-installed.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-x-catalog.png;

Revision history for this message
Savvas Radevic (medigeek) wrote :

blocked by bug #364443

Changed in packagekit-gnome (Ubuntu):
assignee: nobody → Savvas Radevic (medigeek)
Changed in packagekit:
status: Confirmed → Invalid
Revision history for this message
Savvas Radevic (medigeek) wrote :

I've sent a patch that covers this at bug #364443

Changed in packagekit-gnome (Ubuntu):
assignee: Savvas Radevic (medigeek) → nobody
Revision history for this message
Savvas Radevic (medigeek) wrote :
Revision history for this message
Jonathan Riddell (jr) wrote :

accepted into jaunty-proposed, please test

tracking on bug 249104

Changed in packagekit-gnome (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Savvas Radevic (medigeek) wrote :

Confirmed, menu Applications > System tools shows correct icons!

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Could it be pushed for karmic too?

Thanks

Revision history for this message
Savvas Radevic (medigeek) wrote :

karmic patch posted at bug #249104:
https://bugs.launchpad.net/ubuntu/+source/packagekit-gnome/+bug/249104/comments/12

  * debian/patches/configure.patch:
    + FTBFS on some archs: Disable -Wcast-align. (LP: #249104)
    + FTBFS: Disable GDK_MULTIHEAD_SAFE, as it breaks with new libcanberra-gtk.
      (LP: #419554)
  * debian/packagekit-gnome.install:
    - Use directories, there is no need to name files one by one:
      + debian/tmp/usr/bin/
      + debian/tmp/usr/share/man/
      + debian/tmp/usr/share/locale/
      + debian/tmp/usr/share/applications/
      + debian/tmp/usr/share/gnome-packagekit/
      + debian/tmp/usr/share/icons/hicolor/ (LP: #349572)
    - Sort list
  * debian/copyright: Now dep5-compatible, updated FSF address.
  * debian/control: Removed "edge" from XS-Vcs-Bzr.

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

This bug was fixed in the package packagekit-gnome - 2.27.2-0ubuntu3

---------------
packagekit-gnome (2.27.2-0ubuntu3) karmic; urgency=low

  * debian/patches/configure.patch:
    + FTBFS on some archs: Disable -Wcast-align. (LP: #249104)
    + FTBFS: Disable GDK_MULTIHEAD_SAFE, as it breaks with new libcanberra-gtk.
      (LP: #419554)
  * debian/packagekit-gnome.install:
    - Use directories, there is no need to name files one by one:
      + debian/tmp/usr/bin/
      + debian/tmp/usr/share/man/
      + debian/tmp/usr/share/locale/
      + debian/tmp/usr/share/applications/
      + debian/tmp/usr/share/gnome-packagekit/
      + debian/tmp/usr/share/icons/hicolor/ (LP: #349572)
    - Sort list
  * debian/copyright: Now dep5-compatible, updated FSF address.
  * debian/control: Removed "edge" from XS-Vcs-Bzr.

 -- Savvas Radevic <email address hidden> Wed, 26 Aug 2009 21:27:12 +0200

Changed in packagekit-gnome (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [Bug 349572] Re: packagekit-gnome .desktop files use not-existing icons

Baptiste, could you give it a "test spin" on karmic as well? :)

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

On Thu, Aug 27, 2009 at 11:18 AM, Savvas Radevic<email address hidden> wrote:
> Baptiste, could you give it a "test spin" on karmic as well? :)
>

Sure, I'll give a try this evening.

Thanks

--
Baptiste Mille-Mathias
Les gens heureux ne sont pas pressés

Revision history for this message
Savvas Radevic (medigeek) wrote :

FYI, I'll ask for a new upstream release:
https://bugs.launchpad.net/bugs/414239

Revision history for this message
Martin Pitt (pitti) wrote :

Anyone who can test the jaunty-proposed package? If not, the proposed update will be removed again. Thanks!

Changed in packagekit-gnome (Ubuntu Jaunty):
status: New → Fix Committed
Changed in gnome-icon-theme (Ubuntu Jaunty):
status: New → Invalid
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU Verification for Jaunty:
I have reproduced the problem with packagekit-gnome | 0.3.13-0ubuntu1 and have verified that the version of packagekit-gnome | 0.3.13-0ubuntu1.1 in -proposed fixes the issue.

Marking as verification-done

description: updated
tags: added: verification-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package packagekit-gnome - 0.3.13-0ubuntu1.1

---------------
packagekit-gnome (0.3.13-0ubuntu1.1) jaunty-proposed; urgency=low

  * 05_fix_set_tooltip_text.patch: Fixes FTBFS on i386 and amd64
    Check GTK version, use gtk_status_icon_set_tooltip_text or
    gtk_status_icon_set_tooltip where applicable.
    Thanks to Michael Bienia (LP: #364443)
  * packagekit-gnome.install: Include usr/share/icons/hicolor (LP: #349572)
  * 10_configure_no_Wcast-align.patch: remove -Wcast-align from configure
    (LP: #249104)

 -- Savvas Radevic <email address hidden> Mon, 20 Apr 2009 19:28:06 +0000

Changed in packagekit-gnome (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Changed in packagekit:
importance: Unknown → Low
Changed in packagekit:
importance: Low → Unknown
Changed in packagekit:
importance: Unknown → Low
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.