GNOME Bugzilla – Bug 436258
[Patch] Run gtk-update-icon-cache in uninstall-hook
Last modified: 2007-05-09 20:26:43 UTC
Please describe the problem: In the theme-friendly-icons gnome goal: http://live.gnome.org/GnomeGoals/AppIcon We made all apps run gtk-update-icon-cache in install-hook. They also should call it in uninstall-hook. Refer to #362604. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 87642 [details] [review] patch to run gtk-update-icon-cache in uninstall-hook
Comment on attachment 87642 [details] [review] patch to run gtk-update-icon-cache in uninstall-hook David, the patch contains an error. You have two definitions for the 'install-data-hook'. The second one before the test should be 'update-icon-cache'.
Brian, I get the following error when running 'make distcheck' with your patch applied. Could you please submit an updated patch: make[4]: Nothing to be done for `install-exec-am'. test -z "/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_inst/share/applications" || mkdir -p -- "/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_inst/share/applications" /usr/bin/install -c -m 644 'gnome-sudoku.desktop' '/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_inst/share/applications/gnome-sudoku.desktop' make[4]: Leaving directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build/gnome-sudoku' make[3]: Leaving directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build/gnome-sudoku' make[2]: Leaving directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build/gnome-sudoku' make[2]: Entering directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build' make[3]: Entering directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build' make[3]: Nothing to be done for `install-exec-am'. make install-data-hook make[4]: Entering directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build' make[4]: *** No rule to make target `update-icon-cache', needed by `install-data-hook'. Stop. make[4]: Leaving directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build' make[3]: *** [install-data-am] Error 2 make[3]: Leaving directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/andreas/gnome/gnome-games/gnome-games-2.19.1/_build' make: *** [distcheck] Error 2
And make sure that your patch passes 'make distcheck' :-)
Created attachment 87912 [details] [review] Update patch Andrea, try this one.
Thanks! Patch applied to SVN: http://svn.gnome.org/viewcvs/gnome-games?view=revision&revision=6229