From patchwork Sat Jan 4 01:36:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 19570 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5546B179EB; Sat, 4 Jan 2020 01:37:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 0E9ED179E4 for ; Sat, 4 Jan 2020 01:37:13 +0000 (GMT) Received: from localhost ([::1]:58586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inYNM-0000KL-JY for patchwork@mira.cbaines.net; Fri, 03 Jan 2020 20:37:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60085) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inYNF-0000HI-8G for guix-patches@gnu.org; Fri, 03 Jan 2020 20:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inYNE-0001cM-0L for guix-patches@gnu.org; Fri, 03 Jan 2020 20:37:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36322) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inYND-0001c6-TC for guix-patches@gnu.org; Fri, 03 Jan 2020 20:37:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inYNC-00054m-RJ for guix-patches@gnu.org; Fri, 03 Jan 2020 20:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38911] gnu: Add sushi. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Jan 2020 01:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38911 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38911@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157810181719481 (code B ref -1); Sat, 04 Jan 2020 01:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jan 2020 01:36:57 +0000 Received: from localhost ([127.0.0.1]:42293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inYN6-000549-Lv for submit@debbugs.gnu.org; Fri, 03 Jan 2020 20:36:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:37449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inYN5-000541-2O for submit@debbugs.gnu.org; Fri, 03 Jan 2020 20:36:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59696) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inYN3-0000H2-OQ for guix-patches@gnu.org; Fri, 03 Jan 2020 20:36:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inYN2-0001Fd-HK for guix-patches@gnu.org; Fri, 03 Jan 2020 20:36:53 -0500 Received: from knopi.disroot.org ([178.21.23.139]:46586) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inYN2-0001D7-62 for guix-patches@gnu.org; Fri, 03 Jan 2020 20:36:52 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 315E225640 for ; Sat, 4 Jan 2020 02:36:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZEMXpVAAFagY for ; Sat, 4 Jan 2020 02:36:49 +0100 (CET) Message-ID: <491c0b3fba5ad3dc86fa0a2a16a845ad3b74c6ab.camel@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1578101809; bh=CMhE3VDV24cSrB9Qpoy0OBI1PfCqC6vxHuifa103itA=; h=Subject:From:To:Date; b=H4/BdWa2k2OgaFJNHCm/c1mBKeQG4s0DaZJZrhCgJ0i9nzaEPrQPAvrqIotCj2aFl JZkpbTVXywZycwp2bzB/B2QEs2k6Pmg8Jg06QBsyUtSdNMqwT/zmBqI9ouB381dfCG BaZDWf3fqj8UXpdAUDuMK8os6Yo6ay0WjMryOCYDCJ1SiHvPF5rEtIgApARC7dtPaN 9K+eVJx5J+f8wEn1FrB4A/ruZV8RWwcdEQ+GlYy932+fwY2t0KMHZ9ad3xxK0eL9og /xby454tpPlNlF1GFT2bUsqkLy26ZMsAjJBtfuasPHMyeGVl4oZX5Ql7ajsXWRGAXE FTiC3yWEZBH8g== From: Raghav Gururajan X-Priority: 1 Date: Fri, 03 Jan 2020 20:36:37 -0500 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix! Please find the attached patch to add sushi. NOTE: This patch depends on the patch #38909. Regards, RG. From 090aede2a479bff1cd976875a6e462a7e5f1961c Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 3 Jan 2020 20:28:26 -0500 Subject: [PATCH] gnu: Add sushi. * gnu/packages/gnome.scm (sushi): New variable. --- gnu/packages/gnome.scm | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ac1bea1f45..b665d02f33 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -9432,6 +9432,60 @@ and a high score table.") (home-page "https://wiki.gnome.org/Apps/Mahjongg") (license license:gpl2+))) +(define-public sushi + (package + (name "sushi") + (version "3.32.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'wrap-typelib + (lambda* (#:key outputs #:allow-other-keys) + (let ((prog (string-append (assoc-ref outputs "out") + "/bin/sushi"))) + ;; put existing typelibs before sushi's deps, so as to correctly + ;; infer gdk-pixbuf + (wrap-program prog + `("GI_TYPELIB_PATH" suffix (,(getenv "GI_TYPELIB_PATH")))) + #t)))))) + (native-inputs + `(("glib:bin" ,glib "bin") + ("gettext" ,gettext-minimal) + ("gobject-introspection" ,gobject-introspection) + ("pkg-config" ,pkg-config))) + (inputs + `(("clutter" ,clutter) + ("clutter-gst" ,clutter-gst) + ("clutter-gtk" ,clutter-gtk) + ("evince" ,evince) + ("freetype" ,freetype) + ("gdk-pixbuf" ,gdk-pixbuf) + ("gjs" ,gjs) + ("gst-plugins-base" ,gst-plugins-base) + ("gstreamer" ,gstreamer) + ("gtksourceview" ,gtksourceview-3) + ("harfbuzz" ,harfbuzz) + ("libepoxy" ,libepoxy) + ("libmusicbrainz" ,libmusicbrainz) + ("libxml2" ,libxml2) + ("neon" ,neon) + ("webkitgtk" ,webkitgtk))) + (synopsis "File previewer for GNOME desktop") + (description "Sushi is a dbus-activated service that allows +applications to preview files on GNOME desktop.") + (home-page "https://gitlab.gnome.org/GNOME/sushi") + (license license:gpl2))) + (define-public gnome-themes-extra (package (name "gnome-themes-extra") -- 2.24.1