Skip to contentSkip to conversation

vte: move shell auto scripts into seperate package

PATCH New Andreas Müller 1 participant 2 messages Apr 25, 2019

lore
Share & tools
lore
#0 lore raw

cover vte: move shell auto scripts into seperate package

Follow-up for vte upgrade to 0.56.1 sent out recently.

Andreas Müller (1):
vte: move shell auto scripts into seperate package

 meta/recipes-support/vte/vte_0.56.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 vte: move shell auto scripts into seperate package

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.

---
 meta/recipes-support/vte/vte_0.56.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-support/vte/vte_0.56.1.bb +2 -1
index 02b84c38d9..3585e9ce57 100644
@@ -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"
Signature · 1 line
2.20.1