--- a/Makefile.in 2011-10-26 11:07:15.000000000 +0900 +++ b/Makefile.in 2011-10-27 16:57:46.815272689 +0900 @@ -50,13 +50,14 @@ includedir = @includedir@ oldincludedir = /usr/include docdir = @docdir@ -pkgdatadir = $(datadir)/@PACKAGE_NAME@ +icondir = $(datadir)/pixmaps +desktopdir = $(datadir)/applications include_server_builddir = $(builddir)/_include_server # These must be done from here, not from autoconf, because they can # contain variable expansions written in Make syntax. Ew. -DIR_DEFS = -DSYSCONFDIR="\"${sysconfdir}\"" -DPKGDATADIR="\"${pkgdatadir}\"" +DIR_DEFS = -DSYSCONFDIR="\"${sysconfdir}\"" -DICONDIR="\"${icondir}\"" # arguments to pkgconfig GNOME_PACKAGES = @GNOME_PACKAGES@ @@ -1108,10 +1110,10 @@ done install-gnome-data: $(gnome_data) - $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)" - for p in $(gnome_data); do \ - $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ - done + $(mkinstalldirs) "$(DESTDIR)$(icondir)" + $(mkinstalldirs) "$(DESTDIR)$(desktopdir)" + $(INSTALL_DATA) gnome/distccmon-gnome-icon.png "$(DESTDIR)$(icondir)" || exit 1 + $(INSTALL_DATA) gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)" || exit 1 install-conf: $(conf_files) $(default_files) $(mkinstalldirs) "$(DESTDIR)$(sysconfdir)/distcc" --- a/gnome/distccmon-gnome.desktop 2011-04-06 03:58:58.000000000 +0900 +++ b/gnome/distccmon-gnome.desktop 2011-10-27 17:01:50.792242592 +0900 @@ -1,6 +1,4 @@ [Desktop Entry] -Version=0.9.4 -Encoding=UTF-8 Exec=distccmon-gnome Name=distcc monitor Name[sv]=distcc övervakare @@ -8,9 +6,9 @@ GenericName[sv]=Distribuerad kompilerings-övervakare Comment=Graphical view of distributed compile tasks Comment[sv]=Grafisk vy av distribuerade kompileringsuppgifter -Icon=distccmon-gnome-icon.png +Icon=distccmon-gnome-icon TryExec=distccmon-gnome Terminal=false Type=Application -Categories=GNOME;Application;Development; +Categories=GNOME;Development; StartupNotify=true --- a/src/mon-gnome.c 2008-12-03 06:50:25.000000000 +0900 +++ b/src/mon-gnome.c 2011-10-27 16:54:50.220566026 +0900 @@ -599,7 +599,7 @@ #if GTK_CHECK_VERSION(2,2,0) gtk_window_set_icon_from_file (GTK_WINDOW (mainwin), - PKGDATADIR "/distccmon-gnome-icon.png", + ICONDIR "/distccmon-gnome-icon.png", NULL); #endif