From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH -v2] Fix gtk-im-modules for Gtk+3 Date: Mon, 06 Feb 2017 02:08:11 +0100 Message-ID: <87h948yvlw.fsf@elephly.net> References: <20170130030649.1716-1-huang_ying_caritas@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caXn2-0006ru-OK for guix-devel@gnu.org; Sun, 05 Feb 2017 20:08:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1caXmz-0000gk-KV for guix-devel@gnu.org; Sun, 05 Feb 2017 20:08:20 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1caXmz-0000gX-D5 for guix-devel@gnu.org; Sun, 05 Feb 2017 20:08:17 -0500 In-reply-to: <20170130030649.1716-1-huang_ying_caritas@163.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: huang_ying_caritas@163.com Cc: guix-devel@gnu.org huang_ying_caritas@163.com writes: > From: Huang Ying > > Gtk+3 now have multiple outputs, so the gtk-query-immodules-3.0 should be find > in bin output. Ah, I was wondering why this broke! Thanks for investigating it. > The fix works, but appears hacky, because I haven't read much guix source > code, so I don't know the best solution. It’s only hacky because I tried to reuse the code for both versions of Gtk. Maybe “gtk+-2” should also get a “bin” output…? This is acceptable with the changes Danny suggested. Maybe we can find a way to make this prettier in the future. Thanks again for taking the time to investigate and fix it, and to submit a patch! I’m very grateful for this contribution. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net