]> code.ossystems Code Review - openembedded-core.git/commitdiff
vte: move shell auto scripts into seperate package
authorAndreas Müller <schnitzeltony@gmail.com>
Thu, 25 Apr 2019 00:10:54 +0000 (02:10 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Apr 2019 09:09:02 +0000 (10:09 +0100)
It bugged me for a while that xfce4-terminal sets (tab-)title to 'Untitled'.
This is caused by bash variable PROMPT_COMMAND not set. vte ships /etc/profile.d/vte.sh
adding PROMPT_COMMAND and a function to handle.

Since

* not all consumers of 'libvte' are interested in this feature
* executable shipped by package 'vte' is not necessary for PROMPT_COMMAND support

create a seperate package.
Once applied patches for xfce4-terminal and gnome-terminal will be send.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/vte/vte_0.56.1.bb

index 02b84c38d9e1b6ec4b729e304d359b70e385b479..3585e9ce57162d55b46777f58597d9c932a17ee6 100644 (file)
@@ -50,7 +50,8 @@ CFLAGS += "-D_GNU_SOURCE"
 # Use libtool-cross (which has a hack to prevent that) instead.
 EXTRA_OEMAKE_class-target = "LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
 
-PACKAGES =+ "libvte"
+PACKAGES =+ "libvte ${PN}-prompt"
 FILES_libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*"
+FILES_${PN}-prompt = "${sysconfdir}/profile.d"
 
 BBCLASSEXTEND = "native nativesdk"