[Pkg-xfce-commits] r2347 - desktop/branches/svn-snapshots/xfdesktop4/debian

corsac at alioth.debian.org corsac at alioth.debian.org
Sat Oct 4 12:25:20 UTC 2008


Author: corsac
Date: 2008-10-04 12:25:20 +0000 (Sat, 04 Oct 2008)
New Revision: 2347

Modified:
   desktop/branches/svn-snapshots/xfdesktop4/debian/rules
Log:
old menu files are gone


Modified: desktop/branches/svn-snapshots/xfdesktop4/debian/rules
===================================================================
--- desktop/branches/svn-snapshots/xfdesktop4/debian/rules	2008-10-04 12:24:37 UTC (rev 2346)
+++ desktop/branches/svn-snapshots/xfdesktop4/debian/rules	2008-10-04 12:25:20 UTC (rev 2347)
@@ -72,22 +72,12 @@
 	dh_testdir
 	dh_testroot
 
-	# use correct Debian defaults
-	for f in $(CURDIR)/debian/tmp/etc/xdg/xfce4/desktop/menu.xml*; do \
-	   	perl -0777 -i -pe 's/cmd="xfterm4"/cmd="exo-open --launch TerminalEmulator"/; s/cmd="mozilla"/cmd="sensible-browser"/; s/(<include type="system" style="simple" unique="true"\/>)/$$1\n<separator\/>\n<menu name="Debian"><include type="file" src="menudefs.hook" \/><\/menu>\n/; s/xffm/thunar/g' $$f; \
-	done
-
   # rename the generic terminal file
 	mv $(CURDIR)/debian/tmp/usr/share/applications/xfce4-terminal.desktop \
 		$(CURDIR)/debian/tmp/usr/share/applications/xfce4-term.desktop
 	sed -i 's/xfce4-terminal/xfce4-term/' \
 		$(CURDIR)/debian/tmp/etc/xdg/menus/xfce-applications.menu
   
-	# Remove the duplicated copies of XML in the Italian menu files.
-	for f in $(CURDIR)/debian/tmp/etc/xdg/xfce4/desktop/*.xml.it; do \
-	   	perl -i -ne 'BEGIN { $$state = 0; } if (/xml version="1.0"/) { $$state++; } if ($$state < 2) { print; }' $$f; \
-	done
-
 	dh_installdocs README TODO
 	dh_installmenu
 	dh_installman -a




More information about the Pkg-xfce-commits mailing list