From patchwork Thu Jul 6 09:10:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Eidvilas_Markevi=C4=8Dius?= X-Patchwork-Id: 51605 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 3019A27BBE9; Thu, 6 Jul 2023 14:30:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1CB9827BBE2 for ; Thu, 6 Jul 2023 14:30:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHP3W-0006V4-Nm; Thu, 06 Jul 2023 09:29:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHL17-0001ZQ-0B for guix-patches@gnu.org; Thu, 06 Jul 2023 05:11:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHL10-0001wm-S4 for guix-patches@gnu.org; Thu, 06 Jul 2023 05:11:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHL0w-00075O-IH; Thu, 06 Jul 2023 05:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64490] [PATCH] gnu: Add gnome-shell-extension-vitals. Resent-From: Eidvilas =?utf-8?q?Markevi=C4=8Dius?= Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, guix-patches@gnu.org Resent-Date: Thu, 06 Jul 2023 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64490 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64490@debbugs.gnu.org Cc: Eidvilas =?utf-8?q?Markevi=C4=8Dius?= , Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan Received: via spool by submit@debbugs.gnu.org id=B.168863461627183 (code B ref -1); Thu, 06 Jul 2023 09:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2023 09:10:16 +0000 Received: from localhost ([127.0.0.1]:39570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHL0C-00074N-Cr for submit@debbugs.gnu.org; Thu, 06 Jul 2023 05:10:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:47534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHL08-00074C-TZ for submit@debbugs.gnu.org; Thu, 06 Jul 2023 05:10:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHL06-0001UU-Qt for guix-patches@gnu.org; Thu, 06 Jul 2023 05:10:10 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHL04-0001Zf-Qg for guix-patches@gnu.org; Thu, 06 Jul 2023 05:10:10 -0400 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fb7b2e3dacso576719e87.0 for ; Thu, 06 Jul 2023 02:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688634605; x=1691226605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H9n77TcS7uxelGoLKA0MCqTLLpoq2nnlfAMtMKj3KP0=; b=J7S87kzvAN7SQLvzkYv87Wg6hHDRBZLuXN+HA02MBQrS+cTPa2/GlRp7OssWpwqYxN DR9XEYf2u8avCBUkqrpUhBguMG3jEMMrigaYuAGER/G0p9eVpo/hFGRH20AnUsH2PPCR B3qP74///xay8EEW6FEKGcs74r0t3M7c6pxnHauTJRibZFgYdfyNmgHxGgCIdLD0WLUC beKAZifkAzdkzYSST1BmfaQGVvSumzlG+uO6u8181sJu8TeNZ2+VvJiF1trWamevLDm2 tf1letn4JbW2s81/eRRXPTFDyytIWtpk7zjubmk4+Ta7Z6+Lx7aCP1ufn8O16Ygu5UrI TZWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688634605; x=1691226605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H9n77TcS7uxelGoLKA0MCqTLLpoq2nnlfAMtMKj3KP0=; b=G+0zAsDbUXAl/L4XX7PCtjaA4lv2hZyF2NO10LIWiNJXiMiCybUAJXDI/432iZknIO jikj59rB1Z7VAdnirouk8WBD0Ep0Fn71WEMU0PUNVJDaYCAoI4eo6TuWXMjT8eP3twFw +fapt+r8qJCuhgh/ymrCOg8RVILODMBOoV5+kyO+WC17FYXAk1sy7fE52BJvLLVP5oo3 sXTuW5dGuAhU9lk9A36teBA0pcCqNP8W8wWCUYi6lZ52sR+zzYkj/809v28pj0bLPphd +7oB1LjWGuxybHFBh84aLYT4A0cRBsCFJdN00mgwzxq0XSL1QwUw/Asp4smwyZJKhhAx Cgpw== X-Gm-Message-State: ABy/qLbRGT5DOjZ+msZJgzKRVidO6XZmLNVsX/4cJsUhvQcHBwewjWA6 YQXCFGHuIuUpDcpjEOh5Q8wKjVu6dUsBRQ== X-Google-Smtp-Source: APBJJlEApuAEve4a7hUdhTZaCoCNPKKAESe96nlwp/YATLiEua7ZI5ZvyecAgTpGC1AlDiJAPURbrA== X-Received: by 2002:a05:6512:3ba6:b0:4f8:7772:3dfd with SMTP id g38-20020a0565123ba600b004f877723dfdmr1194747lfv.11.1688634603925; Thu, 06 Jul 2023 02:10:03 -0700 (PDT) Received: from localhost.localdomain ([5.20.78.49]) by smtp.gmail.com with ESMTPSA id eq7-20020a056512488700b004fb959ae6adsm165136lfb.309.2023.07.06.02.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 02:10:03 -0700 (PDT) From: Eidvilas =?utf-8?q?Markevi=C4=8Dius?= Date: Thu, 6 Jul 2023 12:10:01 +0300 Message-Id: <4e4cc23bdeaa44d9ea2e3e9287df79f00f5224f4.1688634596.git.markeviciuseidvilas@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=markeviciuseidvilas@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 06 Jul 2023 09:29:49 -0400 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gnome-xyz.scm (gnome-shell-extension-vitals): New variable. --- gnu/packages/gnome-xyz.scm | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) base-commit: 67c276a870b9d6be69c2a9e867683e58928c38ef diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 4ce102d8ed..b2652d422f 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2022 Eric Bavier ;;; Copyright © 2022 Sughosha ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2023 Eidvilas Markevičius ;;; ;;; This file is part of GNU Guix. ;;; @@ -1328,6 +1329,61 @@ (define-public gnome-shell-extension-transparent-window of windows.") (license license:expat)))) +(define-public gnome-shell-extension-vitals + (package + (name "gnome-shell-extension-vitals") + (version "62.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/corecoding/Vitals") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 (base32 "0wmw5yd38vyv13x6frbafp21bdhlyjd5ggimdf2696irfhnm828h")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file "schemas/gschemas.compiled") + (for-each delete-file + (find-files "locale" "\\.mo$")))))) + (build-system copy-build-system) + (native-inputs (list `(,glib "bin") gettext-minimal)) + (inputs (list libgtop)) + (arguments + '(#:modules + ((guix build copy-build-system) + (guix build utils) + (ice-9 string-fun)) + #:phases + (modify-phases %standard-phases + (add-before 'install 'compile-schemas + (lambda _ + (invoke "glib-compile-schemas" "--strict" "schemas"))) + (add-before 'install 'compile-locales + (lambda _ + (for-each (lambda (file) + (let ((destfile (string-replace-substring file ".po" ".mo"))) + (invoke "msgfmt" "-c" file "-o" destfile))) + (find-files "locale" "\\.po$"))))) + #:install-plan + '(("." "share/gnome-shell/extensions/Vitals@CoreCoding.com" + #:include-regexp + ("\\.js(on)?$" + "\\.css$" + "\\.ui$" + "\\.svg$" + "\\.xml$" + "\\.mo$" + "\\.compiled$"))))) + (home-page "https://github.com/corecoding/Vitals") + (synopsis "GNOME Shell extension for monitoring your computer's sensors' stats") + (description "Vitals is a GNOME Shell extension that gives you a glimpse into your +computer's temperature, voltage, fan speed, memory usage and CPU load, right from the top +menu bar of the GNOME Shell. It is a one stop shop for monitoring all the vital sensors +of your computer.") + (license license:gpl2))) + (define-public arc-theme (package (name "arc-theme")