From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandru-Sergiu Marton Subject: Re: Help required: packaging Foliate Date: Thu, 6 Feb 2020 20:35:38 +0000 Message-ID: References: <20200206195151.GE7827@E5400> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46223) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iznmZ-0001DA-Af for guix-devel@gnu.org; Thu, 06 Feb 2020 15:29:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iznmX-0001Zs-9j for guix-devel@gnu.org; Thu, 06 Feb 2020 15:29:51 -0500 Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:34312) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iznmX-0001Xr-4B for guix-devel@gnu.org; Thu, 06 Feb 2020 15:29:49 -0500 Received: by mail-vs1-xe2a.google.com with SMTP id g15so4698208vsf.1 for ; Thu, 06 Feb 2020 12:29:49 -0800 (PST) In-Reply-To: <20200206195151.GE7827@E5400> 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-mx.org@gnu.org Sender: "Guix-devel" To: Efraim Flashner Cc: guix-devel@gnu.org > I built it but I wasn't able to get it to run: > $ com.github.johnfactotum.Foliate > > (.com.github.johnfactotum.Foliate-real:16928): Gjs-WARNING **: 21:50:01.247: JS ERROR: ImportError: No JS module 'main' found in search path > @/gnu/store/ghbd2isjs02445c390xv90l0p3bbla5v-foliate-1.5.3/bin/.com.github.johnfactotum.Foliate-real:9:1 > > Script /gnu/store/ghbd2isjs02445c390xv90l0p3bbla5v-foliate-1.5.3/bin/.com.github.johnfactotum.Foliate-real threw an exception > > I tried adding (arguments '(#:glib-or-gtk? #t)) to the package > definition, which I think should solve your problem. Something weird happens. I get the same error you sent when I add the code you say it's supposed to fix it. For some reason, it seems that (arguments '(#:glib-or-gtk? #t)) doesn't work for me? I'll investigate this further when I get a bit more time. If you (or anyone else) sends a working definition upstream in the meanwhile I would be grateful if you would ping me.