From df4f3981ee9103f98f0dc0f3f3b71791ca8ebed0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 29 Mar 2013 22:57:57 +0200 Subject: [PATCH] disable visibility in MATE; mate has own tool for this --- lxappearance.spec | 6 ++++-- mate-desktop.patch | 10 ++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 mate-desktop.patch diff --git a/lxappearance.spec b/lxappearance.spec index d4c56a1..cef7db0 100644 --- a/lxappearance.spec +++ b/lxappearance.spec @@ -10,11 +10,12 @@ Summary: Desktop-independent theme switcher for GTK+ Name: lxappearance Version: 0.5.2 -Release: 1 +Release: 2 License: GPL v3 Group: X11/Applications Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz # Source0-md5: a088c6ef08fd25df7dc3be5b07168bbe +Patch0: mate-desktop.patch URL: http://wiki.lxde.org/en/LXAppearance BuildRequires: gettext-devel %{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0} @@ -37,6 +38,7 @@ Header files for lxappearance. %prep %setup -q +%patch0 -p1 %build %configure \ @@ -50,7 +52,7 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_libdir}/lxappearance/plugins -%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/tt_RU %find_lang %{name} diff --git a/mate-desktop.patch b/mate-desktop.patch new file mode 100644 index 0000000..fbe5538 --- /dev/null +++ b/mate-desktop.patch @@ -0,0 +1,10 @@ +--- lxappearance-0.5.2/./data/lxappearance.desktop~ 2012-05-20 17:30:13.000000000 +0300 ++++ lxappearance-0.5.2/./data/lxappearance.desktop 2013-03-29 22:56:50.156462788 +0200 +@@ -136,6 +136,6 @@ + Comment[zh_TW]=自訂桌面和應用程式的外觀風格 + Icon=preferences-desktop-theme + Exec=lxappearance +-NotShowIn=GNOME;XFCE; ++NotShowIn=GNOME;MATE;XFCE; + StartupNotify=true + Categories=Settings;DesktopSettings;GTK;X-LXDE-Settings; -- 2.44.0