[Pkg-xfce-commits] r167 - goodies/xfce4-terminal/debian

Yves-Alexis Perez corsac-guest@costa.debian.org
Fri, 27 May 2005 19:34:36 +0000


Author: corsac-guest
Date: 2005-05-27 19:34:35 +0000 (Fri, 27 May 2005)
New Revision: 167

Added:
   goodies/xfce4-terminal/debian/xfce4-terminal.wrapper
Removed:
   goodies/xfce4-terminal/debian/Terminal.wrapper
Modified:
   goodies/xfce4-terminal/debian/rules
Log:
So we all aggree to xfce4-terminal.


Deleted: goodies/xfce4-terminal/debian/Terminal.wrapper
===================================================================
--- goodies/xfce4-terminal/debian/Terminal.wrapper	2005-05-23 22:17:41 UTC (rev 166)
+++ goodies/xfce4-terminal/debian/Terminal.wrapper	2005-05-27 19:34:35 UTC (rev 167)
@@ -1,57 +0,0 @@
-#! /usr/bin/perl -w
-#
-# Terminal.wrapper - Debian terminal wrapper script
-#
-# Copyright (c) 2004-2005 os-cillation
-#
-
-while ($opt = shift(@ARGV))
-{
-    if ($opt eq '-display')
-    {
-	$arg = shift(@ARGV);
-	push(@args, '--default-display', $arg);
-    }
-    elsif ($opt eq '-name')
-    {
-	$arg = shift(@ARGV);
-    }
-    elsif ($opt eq '-n')
-    {
-	$arg = shift(@ARGV);
-    }
-    elsif ($opt eq '-T' || $opt eq '-title')
-    {
-	push(@args, '--title', shift(@ARGV));
-    }
-    elsif ($opt eq '-geometry')
-    {
-	$arg = shift(@ARGV);
-	push(@args, "--geometry=$arg");
-    }
-    elsif ($opt eq '-fn')
-    {
-	$arg = shift(@ARGV);
-    }
-    elsif ($opt eq '-fg')
-    {
-	$arg = shift(@ARGV);
-    }
-    elsif ($opt eq '-bg')
-    {
-	$arg = shift(@ARGV);
-    }
-    elsif ($opt eq '-tn')
-    {
-	$arg = shift(@ARGV);
-    }
-    elsif ($opt eq '-e')
-    {
-	push(@args, '-x', @ARGV);
-    }
-    elsif ($opt eq '-h' || $opt eq '--help')
-    {
-	push(@args, '--help');
-    }
-}
-exec('Terminal',@args);

Modified: goodies/xfce4-terminal/debian/rules
===================================================================
--- goodies/xfce4-terminal/debian/rules	2005-05-23 22:17:41 UTC (rev 166)
+++ goodies/xfce4-terminal/debian/rules	2005-05-27 19:34:35 UTC (rev 167)
@@ -13,10 +13,10 @@
 	mkdir debian/xfce4-terminal/usr/share/doc/xfce4-terminal/html/
 	mv debian/xfce4-terminal/usr/share/doc/Terminal/* debian/xfce4-terminal/usr/share/doc/xfce4-terminal/html/
 	rmdir debian/xfce4-terminal/usr/share/doc/Terminal/
-	cd debian/xfce4-terminal/usr/share/man/man1/ && ln -s Terminal.1 xfce4-terminal.1
-	cd debian/xfce4-terminal/usr/share/man/man1/ && ln -s Terminal.1 xfce4-terminal.wrapper.1
-	cd debian/xfce4-terminal/usr/bin && ln -s Terminal xfce4-terminal
+	mv debian/xfce4-terminal/usr/share/man/man1/Terminal.1 debian/xfce4-terminal/usr/share/man/man1/xfce4-terminal.1
+	cd debian/xfce4-terminal/usr/share/man/man1/ && ln -s xfce4-terminal.1 xfce4-terminal.wrapper.1
+	mv debian/xfce4-terminal/usr/bin/Terminal debian/xfce4-terminal/usr/bin/xfce4-terminal
 	rm debian/xfce4-terminal/usr/bin/terminal
-	install -c -m 0755 debian/Terminal.wrapper debian/xfce4-terminal/usr/bin/xfce4-terminal.wrapper
+	install -c -m 0755 debian/xfce4-terminal.wrapper debian/xfce4-terminal/usr/bin/xfce4-terminal.wrapper
 	perl -i -pe 's/for browser in mozilla/for browser in sensible-browser mozilla/' debian/xfce4-terminal/usr/lib/xfce4-terminal/TerminalHelp
 	perl -i -pe 's#doc/Terminal/#doc/xfce4-terminal/html#' debian/xfce4-terminal/usr/lib/xfce4-terminal/TerminalHelp

Added: goodies/xfce4-terminal/debian/xfce4-terminal.wrapper
===================================================================
--- goodies/xfce4-terminal/debian/xfce4-terminal.wrapper	2005-05-23 22:17:41 UTC (rev 166)
+++ goodies/xfce4-terminal/debian/xfce4-terminal.wrapper	2005-05-27 19:34:35 UTC (rev 167)
@@ -0,0 +1,57 @@
+#! /usr/bin/perl -w
+#
+# Terminal.wrapper - Debian terminal wrapper script
+#
+# Copyright (c) 2004-2005 os-cillation
+#
+
+while ($opt = shift(@ARGV))
+{
+    if ($opt eq '-display')
+    {
+	$arg = shift(@ARGV);
+	push(@args, '--default-display', $arg);
+    }
+    elsif ($opt eq '-name')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-n')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-T' || $opt eq '-title')
+    {
+	push(@args, '--title', shift(@ARGV));
+    }
+    elsif ($opt eq '-geometry')
+    {
+	$arg = shift(@ARGV);
+	push(@args, "--geometry=$arg");
+    }
+    elsif ($opt eq '-fn')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-fg')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-bg')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-tn')
+    {
+	$arg = shift(@ARGV);
+    }
+    elsif ($opt eq '-e')
+    {
+	push(@args, '-x', @ARGV);
+    }
+    elsif ($opt eq '-h' || $opt eq '--help')
+    {
+	push(@args, '--help');
+    }
+}
+exec('xfce4-terminal',@args);