From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:35833) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihwSG-0001JB-4o for guix-patches@gnu.org; Thu, 19 Dec 2019 09:07:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihwSE-0004xO-Pz for guix-patches@gnu.org; Thu, 19 Dec 2019 09:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihwSE-0004u9-8a for guix-patches@gnu.org; Thu, 19 Dec 2019 09:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihwSE-00087q-32 for guix-patches@gnu.org; Thu, 19 Dec 2019 09:07:02 -0500 Subject: [bug#38538] [PATCH] gnu: Add gnome-shell-extension-hide-app-icon Resent-Message-ID: Message-ID: <4f12bf6507870d42bd2b839e93cfc1db939d6ea8.camel@student.tugraz.at> From: Leo Prikler Date: Thu, 19 Dec 2019 15:06:27 +0100 In-Reply-To: <20191219133801.GI917@E5400> References: <20191208201249.5479-1-leo.prikler@student.tugraz.at> <20191219092004.GE917@E5400> <15831159f236fe1a0e31d5882580c4d049a9522b.camel@student.tugraz.at> <20191219133801.GI917@E5400> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner Cc: 38538@debbugs.gnu.org Am Donnerstag, den 19.12.2019, 15:38 +0200 schrieb Efraim Flashner: > On Thu, Dec 19, 2019 at 01:44:47PM +0100, Leo Prikler wrote: > > Am Donnerstag, den 19.12.2019, 12:00 +0100 schrieb Leo Prikler: > > > Am Donnerstag, den 19.12.2019, 11:20 +0200 schrieb Efraim > > > Flashner: > > > > What does this need glib and glib:bin for? Is it just for > > > > building > > > > the > > > > schemas or does it actually need it at runtime? > > > To be honest, I'm not quite sure. I've copied this part from my > > > dash- > > > to-dock extension, wherein I copied it from the gnome-shell- > > > extensions > > > package. > > > > > > As far as I'm aware both packages do build schemas, but I'm not > > > sure > > > how extensions handle them at runtime. Perhaps this is already > > > wrong > > > in the package I originally copied the snippet from. I'll try to > > > see > > > how far I can get with depropagation. > > > > > > Regards, > > > Leo > > Upon closer inspection, it appears depropagation is indeed > > possible. > > See the attached patch. > > It makes sense to me that glib:bin should be a native-input but I > assume > glib, if it's needed at runtime, would probably need to be propagated > since the extension doesn't refer to it. Likely it's getting glib > from > another package in the environment. I'm not really sure, what the correct thing would be here. I did have very weird behaviour with hide-app-icon, where having glib as input vs. not having it made the difference of having to reload the extension after changing settings vs. not having to. However, I'm really not sure whether that was due to the extension or a weirdness in GNOME Shell. > Also, the depropagation patch should really be a separate patch for > each > package if we go that route. Perhaps. I just wanted to "prove" that you can at least depropagate glib:bin and probably glib as well.