r44815 - in /desktop/unstable/vte2.91/debian: changelog libvte-2.91-common.links patches/series patches/vte-704960-append-to-prompt-command.patch

fabian at users.alioth.debian.org fabian at users.alioth.debian.org
Thu May 28 08:59:24 UTC 2015


Author: fabian
Date: Thu May 28 08:59:24 2015
New Revision: 44815

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=44815
Log:
* Team upload.
* vte.sh: Append __vte_prompt_command to PROMPT_COMMAND if it is not
  already there, patch taken from upstream bugzilla (Closes: #714175).
* vte.sh: Symlink into /usr/share/bash-completion/completions so it
  gets sourced by interactive shells (Closes: #706065).

Added:
    desktop/unstable/vte2.91/debian/libvte-2.91-common.links
    desktop/unstable/vte2.91/debian/patches/vte-704960-append-to-prompt-command.patch
Modified:
    desktop/unstable/vte2.91/debian/changelog
    desktop/unstable/vte2.91/debian/patches/series

Modified: desktop/unstable/vte2.91/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte2.91/debian/changelog?rev=44815&op=diff
==============================================================================
--- desktop/unstable/vte2.91/debian/changelog	[utf-8] (original)
+++ desktop/unstable/vte2.91/debian/changelog	[utf-8] Thu May 28 08:59:24 2015
@@ -1,3 +1,13 @@
+vte2.91 (0.40.2-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * vte.sh: Append __vte_prompt_command to PROMPT_COMMAND if it is not
+    already there, patch taken from upstream bugzilla (Closes: #714175).
+  * vte.sh: Symlink into /usr/share/bash-completion/completions so it
+    gets sourced by interactive shells (Closes: #706065).
+
+ -- Fabian Greffrath <fabian at debian.org>  Thu, 28 May 2015 10:53:55 +0200
+
 vte2.91 (0.40.2-1) unstable; urgency=medium
 
   * New upstream release.

Added: desktop/unstable/vte2.91/debian/libvte-2.91-common.links
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte2.91/debian/libvte-2.91-common.links?rev=44815&op=file
==============================================================================
--- desktop/unstable/vte2.91/debian/libvte-2.91-common.links	(added)
+++ desktop/unstable/vte2.91/debian/libvte-2.91-common.links	[utf-8] Thu May 28 08:59:24 2015
@@ -0,0 +1 @@
+/etc/profile.d/vte-2.91.sh /usr/share/bash-completion/completions/vte-2.91.sh

Modified: desktop/unstable/vte2.91/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte2.91/debian/patches/series?rev=44815&op=diff
==============================================================================
--- desktop/unstable/vte2.91/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/vte2.91/debian/patches/series	[utf-8] Thu May 28 08:59:24 2015
@@ -1,3 +1,4 @@
 01_scroll_notebook.patch
 0001-Add-the-style-context-provider-with-FALLBACK-priorit.patch
 fix-out-of-tree-build.patch
+vte-704960-append-to-prompt-command.patch

Added: desktop/unstable/vte2.91/debian/patches/vte-704960-append-to-prompt-command.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/vte2.91/debian/patches/vte-704960-append-to-prompt-command.patch?rev=44815&op=file
==============================================================================
--- desktop/unstable/vte2.91/debian/patches/vte-704960-append-to-prompt-command.patch	(added)
+++ desktop/unstable/vte2.91/debian/patches/vte-704960-append-to-prompt-command.patch	[utf-8] Thu May 28 08:59:24 2015
@@ -0,0 +1,22 @@
+Description: Append __vte_prompt_command to PROMPT_COMMAND if it is not already there
+Author: Egmont Koblinger <egmont at gmail.com>
+Bug-GNOME: https://bugzilla.gnome.org/show_bug.cgi?id=704960
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714175
+
+--- a/src/vte.sh
++++ b/src/vte.sh
+@@ -57,8 +57,12 @@ __vte_prompt_command() {
+ 
+ case "$TERM" in
+   xterm*|vte*)
+-    [ -n "$BASH_VERSION" ] && PROMPT_COMMAND="__vte_prompt_command"
+-    [ -n "$ZSH_VERSION"  ] && precmd_functions+=(__vte_osc7)
++    if [ -n "$BASH_VERSION" -a "${PROMPT_COMMAND#*__vte_prompt_command}" = "$PROMPT_COMMAND" ]; then
++      PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND; }__vte_prompt_command"
++    fi
++    if [ -n "$ZSH_VERSION" -a "${precmd_functions[*]#*__vte_osc7}" = "${precmd_functions[*]}" ]; then
++      precmd_functions+=(__vte_osc7)
++    fi
+     ;;
+ esac
+ 




More information about the pkg-gnome-commits mailing list