[packages/vfmg] - XFCE is fully XDG compliant, doesn't need a menu generator - rel 7
baggins
baggins at pld-linux.org
Fri Aug 16 21:26:36 CEST 2013
commit 285a6af9f86aaa5e99aa141347133480160039de
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Aug 16 21:26:07 2013 +0200
- XFCE is fully XDG compliant, doesn't need a menu generator
- rel 7
no-xfce4.patch | 40 ++++++++++++++++++++++++++++++++++++++++
vfmg.spec | 4 +++-
2 files changed, 43 insertions(+), 1 deletion(-)
---
diff --git a/vfmg.spec b/vfmg.spec
index 4333a7d..6fbd0a5 100644
--- a/vfmg.spec
+++ b/vfmg.spec
@@ -3,7 +3,7 @@ Summary: VFolders Menu Generator
Summary(pl.UTF-8): Generator Menu opartego na VFolders
Name: vfmg
Version: 0.9.95
-Release: 6
+Release: 7
License: GPL
Group: X11/Window Managers/Tools
Vendor: GoTaR <gotar at pld-linux.org>
@@ -11,6 +11,7 @@ Source0: %{name}-%{version}.tar.bz2
# Source0-md5: f73aaacd03bd9b8fe097cac5011f26d9
Patch0: %{name}-ignore-OnlyUnallocated.patch
Patch1: %{name}-XDG_MENU_PREFIX.patch
+Patch2: no-xfce4.patch
URL: http://vfmg.sourceforge.net/
BuildRequires: rpm-perlprov
Requires(post,preun): /sbin/chkconfig
@@ -55,6 +56,7 @@ generowanie menu dla zarządców okien o określonych godzinach.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/no-xfce4.patch b/no-xfce4.patch
new file mode 100644
index 0000000..22268c1
--- /dev/null
+++ b/no-xfce4.patch
@@ -0,0 +1,40 @@
+--- vfmg-0.9.95/vfmg.init~ 2006-04-18 18:35:22.000000000 +0200
++++ vfmg-0.9.95/vfmg.init 2013-08-16 21:23:06.368823641 +0200
+@@ -5,7 +5,7 @@
+ #
+ # chkconfig: 345 93 07
+ #
+-# description: Support for fluxbox, XFCE4, fvwm, fvwm2
++# description: Support for fluxbox, fvwm, fvwm2
+ #
+ # author: Lukasz Pawelczyk <havner at pld-linux.org> 2004
+
+@@ -18,17 +18,12 @@
+
+ case "$1" in
+ start|restart|reload|force-reload)
+- umask 022
++ umask 022
+ if is_yes "$FLUXBOX" && [ -f /etc/X11/fluxbox/menu2 ]; then
+ show "Regenerating fluxbox menu"; busy
+ if vfmg fluxbox > /etc/X11/fluxbox/menu2. 2>/dev/null \
+ && mv /etc/X11/fluxbox/menu2. /etc/X11/fluxbox/menu2; then ok; else fail; fi
+ fi
+- if is_yes "$XFCE4" && [ -f /etc/xdg/xfce4/desktop/menu2.xml ]; then
+- show "Regenerating XFCE4 menu"; busy
+- if vfmg xfce4 > /etc/xdg/xfce4/desktop/menu2.xml. 2>/dev/null \
+- && mv -f /etc/xdg/xfce4/desktop/menu2.xml. /etc/xdg/xfce4/desktop/menu2.xml; then ok; else fail; fi
+- fi
+ if is_yes "$FVWM2" && [ -f /etc/X11/fvwm2/fvwm2.menu2 ]; then
+ show "Regenerating FVWM2 menu"; busy
+ if vfmg fvwm2 > /etc/X11/fvwm2/fvwm2.menu2. 2>/dev/null \
+--- vfmg-0.9.95/vfmg.sysconfig~ 2005-12-07 17:22:27.000000000 +0100
++++ vfmg-0.9.95/vfmg.sysconfig 2013-08-16 21:23:12.512310595 +0200
+@@ -1,7 +1,6 @@
+ # Here you can choose which windowmanagers will have regenerated menu
+ # with vfmg.init
+
+-XFCE4="yes"
+ FLUXBOX="yes"
+ FVWM2="yes"
+ FVWM="yes"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vfmg.git/commitdiff/285a6af9f86aaa5e99aa141347133480160039de
More information about the pld-cvs-commit
mailing list