fix xrdb plugin (#1140329)

This commit is contained in:
raveit65 2014-11-12 23:45:14 +01:00
parent 5f04aa203e
commit 9ae307516c
2 changed files with 22 additions and 2 deletions

View File

@ -1,12 +1,15 @@
Name: mate-settings-daemon
Version: 1.8.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: MATE Desktop settings daemon
License: GPLv2+
URL: http://mate-desktop.org
Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
# fix rhbz (#1140329)
Patch0: mate-settings-daemon_fix-xrdb-plugin-for-rhel.patch
# To generate tarball
# wget http://git.mate-desktop.org/%%{name}/snapshot/%%{name}-{_internal_version}.tar.xz -O %%{name}-%%{version}.git%%{_internal_version}.tar.xz
#Source0: http://raveit65.fedorapeople.org/Mate/git-upstream/%{name}-%{version}.git%{_internal_version}.tar.xz
@ -45,7 +48,9 @@ various parameters of a MATE session and the applications that run
under it.
%prep
%setup -q
%setup -q
%patch0 -p1 -b .xrdb
%build
%configure \
@ -112,6 +117,9 @@ fi
%changelog
* Wed Nov 12 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.8.2-2
- fix xrdb plugin (#1140329)
* Thu Oct 02 2014 Wolfgang Ulbrich <chat-to-me@raveit.de> - 1.8.2-1
- update to 1.8.2 release

View File

@ -0,0 +1,12 @@
diff -upr mate-settings-daemon-make-dist-orig/plugins/xrdb/msd-xrdb-manager.c mate-settings-daemon-make-dist/plugins/xrdb/msd-xrdb-manager.c
--- mate-settings-daemon-make-dist-orig/plugins/xrdb/msd-xrdb-manager.c 2014-11-12 23:17:45.461271000 +0100
+++ mate-settings-daemon-make-dist/plugins/xrdb/msd-xrdb-manager.c 2014-11-12 23:18:28.705704971 +0100
@@ -430,7 +430,7 @@ apply_settings (MsdXrdbManager *manager,
mate_settings_profile_start (NULL);
- command = "xrdb -merge -quiet";
+ command = "xrdb -cpp /bin/cpp -merge -quiet";
string = g_string_sized_new (256);
append_theme_colors (style, string);