74cec71367
Cross build tool similar to icecream OBS-URL: https://build.opensuse.org/request/show/264819 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/distcc?expand=0&rev=1
80 lines
3.1 KiB
Diff
80 lines
3.1 KiB
Diff
diff -Naur distcc-3.2rc1.orig/Makefile.in distcc-3.2rc1/Makefile.in
|
||
--- distcc-3.2rc1.orig/Makefile.in 2011-10-26 11:07:15.000000000 +0900
|
||
+++ distcc-3.2rc1/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@
|
||
@@ -1016,7 +1017,8 @@
|
||
@echo " documents $(DESTDIR)$(docdir)"
|
||
@echo " programs $(DESTDIR)$(bindir)"
|
||
@echo " system configuration $(DESTDIR)$(sysconfdir)"
|
||
- @echo " shared data files $(DESTDIR)$(pkgdatadir)"
|
||
+ @echo " icons $(DESTDIR)$(icondir)"
|
||
+ @echo " .desktop file $(DESTDIR)$(desktopdir)"
|
||
|
||
|
||
# install-sh can't handle multiple arguments, but we don't need any
|
||
@@ -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"
|
||
diff -Naur distcc-3.2rc1.orig/gnome/distccmon-gnome.desktop distcc-3.2rc1/gnome/distccmon-gnome.desktop
|
||
--- distcc-3.2rc1.orig/gnome/distccmon-gnome.desktop 2011-04-06 03:58:58.000000000 +0900
|
||
+++ distcc-3.2rc1/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 <20>vervakare
|
||
@@ -8,9 +6,9 @@
|
||
GenericName[sv]=Distribuerad kompilerings-<2D>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
|
||
diff -Naur distcc-3.2rc1.orig/src/mon-gnome.c distcc-3.2rc1/src/mon-gnome.c
|
||
--- distcc-3.2rc1.orig/src/mon-gnome.c 2008-12-03 06:50:25.000000000 +0900
|
||
+++ distcc-3.2rc1/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
|
||
|