From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Anyone got ideas on how to make Gajim aware of plugins in store? Date: Tue, 13 Jun 2017 22:38:27 +0200 Message-ID: <874lvjr5bw.fsf@elephly.net> References: <20170612103325.hrb63bpvefdnah3b@abyayala> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKsaH-0005Ek-7K for guix-devel@gnu.org; Tue, 13 Jun 2017 16:38:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKsaE-0007hV-3r for guix-devel@gnu.org; Tue, 13 Jun 2017 16:38:41 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKsaD-0007hE-Rq for guix-devel@gnu.org; Tue, 13 Jun 2017 16:38:38 -0400 In-reply-to: <20170612103325.hrb63bpvefdnah3b@abyayala> 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: ng0 Cc: guix-devel@gnu.org ng0 writes: > Do I use native-search-paths? There is no variable > which is used in Gajim, so I think maybe I need to > include this in the wrapper and add something similar > to the native-search-path which would look in > ~/.guix-profile/share/gajim/plugins/ for $name-of-plugin > to PATH? Gajim assumes that there is a single plugin directory, which has to be set at configuration time. This means that you cannot even default it to ~/.guix-profile/share/gajim/plugins, because people might use different profile directories. The best way to fix this is upstream by sending them a patch that would make Gajim look for plugins in other directories, either by implementing a search path environment variable or by adding a key to the configuration file. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net