]> git.sur5r.net Git - i3/i3/commitdiff
update debian/patches 4.1
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 11 Nov 2011 22:40:38 +0000 (22:40 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 11 Nov 2011 22:40:38 +0000 (22:40 +0000)
debian/patches/manpage-x-terminal-emulator.patch [new file with mode: 0644]
debian/patches/series
debian/patches/use-x-terminal-emulator [deleted file]
debian/patches/use-x-terminal-emulator.patch [new file with mode: 0644]

diff --git a/debian/patches/manpage-x-terminal-emulator.patch b/debian/patches/manpage-x-terminal-emulator.patch
new file mode 100644 (file)
index 0000000..61ff016
--- /dev/null
@@ -0,0 +1,14 @@
+## Description: Document Debian-specific x-terminal-emulator in the manpage.
+## Origin/Author: Michael Stapelberg
+Index: i3-4.1/man/i3-sensible-terminal.man
+===================================================================
+--- i3-4.1.orig/man/i3-sensible-terminal.man   2011-11-11 22:38:06.508025537 +0000
++++ i3-4.1/man/i3-sensible-terminal.man        2011-11-11 22:38:04.752994892 +0000
+@@ -22,6 +22,7 @@
+ It tries to start one of the following (in that order):
+ * $TERMINAL (this is a non-standard variable)
++* x-terminal-emulator (only on Debian)
+ * xterm
+ * urxvt
+ * rxvt
index bb1d8d233a31fe55059c08c3960e5b173c6b66b7..08d60ae03e2a39580456d7f9af8d713b32a392e3 100644 (file)
@@ -1 +1,2 @@
-use-x-terminal-emulator
+use-x-terminal-emulator.patch
+manpage-x-terminal-emulator.patch
diff --git a/debian/patches/use-x-terminal-emulator b/debian/patches/use-x-terminal-emulator
deleted file mode 100644 (file)
index 8ad4dae..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/i3-sensible-terminal.O   2011-11-11 22:03:52.414218386 +0000
-+++ b/i3-sensible-terminal     2011-11-11 22:04:38.372020210 +0000
-@@ -1,13 +1,11 @@
- #!/bin/sh
- # This script tries to exec a terminal emulator by trying some known terminal
- # emulators.
--#
--# Distributions/packagers should enhance this script with a
--# distribution-specific mechanism to find the preferred terminal emulator. On
--# Debian, there is the x-terminal-emulator symlink for example.
--# Please don't touch the first line, though:
- which $TERMINAL >/dev/null && exec $TERMINAL "$@"
-+# Debian-specific: use x-terminal-emulator
-+which x-terminal-emulator >/dev/null && exec x-terminal-emulator "$@"
-+
- # Hopefully one of these is installed:
- which xterm >/dev/null && exec xterm "$@"
- which urxvt >/dev/null && exec urxvt "$@"
diff --git a/debian/patches/use-x-terminal-emulator.patch b/debian/patches/use-x-terminal-emulator.patch
new file mode 100644 (file)
index 0000000..fd515c1
--- /dev/null
@@ -0,0 +1,21 @@
+## Description: Use Debian-specific x-terminal-emulator in i3-sensible-terminal
+## Origin/Author: Michael Stapelberg
+--- a/i3-sensible-terminal.O   2011-11-11 22:03:52.414218386 +0000
++++ b/i3-sensible-terminal     2011-11-11 22:04:38.372020210 +0000
+@@ -1,13 +1,11 @@
+ #!/bin/sh
+ # This script tries to exec a terminal emulator by trying some known terminal
+ # emulators.
+-#
+-# Distributions/packagers should enhance this script with a
+-# distribution-specific mechanism to find the preferred terminal emulator. On
+-# Debian, there is the x-terminal-emulator symlink for example.
+-# Please don't touch the first line, though:
+ which $TERMINAL >/dev/null && exec $TERMINAL "$@"
++# Debian-specific: use x-terminal-emulator
++which x-terminal-emulator >/dev/null && exec x-terminal-emulator "$@"
++
+ # Hopefully one of these is installed:
+ which xterm >/dev/null && exec xterm "$@"
+ which urxvt >/dev/null && exec urxvt "$@"