From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandru-Sergiu Marton Subject: Help required: packaging Foliate Date: Thu, 6 Feb 2020 09:30:04 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54557) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izdOV-0000ik-7i for guix-devel@gnu.org; Thu, 06 Feb 2020 04:24:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izdOT-0001Mv-Vg for guix-devel@gnu.org; Thu, 06 Feb 2020 04:24:19 -0500 Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]:33421) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izdOT-0001KN-R7 for guix-devel@gnu.org; Thu, 06 Feb 2020 04:24:17 -0500 Received: by mail-vs1-xe35.google.com with SMTP id n27so3337319vsa.0 for ; Thu, 06 Feb 2020 01:24:17 -0800 (PST) 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: guix-devel@gnu.org Hi, I'm trying to package the ebook reader called Foliate [1]. I managed to write a recipe that installs it, but it has problems at runtime. If you click anything that is supposed to open up a dialog, such as the "Open file" or "Preferences" buttons, the whole thing freezes. I'm not good at (read: I don't know a single thing about) GTK and GNOME stuff, so I'm putting this out here hoping that someone might know what's happening. Here's the package definition (the use-modules part is written by hand in this email cause I had this in a module of it's own): (use-modules (gnu packages) (guix build-system meson) ((guix licenses) #:prefix license:) (guix download) (guix packages) (guix utils)) (use-package-modules gnome gettext webkit pkg-config glib gtk freedesktop) (package (name "foliate") (version "1.5.3") (source (origin (method url-fetch) (uri (string-append "https://github.com/johnfactotum/foliate/archive/" version ".tar.gz")) (sha256 (base32 "1mz27qj9zwkn978yd4sdswha4laq5gf9s6cs5xrkqfj9242mrx4m")))) (build-system meson-build-system) (inputs `(("gettext" ,gnu-gettext) ("pkg-config" ,pkg-config) ("glib:bin" ,glib "bin") ("gtk+:bin" ,gtk+ "bin") ("desktop-file-utils" ,desktop-file-utils))) (propagated-inputs `(("gjs" ,gjs) ("webkitgtk" ,webkitgtk) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) (synopsis "Simple and modern GTK eBook viewer, built with GJS and Epub.js") (description "") (home-page "https://johnfactotum.github.io/foliate/") (license license:gpl3+)) [1]: https://github.com/johnfactotum/foliate