From patchwork Thu Nov 7 15:45:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandros Theodotou X-Patchwork-Id: 15997 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 A3371176F5; Thu, 7 Nov 2019 16:59:15 +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,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 3D6B1176F3 for ; Thu, 7 Nov 2019 16:59:15 +0000 (GMT) Received: from localhost ([::1]:45668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSl7q-00060E-Cd for patchwork@mira.cbaines.net; Thu, 07 Nov 2019 11:59:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44590) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSky0-0008N0-A3 for guix-patches@gnu.org; Thu, 07 Nov 2019 11:49:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSkxy-0000xh-Ig for guix-patches@gnu.org; Thu, 07 Nov 2019 11:49:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSkxy-0000xc-G0 for guix-patches@gnu.org; Thu, 07 Nov 2019 11:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSkxy-0000WZ-CG for guix-patches@gnu.org; Thu, 07 Nov 2019 11:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38095] [PATCH] gnu: Add matcha-theme. Resent-From: Alexandros Theodotou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2019 16:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38095 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38095@debbugs.gnu.org Received: via spool by 38095-submit@debbugs.gnu.org id=B38095.15731453191957 (code B ref 38095); Thu, 07 Nov 2019 16:49:02 +0000 Received: (at 38095) by debbugs.gnu.org; 7 Nov 2019 16:48:39 +0000 Received: from localhost ([127.0.0.1]:43797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSkxZ-0000VS-UC for submit@debbugs.gnu.org; Thu, 07 Nov 2019 11:48:39 -0500 Received: from mout01.posteo.de ([185.67.36.141]:52937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSjyo-0007EF-HH for 38095@debbugs.gnu.org; Thu, 07 Nov 2019 10:45:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DECA416005E for <38095@debbugs.gnu.org>; Thu, 7 Nov 2019 16:45:43 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47875y6Ff3z6tm8 for <38095@debbugs.gnu.org>; Thu, 7 Nov 2019 16:45:42 +0100 (CET) MIME-Version: 1.0 Date: Thu, 07 Nov 2019 16:45:42 +0100 From: Alexandros Theodotou In-Reply-To: <2838c4cd8a7085b3b42229c73fb5689e@posteo.net> References: <2838c4cd8a7085b3b42229c73fb5689e@posteo.net> Message-ID: <3f860943566a5c5c59f97b17d6ecf150@posteo.net> X-Sender: alex@zrythm.org User-Agent: Posteo Webmail X-Mailman-Approved-At: Thu, 07 Nov 2019 11:48:35 -0500 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 Moved to gnu/gnome and added missing dependency From 2bfdba6c3edb19b52963b288adf0876bfb0faa12 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Thu, 7 Nov 2019 05:37:42 +0000 Subject: [PATCH] gnu: Add matcha-theme. * gnu/packages/matcha-theme.scm (matcha-theme): New variable. --- gnu/packages/gnome.scm | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) + (license license:gpl3))) + (define-public arc-theme (package (name "arc-theme") diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index cd881b5b87..249a6802f0 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -7105,6 +7105,55 @@ dark elements. It supports GNOME, Unity, Xfce, and Openbox.") (home-page "https://numixproject.github.io") (license license:gpl3+))) +(define-public matcha-theme + (package + (name "matcha-theme") + (version "2019-11-02") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/vinceliuice/matcha/archive/" version + ".tar.gz")) + (sha256 + (base32 + "0vv16lxrfin187rbn844hfkrg3368in1wmmnygsnag8k2pzhw1a4")))) + (build-system trivial-build-system) + (outputs '("out")) + (arguments + '(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((out (assoc-ref %outputs "out")) + (source (assoc-ref %build-inputs "source")) + (tar (assoc-ref %build-inputs "tar")) + (bash (assoc-ref %build-inputs "bash")) + (gzip (assoc-ref %build-inputs "gzip")) + (coreutils (assoc-ref %build-inputs "coreutils")) + (themesdir (string-append out "/share/themes"))) + (setenv "PATH" (string-append tar "/bin:" + (string-append gzip "/bin:") + (string-append coreutils "/bin:"))) + (invoke "tar" "xf" source) + (chdir "matcha-2019-11-02") + (substitute* "Install" (("/bin/bash") (string-append bash "/bin/bash"))) + (mkdir-p themesdir) + (invoke (string-append bash "/bin/bash") "-c" + (string-append "./Install -d " themesdir)))))) + (inputs + `(("gtk-engines", gtk-engines))) + (native-inputs + `(("tar", tar) + ("bash", bash) + ("coreutils", coreutils) + ("gzip", gzip))) + (synopsis "Flat design theme for GTK 3, GTK 2 and GNOME-Shell") + (description + "Matcha is a flat Design theme for GTK 3, GTK 2 and Gnome-Shell +which supports GTK 3 and GTK 2 based desktop environments +like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.") + (home-page "https://github.com/vinceliuice/matcha")