]> git.sur5r.net Git - i3/i3/commitdiff
merge the formerly debian-specific x-terminal-emulator patch
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 6 Nov 2014 18:56:32 +0000 (19:56 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 6 Nov 2014 18:56:32 +0000 (19:56 +0100)
I think instead of maintaining distribution-specific patches forever,
it’s a bit easier to have them applied upstream, especially since they
don’t break anything.

fixes #876

debian/patches/manpage-x-terminal-emulator.patch [deleted file]
debian/patches/series [deleted file]
debian/patches/use-x-terminal-emulator.patch [deleted file]
i3-sensible-terminal
man/i3-sensible-terminal.man

diff --git a/debian/patches/manpage-x-terminal-emulator.patch b/debian/patches/manpage-x-terminal-emulator.patch
deleted file mode 100644 (file)
index 17b8ee4..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Description: list x-terminal-emulator as one of i3-sensible-terminal’s choices
-Author: Michael Stapelberg <stapelberg@debian.org>
-Origin: vendor
-Forwarded: not-needed
-Last-Update: 2011-12-28
-
----
-
-Index: i3-4.1.1/man/i3-sensible-terminal.man
-===================================================================
---- i3-4.1.1.orig/man/i3-sensible-terminal.man 2011-12-28 23:56:55.487581000 +0100
-+++ i3-4.1.1/man/i3-sensible-terminal.man      2011-12-28 23:57:06.725802633 +0100
-@@ -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
- * urxvt
- * rxvt
- * terminator
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644 (file)
index 08d60ae..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-use-x-terminal-emulator.patch
-manpage-x-terminal-emulator.patch
diff --git a/debian/patches/use-x-terminal-emulator.patch b/debian/patches/use-x-terminal-emulator.patch
deleted file mode 100644 (file)
index 9616162..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: i3-sensible-terminal: try x-terminal-emulator first
-Author: Michael Stapelberg <stapelberg@debian.org>
-Origin: vendor
-Forwarded: not-needed
-Last-Update: 2012-09-19
-
----
-
-Index: i3-4.3/i3-sensible-terminal
-===================================================================
---- i3-4.3.orig/i3-sensible-terminal   2012-09-19 18:08:09.000000000 +0200
-+++ i3-4.3/i3-sensible-terminal        2012-09-19 18:32:06.393883488 +0200
-@@ -4,11 +4,7 @@
- #
- # 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.
--for terminal in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
-+for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
-     if which $terminal > /dev/null 2>&1; then
-         exec $terminal "$@"
-     fi
index 485fc16dce4869633f87044be07531e2ec07c505..d56efa70a00b062c38b76d2cb0c2de6b9988b2c2 100755 (executable)
@@ -5,10 +5,10 @@
 # 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.
-for terminal in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
+# We welcome patches that add distribution-specific mechanisms to find the
+# preferred terminal emulator. On Debian, there is the x-terminal-emulator
+# symlink for example.
+for terminal in $TERMINAL x-terminal-emulator urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do
     if command -v $terminal > /dev/null 2>&1; then
         exec $terminal "$@"
     fi
index 49d8831c770eeac221343e1fe99b4b7a34a6fd1c..d1ad5198edaa8bd9fa30f63f3056d5f93a34149e 100644 (file)
@@ -22,6 +22,7 @@ is appropriate for the distribution.
 It tries to start one of the following (in that order):
 
 * $TERMINAL (this is a non-standard variable)
+* x-terminal-emulator (only present on Debian and derivatives)
 * urxvt
 * rxvt
 * terminator