From patchwork Sat Oct 12 16:17:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Wilson X-Patchwork-Id: 15701 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 E27581749C; Sat, 12 Oct 2019 20:47:15 +0100 (BST) 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 8EE7C173D5 for ; Sat, 12 Oct 2019 20:47:15 +0100 (BST) Received: from localhost ([::1]:35794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJNMB-0001ZK-1Q for patchwork@mira.cbaines.net; Sat, 12 Oct 2019 15:47:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52718) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJNM0-0001YP-NB for guix-patches@gnu.org; Sat, 12 Oct 2019 15:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJNLz-0004IH-3t for guix-patches@gnu.org; Sat, 12 Oct 2019 15:47:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJNLy-0004I9-Fm for guix-patches@gnu.org; Sat, 12 Oct 2019 15:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJNLy-0002FU-8S for guix-patches@gnu.org; Sat, 12 Oct 2019 15:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37718] [PATCH] Add gnome-mahjongg. Resent-From: "David Wilson" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Oct 2019 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37718 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37718@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15709096178427 (code B ref -1); Sat, 12 Oct 2019 19:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2019 19:46:57 +0000 Received: from localhost ([127.0.0.1]:34245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJNLs-0002Ag-DS for submit@debbugs.gnu.org; Sat, 12 Oct 2019 15:46:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:43346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJK5u-0007wc-5U for submit@debbugs.gnu.org; Sat, 12 Oct 2019 12:18:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57813) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJK5s-0003aF-HA for guix-patches@gnu.org; Sat, 12 Oct 2019 12:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJK5q-00050H-Qw for guix-patches@gnu.org; Sat, 12 Oct 2019 12:18:12 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:60665) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iJK5q-0004zG-CG for guix-patches@gnu.org; Sat, 12 Oct 2019 12:18:10 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id A2B5D5CA for ; Sat, 12 Oct 2019 12:18:07 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute2.internal (MEProxy); Sat, 12 Oct 2019 12:18:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daviwil.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=4PNVEC58OhVyO7HoCLHjTBfWe+AX4k1X90z/FN2GJ+Y=; b=ElVF4i+2 qeM4ndfg/Ex6spTcF8aqUCNBLz4M41j3sCluDFaT/bQzEp0tBJinmp6tT+lDRwjv pLktR1Gn0GKATbem92GZkF1tEuJxg76fvTvHTqOuE0jYXOocoQSCIT9Y+MQaabkj obQ9Fh6vkP+MagBEVbbU2pMi38gs5v2fRyAYjpe0z/liVXScHMU7+jrX8XDoKEf7 ugZpCA99akB7YNaYRPFRt6u65DGFDd2MC2mubjNntwISugFwfmBQkNgJI1l+Fu6a 141QSGo2kzynj68h44MfjwvUpdsOimlf8fdvlw8rnfa7QzPAMoTczeLqONfxovq7 UxuTrY0OgUMLMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=4PNVEC58OhVyO7HoCLHjTBfWe+AX4 k1X90z/FN2GJ+Y=; b=oj2Ee4+3nnuEaOUbato2ZZ/Y4s0tcz7oox0yMlxXfUvoO TF5zamCU1L65hghufnI2LrSLAUmtwBuEXuxjOa3B6zImE4LGo8gsfvhx0cYIm8CF VVyeZJi2tpCATe/zkJgN/aAX4g66c84nKEp8+eWVMkniqzpIo4OGgNooodMm/Wxo VuVxmtzVnV5DGh/yFljgwv7PrxfqQugasYcFZnNvtGcnVH9P5Bb6aUxxtTWsnUJ2 0KmhOOGoKgDkHdyrcHiiL1oSY4K8uU2JVftpPW1lgAVY3kY+1NyedNidpoa+IKVd 7KQaWJ+6ZlzBHLf2HuIpSm5rTl7e0qzoL7lxbsR+Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrieejgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtreerre ertdenucfhrhhomhepfdffrghvihguucghihhlshhonhdfuceouggrvhhiugesuggrvhhi fihilhdrtghomheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghvihgusegurghvih ifihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id DF4CEE00A5; Sat, 12 Oct 2019 12:18:06 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-360-g7dda896-fmstable-20191004v2 Mime-Version: 1.0 Message-Id: <269fdb5f-7d0e-4f2f-947d-eea43515c5df@www.fastmail.com> Date: Sat, 12 Oct 2019 09:17:41 -0700 From: "David Wilson" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Sat, 12 Oct 2019 15:46:55 -0400 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 Hi fellow Guixers, Here's a patch to add the (highly addictive) game Gnome Mahjongg. Please let me know if there's any way this package definition can be improved! Happy hacking, David From a589ef5124d265b9c0fb646b35e8efe852b74855 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sat, 12 Oct 2019 09:07:11 -0700 Subject: [PATCH] gnu: Add gnome-mahjongg. * gnu/packages/gnome.scm (gnome-mahjongg) New variable. --- gnu/packages/gnome.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 91a781bfba..ce58ff4006 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -41,6 +41,7 @@ ;;; Copyright © 2019 Jonathan Frederickson ;;; Copyright © 2019 Maxim Cournoyer ;;; Copyright © 2019 Martin Becze +;;; Copyright © 2019 David Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -8394,3 +8395,39 @@ access library. It only implements the core plumbing functions, not really the higher level porcelain stuff.") (home-page "https://wiki.gnome.org/Projects/Libgit2-glib") (license license:gpl2+))) + +(define-public gnome-mahjongg + (package + (name "gnome-mahjongg") + (version "3.35.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git") + (commit version))) + (sha256 + (base32 + "019a66a4m5w4kkb0sm6gxj0wi54n06zdxdlmyqw7h8kbakjizv7l")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t)) + (native-inputs + `(("appstream-glib" ,appstream-glib) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") ;; For glib-compile-resources + ("gtk+" ,gtk+ "bin") ;; For gtk-update-icon-cache + ("itstool" ,itstool) + ("pkg-config" ,pkg-config) + ("vala" ,vala))) + (propagated-inputs + `(("dconf" ,dconf))) + (inputs + `(("glib" ,glib) + ("gtk+" ,gtk+) + ("librsvg" ,librsvg))) + (synopsis "Mahjongg tile-matching game") + (description "Gnome Mahjongg is a game based on the classic Chinese tile- +matching game Mahjong. It features multiple board layouts, tile themes, and a +high score table.") + (home-page "https://wiki.gnome.org/Apps/Mahjongg") + (license license:gpl2))) -- 2.23.0