From: Andreas Müller Date: Thu, 25 Apr 2019 00:10:54 +0000 (+0200) Subject: vte: move shell auto scripts into seperate package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38e01f8b940571eba51cf8c41e92ca922969fe44;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. (From OE-Core rev: c0bed1aa9549568a966d34d5a9e5902190f980cb) Signed-off-by: Andreas Müller Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/vte/vte_0.56.1.bb b/meta/recipes-support/vte/vte_0.56.1.bb index 02b84c38d9e..3585e9ce571 100644 --- a/meta/recipes-support/vte/vte_0.56.1.bb +++ b/meta/recipes-support/vte/vte_0.56.1.bb @@ -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"