distcc/distcc-3.2_rc1-freedesktop.patch
Tomáš Chvátal 7643f0efd2 Accepting request 586112 from home:avindra
- Update to 3.3
  * Use masquerade as compiler white-list.
  * New --allow-private (the default) which allows non-global IP
    and IPv6 addresses.
  * Cross-compilation support.
  * Fix parsing of IPv6 addresses.
  * Python 3, not python 2.
  * Can build without python (and without pump mode or tests).
- cleanup with spec-cleaner
- use %autosetup macro
- drop distcc-minilzo-2.08.patch (upstreamed)
- drop distcc-3.0-fix-fortify.patch (upstreamed)
- rebase distcc-3.2_rc1-freedesktop.patch
- rebase distcc-3.2_rc1-gssapi.patch
- rebase distcc-3.2_rc1-python.patch
- renumber patches

OBS-URL: https://build.opensuse.org/request/show/586112
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/distcc?expand=0&rev=14
2018-03-13 07:10:28 +00:00

67 lines
2.3 KiB
Diff

--- 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