From patchwork Sat Nov 9 10:03:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 16062 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 C7A32176B6; Sat, 9 Nov 2019 10:04:12 +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 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 9243617695 for ; Sat, 9 Nov 2019 10:04:11 +0000 (GMT) Received: from localhost ([::1]:35654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTNbH-0000Tq-0J for patchwork@mira.cbaines.net; Sat, 09 Nov 2019 05:04:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46837) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTNbA-0000TV-8J for guix-patches@gnu.org; Sat, 09 Nov 2019 05:04:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTNb8-0007Vw-RP for guix-patches@gnu.org; Sat, 09 Nov 2019 05:04:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTNb8-0007Vf-DI for guix-patches@gnu.org; Sat, 09 Nov 2019 05:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTNb8-0008DL-7d for guix-patches@gnu.org; Sat, 09 Nov 2019 05:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38095] [PATCH] gnu: Add matcha-theme. References: <2838c4cd8a7085b3b42229c73fb5689e@posteo.net> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Nov 2019 10:04: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: alex@zrythm.org Cc: 38095@debbugs.gnu.org Received: via spool by 38095-submit@debbugs.gnu.org id=B38095.157329380131523 (code B ref 38095); Sat, 09 Nov 2019 10:04:02 +0000 Received: (at 38095) by debbugs.gnu.org; 9 Nov 2019 10:03:21 +0000 Received: from localhost ([127.0.0.1]:48229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTNaS-0008CM-OA for submit@debbugs.gnu.org; Sat, 09 Nov 2019 05:03:21 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:13915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTNaP-0008C6-3N for 38095@debbugs.gnu.org; Sat, 09 Nov 2019 05:03:18 -0500 Received: from nijino.local (194-96-102-81.hdsl.highway.telekom.at [194.96.102.81]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 479CPr1dbNz1LLyX; Sat, 9 Nov 2019 11:03:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 479CPr1dbNz1LLyX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1573293792; bh=WNZ0KGBaZo0y/ST7F043e8f9TkJuj6Iom2PGn8VvkxY=; h=Subject:From:To:Cc:Date:In-Reply-To:From; b=gH/Djs4xkFGgdLFuO7Q6BGEVxYbPIEnqcJejNw0d1kdUdbJ9a1WIpME3BcDbWWPIW 5idMCMJVDRF++Jn8ziTUp3kQFqGCydp2VkMwT8FJa4nOfsdAOkCtH/k2sB5zuGgt9z 86Rkz32E/Gwpk5DvzX5Ct1vTvcMpHFQN24kM9zgs= Message-ID: From: Leo Prikler Date: Sat, 09 Nov 2019 11:03:08 +0100 In-Reply-To: 9909000076a769a986d20f8712273d99@posteo.net User-Agent: Evolution 3.30.5 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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 I've taken the liberty to modify your package a bit -- your unquotes were wrong -- and move it to gnome-xyz.scm, the file I've added for themes and extensions. I verified, that the package builds and also ran the linter. The only errors are some versioning stuff (a false positive) and a missing Software Heritage archive (which was to be expected). I noticed, that there are also some other themes inside of gnome.scm, since my own file is rather fresh. If the contributors of said packages are reading this, I'd like them to also move their themes and extensions to gnome-xyz.scm -- except adwaita-icon-theme, gnome-shell- extensions, etc. which are part of GNOME itself. Thank you and best regards, Leo From 1ecf8bb9c4d1a47c2f7ca936725d2ceb74a379c4 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Sat, 9 Nov 2019 10:39:28 +0100 Subject: [PATCH] gnu: Add matcha-theme. * gnu/packages/gnome.scm (matcha-theme): New variable. --- gnu/packages/gnome-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 8c45b552e8..1365c1b9cf 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Leo Prikler +;;; Copyright © 2019 Alexandros Theodotou ;;; ;;; This file is part of GNU Guix. ;;; @@ -23,9 +24,58 @@ #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) #:use-module (gnu packages pkg-config)) +(define-public matcha-theme + (package + (name "matcha-theme") + (version "2019-11-02") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/vinceliuice/matcha") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wci9ahap8kynq8cbyxr7aba9ndb1d4kiq42xvzr34vw1rhcahrr")))) + (build-system trivial-build-system) + (arguments + '(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((out (assoc-ref %outputs "out")) + (source (assoc-ref %build-inputs "source")) + (bash (assoc-ref %build-inputs "bash")) + (coreutils (assoc-ref %build-inputs "coreutils")) + (themesdir (string-append out "/share/themes"))) + (setenv "PATH" + (string-append coreutils "/bin:" + (string-append bash "/bin:"))) + (copy-recursively source (getcwd)) + (patch-shebang "Install") + (mkdir-p themesdir) + (invoke "./Install" "-d" themesdir) + #t)))) + (inputs + `(("gtk-engines" ,gtk-engines))) + (native-inputs + `(("bash" ,bash) + ("coreutils" ,coreutils))) + (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") + (license license:gpl3))) + (define-public delft-icon-theme (package (name "delft-icon-theme") -- 2.24.0