From patchwork Wed Dec 15 19:40:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 35241 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 678D227BBEA; Wed, 15 Dec 2021 19:58:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED 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 E623927BBE9 for ; Wed, 15 Dec 2021 19:58:29 +0000 (GMT) Received: from localhost ([::1]:41766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxaQ0-0008Pr-Up for patchwork@mira.cbaines.net; Wed, 15 Dec 2021 14:58:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxaB5-0005d0-D8 for guix-patches@gnu.org; Wed, 15 Dec 2021 14:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxaB5-0001xa-4L for guix-patches@gnu.org; Wed, 15 Dec 2021 14:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxaB5-0007Qr-1Z for guix-patches@gnu.org; Wed, 15 Dec 2021 14:43:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52522] [PATCH] gnu: Add gnome-shell-extension-just-perfection. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Dec 2021 19:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52522 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52522@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163959732928485 (code B ref -1); Wed, 15 Dec 2021 19:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2021 19:42:09 +0000 Received: from localhost ([127.0.0.1]:33754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxaAD-0007PN-85 for submit@debbugs.gnu.org; Wed, 15 Dec 2021 14:42:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:57264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxaA9-0007P7-W9 for submit@debbugs.gnu.org; Wed, 15 Dec 2021 14:42:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxaA9-0004R1-NO for guix-patches@gnu.org; Wed, 15 Dec 2021 14:42:05 -0500 Received: from [2a00:1450:4864:20::442] (port=42771 helo=mail-wr1-x442.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxaA1-0006yO-8o for guix-patches@gnu.org; Wed, 15 Dec 2021 14:42:05 -0500 Received: by mail-wr1-x442.google.com with SMTP id c4so40030696wrd.9 for ; Wed, 15 Dec 2021 11:41:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:content-transfer-encoding:message-id :mime-version; bh=m3yVewDA3m1hREWtyRFc6LdbjTbIJPOCNvGBNXLvA/U=; b=PmZ2HpVvMgsnSImpLZlTUN0YhaP3unNkIWxpgEnR8HVoGDlzfzKirb4o3mJzMqVb1o 4ru26aZ/SQOHzFvI++g9XR2grIoHC83Gv4vGGF40dqjSWhRJSsGCsJ62kLn7JoaDEhuU 5SKx2VL1gO+k8h/NSFuiVH6pzfmrR+Y9yWoHXob3Yj50W6nq7EH2pvR5gaxvsOnNEzcJ nDFe7bJRfx+7H3Uz3SaBXc5i7wXN4ZxwcQ50bKVjPyUqpxLHxUIEl+Fnw2DYqtMRjV4D L/bw6cgK9RlAfwd5oLd2SaqOZQhMDpAeRQNfrm9LDZife41SEF2tQiCp4I1/fZm0kyc7 LIXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:content-transfer-encoding :message-id:mime-version; bh=m3yVewDA3m1hREWtyRFc6LdbjTbIJPOCNvGBNXLvA/U=; b=BIMbSVVlqdGPR/AVj0696XgicLTrDIC2AND39id03RJQuUu7SI0/Q1kO8w9lEMv2a7 0Umc9bQX6YNTnWtsaLTgj3B6lpSF/2LempJOYPAr+z8yO2QoolTU7LkmJFWY0rbL56lJ evBPTovV8G4/lLCI9GInhR02sOpd316dsnoahcMkUkrvToUxtKWdVgktZmB827HaVix5 SrsQZFx6UPtBp5lgjltAzbGGt/Z5MVj7MR5HuEZ4Rhbh8sp2r6Y/PQfaji+U2IKsKwCL AgUm2d0dJYN2sc4MbNfxZNPTKYnw9zG6kfhBIUiCJFHQh30+ZBEB3dLg1A6KWjZZbhpo kCVA== X-Gm-Message-State: AOAM5305dCSFy01hKsJhwhUNisDtBnglTtGzdiIHNMUDEsXnSBoHXpsQ HgxGxBGyn+AeKDKwhi0XWpBXrdbFyNE= X-Google-Smtp-Source: ABdhPJzDYMN9fKPNVtxsPHZv8sDq8lZgZGsGHCWVfp4J8utm5luHQbPKszSvZZEV1QA5FNHzqciYVg== X-Received: by 2002:a5d:6d03:: with SMTP id e3mr5852411wrq.635.1639597315869; Wed, 15 Dec 2021 11:41:55 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id e7sm3589264wrg.31.2021.12.15.11.41.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Dec 2021 11:41:54 -0800 (PST) From: Liliana Marie Prikler Date: Wed, 15 Dec 2021 20:40:27 +0100 Message-ID: <39eac600c85a4046db46e409f5090c97ce9dfda2.camel@gmail.com> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::442 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=liliana.prikler@gmail.com; helo=mail-wr1-x442.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 * gnu/packages/gnome-xyz.scm (gnome-shell-extension-just-perfection): New variable. --- gnu/packages/gnome-xyz.scm | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 0e3147e604..ef945ef9ba 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -534,6 +534,57 @@ (define-public gnome-shell-extension-hide-app-icon (list license:gpl2 license:gpl3))))) +(define-public gnome-shell-extension-just-perfection + (package + (name "gnome-shell-extension-just-perfection") + (version "16.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/jrahmatzadeh/just-perfection/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05zbzgs92zqlmjq4h2q2gggrf1qiz8l6739zzg1x5090gvk4iak3")))) + (build-system copy-build-system) + (arguments + `(#:install-plan + '(("src" + "share/gnome-shell/extensions/just-perfection-desktop@just-perfection" + #:include-regexp ("\\.css$" "\\.compiled$" "\\.js(on)?$" "\\.ui$")) + ("locale" + "share/gnome-shell/extensions/just-perfection-desktop@just-perfection/")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'drop-executable-bits + (lambda _ + (for-each + (lambda (file) + (let ((stat (lstat file))) + (chmod file (logand (stat:mode stat) (lognot #o111))))) + (find-files "." #:directories? #f)))) + (add-before 'install 'build + (lambda _ + (invoke "glib-compile-schemas" "src/schemas") + (for-each + (lambda (file) + (let* ((base (basename file)) + (noext (substring base 0 (- (string-length base) 3))) + (dest (string-append "locale/" noext "/LC_MESSAGES/")) + (out (string-append dest "just-perfection.mo"))) + (mkdir-p dest) + (invoke "msgfmt" "-c" file "-o" out))) + (find-files "po" "\\.po$"))))))) + (native-inputs + (list `(,glib "bin") gettext-minimal)) + (home-page "https://gitlab.gnome.org/jrahmatzadeh/just-perfection") + (synopsis "Customize GNOME Shell behaviour") + (description "Just Perfection allows you to change various settings, that +GNOME Shell itself does not provide out of the box, such as the ability to hide +certain elements or change animation speeds.") + (license license:gpl3))) + (define-public gnome-shell-extension-dash-to-panel (package (name "gnome-shell-extension-dash-to-panel")