From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6768880775710375936 X-Received: by 2002:aa7:df0f:: with SMTP id c15mr39363988edy.141.1576002867343; Tue, 10 Dec 2019 10:34:27 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:907:385:: with SMTP id ss5ls4913688ejb.7.gmail; Tue, 10 Dec 2019 10:34:26 -0800 (PST) X-Google-Smtp-Source: APXvYqyo5bp8DOGuX5o/mQTfMYWmtM7Y/r/3xqDNZIlxNSfKWNS3vJnoAi735miSD838Hc92z2Qn X-Received: by 2002:a17:906:27d3:: with SMTP id k19mr5314493ejc.290.1576002866831; Tue, 10 Dec 2019 10:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576002866; cv=none; d=google.com; s=arc-20160816; b=QpLJ2OHUnQfriVYmxon+ZLcB7h3Jyz1xX+OGec4S8oStHsWSkTvOhZuuB90saUhxDb tAfdbR3z6yhOS0Nk1j3l0A6c84/rfQyK3FhlbPrci68AxxyPkYTIqTbxsa98cCDk8QKg EBnN6yxgF4RmxdmeD+E5qI0m3PP6pRTxqCopeIttoYaW4iyrEUXRZ5nEVIin+3Zf+4DN zuYdLzLHK5m9ZUfBixVb+XO8PUaVv+yOO11DJa4OSsolHK1JCXD/Y8WJ4qUcTL4X28hb 67LXAJKp0qngaiRljMa3REqaNkqWb9bnIh7Y0JSJ6mHhEliKT9CaFSZPc5pOcKAkXOXb iKhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :references:in-reply-to:message-id:date:subject:to:from; bh=V5RTXGsbgcUuq8ENME6aq1Smyo6R8NRX/oyA/FSDep4=; b=aJ+dkTQ9Rkkn9Lgdr/6f8evde2GvW9IYG4e59/El5TiNfCTwOJ2M9yQgfhbGsFJs3x Itut5DNVgC/lHx10z6beJI0z9xTXt39mXdXxB8ZOFD0aHOHlAhMXRrFbVbRDKNNVhLcJ YUbGG69u0EcT6zBdqEqiHoQCpbk6hZ/Lw39Fsr5cNuPrY4nSCJR5AOVzqsOXVBUdFtyK xk+B0vKL8AHm441DGMihS01MnEak3RRXDQaHEQq7r1HaRYPlQkwaoZ89/PJu0h9wigUl drYGuJGYBbS+dh/3yZ/+/MLIy4OcObxQt/YmXgRgKIGICq8k2RXY7V75mLHo4BgLBpSU VOjA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id h11si124838edv.1.2019.12.10.10.34.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Dec 2019 10:34:26 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id xBAIYQ7g015704 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 10 Dec 2019 19:34:26 +0100 Received: from md1f2u6c.ad001.siemens.net ([139.25.68.37]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id xBAIYPkP002418 for ; Tue, 10 Dec 2019 19:34:26 +0100 From: Jan Kiszka To: isar-users Subject: [PATCH 4/6] lib/oe/terminal.py: fix gnome-terminal start behavior Date: Tue, 10 Dec 2019 19:34:23 +0100 Message-Id: <7a418808980bcfe6db7e4ab8918ef21736a6d3cf.1576002865.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TUID: 4u/lrBJlXZMz From: Trevor Gamblin [Bugzilla Bug 13201] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=13201 Newer versions of gnome-terminal (3.32.0 and up) are not starting as expected for commands e.g. "bitbake -c devshell zlib". This manifests as the instance appearing as a new tab rather than a new window. Fix this (and maintain new window preferred behavior) by changing the "-x" option to "--" as per the warning message, avoiding deprecated options: # Option “--command” is deprecated and might be removed in a later version of gnome-terminal. # Use “-- ” to terminate the options and put the command line to execute after it. Signed-off-by: Trevor Gamblin Signed-off-by: Richard Purdie [Jan: imported from OE-core d5fd205239c8e3a1d68649562a7e91c8fbbc805e] Signed-off-by: Jan Kiszka --- meta/lib/oe/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 0d875c3..8705804 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -57,7 +57,7 @@ class XTerminal(Terminal): raise UnsupportedTerminal(self.name) class Gnome(XTerminal): - command = 'gnome-terminal -t "{title}" -x {command}' + command = 'gnome-terminal -t "{title}" -- {command}' priority = 2 def __init__(self, sh_cmd, title=None, env=None, d=None): -- 2.16.4